WebKit-https.git
11 years ago2008-10-30 Pierre-Olivier Latour <pol@apple.com>
mitz@apple.com [Thu, 30 Oct 2008 21:13:26 +0000 (21:13 +0000)]
2008-10-30  Pierre-Olivier Latour  <pol@apple.com>

        Reviewed by Dan Bernstein.

        https://bugs.webkit.org/show_bug.cgi?id=21821

        Imported new image bases for a representative set of pixel tests in order to
        fully validate latest DRT and test script changes. These results were generated
        by a release build of r38003 on an Intel iMac running Mac OS X 10.5.5 with
        QuickTime 7.5.5.

        (file listing elided)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38008 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoFix mismerged change log.
darin@apple.com [Thu, 30 Oct 2008 20:52:02 +0000 (20:52 +0000)]
Fix mismerged change log.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38007 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-30 Yael Aharon <yael.aharon@nokia.com>
vestbo@webkit.org [Thu, 30 Oct 2008 20:45:52 +0000 (20:45 +0000)]
2008-10-30  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Darin Adler.

        Fix the Qt build.

        https://bugs.webkit.org/show_bug.cgi?id=21969

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38006 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Sam Weinig.
mitz@apple.com [Thu, 30 Oct 2008 20:24:52 +0000 (20:24 +0000)]
    Reviewed by Sam Weinig.

        - export WTFReportAssertionFailureWithMessage()

        * WebKit.vcproj/WebKit_debug.def:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38005 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-30 Justin Garcia <justin.garcia@apple.com>
justin.garcia@apple.com [Thu, 30 Oct 2008 20:06:24 +0000 (20:06 +0000)]
2008-10-30  Justin Garcia  <justin.garcia@apple.com>

        Reviewed by Darin Adler.

        More preparation for:
        <rdar://problem/6104369> Hitting return at the end of a quoted line creates an extraneous quoted line

        * editing/BreakBlockquoteCommand.cpp:
        (WebCore::BreakBlockquoteCommand::doApply): Added comments.  Don't need to use newStartNode.  If the
        startNode needs to change, change it.  Afterwords, check to make sure that it hasn't left topBlockquote.
        This is slightly stricter than before, where we just made sure that it still had a topBlockquote.  This
        doesn't really fix a bug, since we can't really get into a situation where we move to a different
        topBlockquote, but it simplifies the code.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38004 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-30 Alp Toker <alp@nuanti.com>
alp@webkit.org [Thu, 30 Oct 2008 19:18:47 +0000 (19:18 +0000)]
2008-10-30  Alp Toker  <alp@nuanti.com>

        Reviewed by Dave Hyatt.

        Fix GIF animations. WebCore will not update animated GIFs if
        the WebView is marked offscreen so we need to call
        frameView->setParentVisible() when necessary like the Mac and Win
        ports do. Regression was introduced around r37155 during the
        HostWindow refactor.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38003 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 30 Oct 2008 18:12:31 +0000 (18:12 +0000)]
2008-10-29  Anders Carlsson  <andersca@apple.com>

        Reviewed by Kevin Decker.

        * Plugins/WebBaseNetscapePluginStream.h:
        * Plugins/WebBaseNetscapePluginStream.mm:
        (WebNetscapePluginStream::WebNetscapePluginStream):
        (WebNetscapePluginStream::~WebNetscapePluginStream):
        (WebNetscapePluginStream::start):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38002 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-30 Dirk Schulze <vbs85@gmx.de>
alp@webkit.org [Thu, 30 Oct 2008 14:09:59 +0000 (14:09 +0000)]
2008-10-30  Dirk Schulze  <vbs85@gmx.de>

        Reviewed by Alp Toker.

        https://bugs.webkit.org/show_bug.cgi?id=21883
        [CAIRO] globalAlpha has to be stored and restored

        Cairo's globalAlpha has to be stored and reloaded on calling
        save() and restore(). We use the power of GraphicsContextState for this.

        * platform/graphics/GraphicsContextPrivate.h:
        (WebCore::GraphicsContextState::GraphicsContextState):
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::GraphicsContext::fillPath):
        (WebCore::GraphicsContext::strokePath):
        (WebCore::GraphicsContext::setAlpha):
        (WebCore::GraphicsContext::getAlpha):
        * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
        (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38001 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-30 Alp Toker <alp@nuanti.com>
alp@webkit.org [Thu, 30 Oct 2008 13:42:38 +0000 (13:42 +0000)]
2008-10-30  Alp Toker  <alp@nuanti.com>

        Rubber-stamped by Holger Freyther.

        Fix typo in recently added web inspector signal. dettach -> detach.

        * WebCoreSupport/InspectorClientGtk.cpp:
        (WebKit::InspectorClient::detachWindow):
        * webkit/webkitwebinspector.cpp:
        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@38000 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoBack out redundant build fix attempt r37997. The correct fix is r37998.
alp@webkit.org [Thu, 30 Oct 2008 13:01:51 +0000 (13:01 +0000)]
Back out redundant build fix attempt r37997. The correct fix is r37998.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37999 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoTry naming VoidPtrPair struct to fix old gcc/MSVC builds
alp@webkit.org [Thu, 30 Oct 2008 12:37:10 +0000 (12:37 +0000)]
Try naming VoidPtrPair struct to fix old gcc/MSVC builds

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37998 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-30 Alp Toker <alp@nuanti.com>
alp@webkit.org [Thu, 30 Oct 2008 10:45:36 +0000 (10:45 +0000)]
2008-10-30  Alp Toker  <alp@nuanti.com>

        Build fix attempt for older gcc on the trunk-mac-intel build bot
        (error: initializer for scalar variable requires one element).

        Modify the initializer syntax slightly with an additional comma.

        * VM/Machine.cpp:
        (JSC::Machine::cti_op_call_JSFunction):
        (JSC::Machine::cti_op_construct_JSConstruct):
        (JSC::Machine::cti_op_resolve_func):
        (JSC::Machine::cti_op_post_inc):
        (JSC::Machine::cti_op_resolve_with_base):
        (JSC::Machine::cti_op_post_dec):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37997 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-30 Alp Toker <alp@nuanti.com>
alp@webkit.org [Thu, 30 Oct 2008 09:56:39 +0000 (09:56 +0000)]
2008-10-30  Alp Toker  <alp@nuanti.com>

        Rubber-stamped by Oliver Hunt.

        autotools build system change to enable JIT features by default. Can
        be disabled with --disable-jit (and is disabled automatically on
        unsupported platforms).

        * configure.ac:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37996 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-30 Alp Toker <alp@nuanti.com>
alp@webkit.org [Thu, 30 Oct 2008 09:35:24 +0000 (09:35 +0000)]
2008-10-30  Alp Toker  <alp@nuanti.com>

        Reviewed by Alexey Proskuryakov.

        https://bugs.webkit.org/show_bug.cgi?id=21571
        VoidPtrPair breaks CTI on Linux

        The VoidPtrPair return change made in r37457 does not work on Linux
        since POD structs aren't passed in registers.

        This patch uses a union to vectorize VoidPtrPair to a uint64_t and
        matches Darwin/MSVC fixing CTI/WREC on Linux.

        Alexey reports no measurable change in Mac performance with this fix.

        * VM/Machine.cpp:
        (JSC::Machine::cti_op_call_JSFunction):
        (JSC::Machine::cti_op_construct_JSConstruct):
        (JSC::Machine::cti_op_resolve_func):
        (JSC::Machine::cti_op_post_inc):
        (JSC::Machine::cti_op_resolve_with_base):
        (JSC::Machine::cti_op_post_dec):
        * VM/Machine.h:
        (JSC::):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37995 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoFinish landing the previous renaming, createInlineEventHandler->createInlineEventList...
ap@webkit.org [Thu, 30 Oct 2008 08:55:31 +0000 (08:55 +0000)]
Finish landing the previous renaming, createInlineEventHandler->createInlineEventListener (the files remained unsaved in Xcode).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37994 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Maciej Stachowiak.
ap@webkit.org [Thu, 30 Oct 2008 08:41:34 +0000 (08:41 +0000)]
    Reviewed by Maciej Stachowiak.

        Rename "attachedToEventTargetNode" to "isInline".

        Inline (onXXX) attributes are used not just with event target nodes, but also with Window,
        XMLHttpRequest, MessagePort et al.

        Also renamed createHTMLEventHandler() (which was a leftover from earlier isHTMLEvent ->
        attachedToEventTargetNode rename made for SVG) to createInlineEventListener().
        And also renamed EventTargetNode, Document and Window "eventListenerForType" methods to
        "inlineEventListenerForType", as they work with inline listeners.

        * bindings/js/JSDOMApplicationCacheCustom.cpp:
        (WebCore::JSDOMApplicationCache::addEventListener):
        (WebCore::JSDOMApplicationCache::removeEventListener):
        * bindings/js/JSMessagePortCustom.cpp:
        (WebCore::JSMessagePort::setOnmessage):
        (WebCore::JSMessagePort::setOnclose):
        * bindings/js/JSXMLHttpRequestCustom.cpp:
        (WebCore::JSXMLHttpRequest::addEventListener):
        (WebCore::JSXMLHttpRequest::removeEventListener):
        * bindings/js/JSXMLHttpRequestUploadCustom.cpp:
        (WebCore::JSXMLHttpRequestUpload::addEventListener):
        (WebCore::JSXMLHttpRequestUpload::removeEventListener):
        Pass a correct value for this argument - callers used to be confused, because they didn't
        consider themselves event target nodes. This doesn't affect behavior however, as the only
        difference between inline and non-inline event handlers is that the former treat
        "return false" as "event.preventDefault()", which is not important to any of these objects.

        * bindings/js/JSEventListener.cpp: (WebCore::JSLazyEventListener::parseCode):
        Assert that isInline is true instead of checking its value, as the constructor of this class
        always sets it to true.

        * bindings/js/JSDOMWindowBase.cpp:
        (WebCore::JSDOMWindowBase::~JSDOMWindowBase):
        (WebCore::JSDOMWindowBase::findJSEventListener):
        (WebCore::JSDOMWindowBase::findOrCreateJSEventListener):
        (WebCore::JSDOMWindowBase::findJSUnprotectedEventListener):
        (WebCore::JSDOMWindowBase::findOrCreateJSUnprotectedEventListener):
        (WebCore::JSDOMWindowBase::jsInlineEventListeners):
        (WebCore::JSDOMWindowBase::jsUnprotectedInlineEventListeners):
        * bindings/js/JSDOMWindowBase.h:
        * bindings/js/JSEventListener.cpp:
        (WebCore::JSAbstractEventListener::handleEvent):
        (WebCore::JSAbstractEventListener::isInline):
        (WebCore::JSUnprotectedEventListener::JSUnprotectedEventListener):
        (WebCore::JSUnprotectedEventListener::~JSUnprotectedEventListener):
        (WebCore::JSEventListener::JSEventListener):
        (WebCore::JSEventListener::~JSEventListener):
        (WebCore::JSLazyEventListener::parseCode):
        * bindings/js/JSEventListener.h:
        (WebCore::JSAbstractEventListener::JSAbstractEventListener):
        (WebCore::JSUnprotectedEventListener::create):
        (WebCore::JSEventListener::create):
        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::createInlineEventHandler):
        * bindings/js/ScriptController.h:
        * dom/Document.cpp:
        (WebCore::Document::setWindowInlineEventListenerForType):
        (WebCore::Document::windowInlineEventListenerForType):
        (WebCore::Document::removeWindowInlineEventListenerForType):
        (WebCore::Document::createEventListener):
        (WebCore::Document::setWindowInlineEventListenerForTypeAndAttribute):
        * dom/Document.h:
        * dom/EventListener.h:
        (WebCore::EventListener::isInline):
        * dom/EventTargetNode.cpp:
        (WebCore::EventTargetNode::removeInlineEventListenerForType):
        (WebCore::EventTargetNode::setInlineEventListenerForType):
        (WebCore::EventTargetNode::setInlineEventListenerForTypeAndAttribute):
        (WebCore::EventTargetNode::inlineEventListenerForType):
        (WebCore::EventTargetNode::on*): (many methods)
        (WebCore::EventTargetNode::setOn*): (many methods)
        * dom/EventTargetNode.h:
        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplacementFragment::ReplacementFragment):
        * html/HTMLBodyElement.cpp:
        (WebCore::HTMLBodyElement::parseMappedAttribute):
        * html/HTMLButtonElement.cpp:
        (WebCore::HTMLButtonElement::parseMappedAttribute):
        * html/HTMLElement.cpp:
        (WebCore::HTMLElement::parseMappedAttribute):
        * html/HTMLFormElement.cpp:
        (WebCore::HTMLFormElement::parseMappedAttribute):
        * html/HTMLFrameElementBase.cpp:
        (WebCore::HTMLFrameElementBase::parseMappedAttribute):
        * html/HTMLFrameSetElement.cpp:
        (WebCore::HTMLFrameSetElement::parseMappedAttribute):
        * html/HTMLImageElement.cpp:
        (WebCore::HTMLImageElement::parseMappedAttribute):
        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::parseMappedAttribute):
        * html/HTMLObjectElement.cpp:
        (WebCore::HTMLObjectElement::parseMappedAttribute):
        * html/HTMLScriptElement.cpp:
        (WebCore::HTMLScriptElement::parseMappedAttribute):
        * html/HTMLSelectElement.cpp:
        (WebCore::HTMLSelectElement::parseMappedAttribute):
        * html/HTMLTextAreaElement.cpp:
        (WebCore::HTMLTextAreaElement::parseMappedAttribute):
        * page/AccessibilityRenderObject.cpp:
        (WebCore::AccessibilityRenderObject::mouseButtonListener):
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::setInlineEventListenerForType):
        (WebCore::DOMWindow::inlineEventListenerForType):
        (WebCore::DOMWindow::on*): (many methods)
        (WebCore::DOMWindow::setOn*): (many methods)
        * page/DOMWindow.h:
        * svg/SVGElement.cpp:
        (WebCore::SVGElement::parseMappedAttribute):
        * svg/SVGElementInstance.cpp:
        (WebCore::SVGElementInstance::on*): (many methods)
        (WebCore::SVGElementInstance::setOn*): (many methods)
        * svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::parseMappedAttribute):
        Rename things, as described above.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37993 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-30 Alp Toker <alp@nuanti.com>
alp@webkit.org [Thu, 30 Oct 2008 08:24:04 +0000 (08:24 +0000)]
2008-10-30  Alp Toker  <alp@nuanti.com>

        Bump WebKit GTK+ version to 1.0.3.

        Fix version comments for the web inspector added in r37982. Available
        since 1.0.3, not 1.0.2.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37992 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoInitial work to reduce cost of JSNumberCell allocation
oliver@apple.com [Thu, 30 Oct 2008 04:33:21 +0000 (04:33 +0000)]
Initial work to reduce cost of JSNumberCell allocation

Reviewed by Geoffrey Garen

This does the initial work needed to bring more of number
allocation into CTI code directly, rather than just falling
back onto the slow paths if we can't guarantee that a number
cell can be reused.

Initial implementation only used by op_negate to make sure
it all works.  In a negate heavy (though not dominated) test
it results in a 10% win in the non-reusable cell case.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37991 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoJavaScriptCore:
sfalken@apple.com [Thu, 30 Oct 2008 03:38:55 +0000 (03:38 +0000)]
JavaScriptCore:

2008-10-29  Steve Falkenburg  <sfalken@apple.com>

        <rdar://problem/6326563> Crash on launch

        For Windows, export explicit functions rather than exporting data for atomicallyInitializedStaticMutex.

        Exporting data from a DLL on Windows requires specifying __declspec(dllimport) in the header used by
        callers, but __declspec(dllexport) when defined in the DLL implementation. By instead exporting
        the explicit lock/unlock functions, we can avoid this.

        Fixes a crash on launch, since we were previously erroneously exporting atomicallyInitializedStaticMutex as a function.

        Reviewed by Darin Adler.

        * wtf/Threading.h:
        (WTF::lockAtomicallyInitializedStaticMutex):
        (WTF::unlockAtomicallyInitializedStaticMutex):
        * wtf/ThreadingWin.cpp:
        (WTF::lockAtomicallyInitializedStaticMutex):
        (WTF::unlockAtomicallyInitializedStaticMutex):

WebKit/win:

2008-10-29  Steve Falkenburg  <sfalken@apple.com>

        <rdar://problem/6326563> Crash on launch

        For Windows, export explicit functions rather than exporting data for atomicallyInitializedStaticMutex.

        Exporting data from a DLL on Windows requires specifying __declspec(dllimport) in the header used by
        callers, but __declspec(dllexport) when defined in the DLL implementation. By instead exporting
        the explicit lock/unlock functions, we can avoid this.

        Fixes a crash on launch, since we were previously erroneously exporting atomicallyInitializedStaticMutex as a function.

        Reviewed by Darin Adler.

        * WebKit.vcproj/WebKit.def:
        * WebKit.vcproj/WebKit_debug.def:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37990 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Sam Weinig <sam@webkit.org>
weinig@apple.com [Thu, 30 Oct 2008 02:44:46 +0000 (02:44 +0000)]
2008-10-29  Sam Weinig  <sam@webkit.org>

        Reviewed by Oliver Hunt.

        Remove direct use of PropertyMap.

        * JavaScriptCore.exp:
        * runtime/JSObject.cpp:
        (JSC::JSObject::mark):
        (JSC::JSObject::put):
        (JSC::JSObject::deleteProperty):
        (JSC::JSObject::getPropertyAttributes):
        (JSC::JSObject::removeDirect):
        * runtime/JSObject.h:
        (JSC::JSObject::getDirect):
        (JSC::JSObject::getDirectLocation):
        (JSC::JSObject::hasCustomProperties):
        (JSC::JSObject::JSObject):
        (JSC::JSObject::putDirect):
        * runtime/PropertyMap.cpp:
        (JSC::PropertyMap::get):
        * runtime/PropertyMap.h:
        (JSC::PropertyMap::isEmpty):
        (JSC::PropertyMap::get):
        * runtime/StructureID.cpp:
        (JSC::StructureID::dumpStatistics):
        * runtime/StructureID.h:
        (JSC::StructureID::propertyStorageSize):
        (JSC::StructureID::get):
        (JSC::StructureID::put):
        (JSC::StructureID::remove):
        (JSC::StructureID::isEmpty):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37989 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Matt Lilek <webkit@mattlilek.com>
pewtermoose@webkit.org [Thu, 30 Oct 2008 01:38:34 +0000 (01:38 +0000)]
2008-10-29  Matt Lilek  <webkit@mattlilek.com>

        Not reviewed, build fix.

        * WebKit.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37988 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 30 Oct 2008 00:49:24 +0000 (00:49 +0000)]
2008-10-29  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Remove an unused forward class declaration.

        * Plugins/WebBaseNetscapePluginView.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37987 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 30 Oct 2008 00:46:14 +0000 (00:46 +0000)]
2008-10-29  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Remove WebBaseNetscapePluginViewInternal.h and WebBaseNetscapePluginViewPrivate.h.

        * Plugins/WebBaseNetscapePluginView.h:
        * Plugins/WebBaseNetscapePluginViewInternal.h: Removed.
        * Plugins/WebBaseNetscapePluginViewPrivate.h: Removed.
        * Plugins/WebNetscapePluginEventHandler.mm:
        * Plugins/WebNetscapePluginEventHandlerCarbon.mm:
        * Plugins/WebNetscapePluginEventHandlerCocoa.mm:
        * Plugins/npapi.mm:
        * WebView/WebHTMLView.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37986 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Sam Weinig <sam@webkit.org>
weinig@apple.com [Wed, 29 Oct 2008 23:52:52 +0000 (23:52 +0000)]
2008-10-29  Sam Weinig  <sam@webkit.org>

        Reviewed by Geoffrey Garen.

        Rename and move the StructureID transition table to its own file.

        * GNUmakefile.am:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * runtime/StructureID.cpp:
        (JSC::StructureID::addPropertyTransition):
        * runtime/StructureID.h:
        (JSC::StructureID::):
        * runtime/StructureIDTransitionTable.h: Copied from runtime/StructureID.h.
        (JSC::StructureIDTransitionTableHash::hash):
        (JSC::StructureIDTransitionTableHash::equal):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37985 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 29 Oct 2008 23:47:52 +0000 (23:47 +0000)]
2008-10-29  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Remove WebNetscapePluginEmbeddedView, it adds nothing extra now.

        Remove WebNetscapePlugInStreamLoaderClient since WebNetscapePluginStream is the client now.

        * Plugins/WebBaseNetscapePluginStream.h:
        * Plugins/WebBaseNetscapePluginStream.mm:
        * Plugins/WebBaseNetscapePluginView.h:
        * Plugins/WebKitPluginContainerView.h:
        * Plugins/WebNetscapePluginEmbeddedView.h: Removed.
        * Plugins/WebNetscapePluginEmbeddedView.mm: Removed.
        * Plugins/WebNetscapePluginEventHandler.h:
        * WebCoreSupport/WebFrameLoaderClient.mm:
        (NetscapePluginWidget::NetscapePluginWidget):
        (NetscapePluginWidget::handleEvent):
        (WebFrameLoaderClient::createPlugin):
        * WebCoreSupport/WebNetscapePlugInStreamLoaderClient.h: Removed.
        * WebCoreSupport/WebNetscapePlugInStreamLoaderClient.mm: Removed.
        * WebView/WebHTMLView.mm:
        (-[NSArray _web_makePluginViewsPerformSelector:withObject:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37984 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 29 Oct 2008 22:53:09 +0000 (22:53 +0000)]
2008-10-29  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Remove the WebBaseNetscapePluginStream Objective-C object.

        * Plugins/WebBaseNetscapePluginStream.h:
        (WebNetscapePluginStream::create):
        * Plugins/WebBaseNetscapePluginStream.mm:
        (WebNetscapePluginStream::WebNetscapePluginStream):
        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView pluginView:receivedResponse:]):
        (-[WebBaseNetscapePluginView evaluateJavaScriptPluginRequest:]):
        (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37983 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Gustavo Noronha Silva <gns@gnome.org>
zecke@webkit.org [Wed, 29 Oct 2008 22:39:18 +0000 (22:39 +0000)]
2008-10-29 Gustavo Noronha Silva <gns@gnome.org>

        Reviewed by Holger Freyther.

        Added all the files that need to be installed for the Inspector to
        work.

WebCore/ChangeLog:
2008-10-29  Gustavo Noronha Silva  <gns@gnome.org>

        Reviewed and slightly changed by Holger Freyther.

        Added all the files that need to be installed for the Inspector to
        work.

        * GNUmakefile.am: Invoke the shell to get the files.

WebKit/gtk:
2008-10-29  Gustavo Noronha Silva  <gns@gnome.org>

        Reviewed and slightly changed by Holger Freyther.

        Implemented a new WebKitWebInspector class to provide a GObject
        API for the Web Inspector. Also implemented InspectorClient.

        * WebCoreSupport/InspectorClientGtk.cpp:
        (WebKit::notifyWebViewDestroyed):
        (WebKit::InspectorClient::InspectorClient):
        (WebKit::InspectorClient::inspectorDestroyed):
        (WebKit::InspectorClient::webViewDestroyed):
        (WebKit::InspectorClient::createPage):
        (WebKit::InspectorClient::showWindow):
        (WebKit::InspectorClient::closeWindow):
        (WebKit::InspectorClient::attachWindow):
        (WebKit::InspectorClient::detachWindow):
        (WebKit::InspectorClient::inspectedURLChanged):
        * WebCoreSupport/InspectorClientGtk.h:
        * webkit/webkit.h:
        * webkit/webkit-marshal.list:
        * webkit/webkitdefines.h:
        * webkit/webkitprivate.h:
        * webkit/webkitwebinspector.cpp: Added.
        (_WebKitWebInspectorPrivate::webkit_inspect_web_view_request_handled):
        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
        (_WebKitWebInspectorPrivate::webkit_web_inspector_init):
        (_WebKitWebInspectorPrivate::webkit_web_inspector_finalize):
        (_WebKitWebInspectorPrivate::webkit_web_inspector_set_property):
        (_WebKitWebInspectorPrivate::webkit_web_inspector_get_property):
        (_WebKitWebInspectorPrivate::webkit_web_inspector_set_web_view):
        * webkit/webkitwebinspector.h: Added.
        * webkit/webkitwebsettings.cpp:
        (_WebKitWebSettingsPrivate::):
        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
        (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
        (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
        (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
        * webkit/webkitwebview.cpp:
        * webkit/webkitwebview.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37982 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Sam Weinig <sam@webkit.org>
weinig@apple.com [Wed, 29 Oct 2008 22:27:31 +0000 (22:27 +0000)]
2008-10-29  Sam Weinig  <sam@webkit.org>

        Reviewed by Cameron Zwarich.

        Fix for https://bugs.webkit.org/show_bug.cgi?id=21958
        Pack bits in StructureID to reduce the size of each StructureID by 2 words.

        * runtime/PropertyMap.h:
        (JSC::PropertyMap::propertyMapSize):
        * runtime/StructureID.cpp:
        (JSC::StructureID::dumpStatistics): Add additional size statistics when dumping.
        (JSC::StructureID::StructureID):
        * runtime/StructureID.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37981 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Andrew Scherkus <scherkus@chromium.org>
darin@chromium.org [Wed, 29 Oct 2008 21:45:02 +0000 (21:45 +0000)]
2008-10-29  Andrew Scherkus  <scherkus@chromium.org>

        Reviewed by Darin Adler

        Add MediaPlayerPrivateChromium to MediaPlayer
        https://bugs.webkit.org/show_bug.cgi?id=21930

        * platform/graphics/MediaPlayer.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37980 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Justin Garcia <justin.garcia@apple.com>
justin.garcia@apple.com [Wed, 29 Oct 2008 21:43:47 +0000 (21:43 +0000)]
2008-10-29  Justin Garcia  <justin.garcia@apple.com>

        Reviewed by Darin Adler.

        Some preparation for:
        <rdar://problem/6104369> Hitting return at the end of a quoted line creates an extraneous quoted line

        Added an early return to avoid a level of if-nesting.  No other changes.  We probably don't
        need to rebalance whitespace before the early return but for now don't risk any change in behavior
        I'll revisit that later.

        * editing/BreakBlockquoteCommand.cpp:
        (WebCore::BreakBlockquoteCommand::doApply):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37979 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Jon Honeycutt <jhoneycutt@apple.com>
jhoneycutt@apple.com [Wed, 29 Oct 2008 21:21:47 +0000 (21:21 +0000)]
2008-10-29  Jon Honeycutt  <jhoneycutt@apple.com>

        Export atomicallyInitializedStaticMutex.

        Rubber-stamped by Steve Falkenburg.

        * WebKit.vcproj/WebKit.def:
        * WebKit.vcproj/WebKit_debug.def:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37978 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Mike Hommey <glandium@debian.org>
zecke@webkit.org [Wed, 29 Oct 2008 20:19:06 +0000 (20:19 +0000)]
2008-10-29  Mike Hommey  <glandium@debian.org>

        Reviewed by Holger Freyther.

        https://bugs.webkit.org/show_bug.cgi?id=21884
        Test presence and link against libpng.

        * GNUmakefile.am:
        * configure.ac:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37977 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agowx build fixes after addition of runtime and ImageBuffer changes.
kevino@webkit.org [Wed, 29 Oct 2008 20:13:27 +0000 (20:13 +0000)]
wx build fixes after addition of runtime and ImageBuffer changes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37976 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Brady Eidson <beidson@apple.com>
beidson@apple.com [Wed, 29 Oct 2008 19:59:53 +0000 (19:59 +0000)]
2008-10-29  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig

        https://bugs.webkit.org/show_bug.cgi?id=21952

        Address an outstanding FIXME by removing unused SPI

        * History/WebHistory.mm:
        (-[WebHistory _addItemForURL:title:]): Fold addItem: into this method

        * History/WebHistoryPrivate.h: Removed unused/unneccessary SPI

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37975 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-29 Jan Michael Alonzo <jmalonzo@webkit.org>
jmalonzo@webkit.org [Wed, 29 Oct 2008 19:34:36 +0000 (19:34 +0000)]
2008-10-29  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Reviewed by Holger Freyther.

        Add --enable-optimizations to enable optimized builds. The default
        is to enable it for release builds, and disabled for debug builds.
        This option will allow builders to have a debug as well as
        optimized builds.

        * GNUmakefile.am:
        * configure.ac:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37974 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoAllow Skia implementations to get text style changed notifications.
brettw@chromium.org [Wed, 29 Oct 2008 16:38:52 +0000 (16:38 +0000)]
Allow Skia implementations to get text style changed notifications.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37973 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoEmit the WillExecuteStatement debugger hook before the "else" body when there is...
timothy@apple.com [Wed, 29 Oct 2008 15:02:31 +0000 (15:02 +0000)]
Emit the WillExecuteStatement debugger hook before the "else" body when there is no block for the "else" body. This allows breakpoints on those statements in the Web Inspector.

JavaScriptCore:

2008-10-28  Timothy Hatcher  <timothy@apple.com>

        Emit the WillExecuteStatement debugger hook before the "else" body
        when there is no block for the "else" body. This allows breakpoints
        on those statements in the Web Inspector.

        https://bugs.webkit.org/show_bug.cgi?id=21944

        Reviewed by Maciej Stachowiak.

        * kjs/nodes.cpp:
        (JSC::IfElseNode::emitCode): Emit the WillExecuteStatement
        debugger hook before the else node if isn't a block.

WebCore:

2008-10-28  Timothy Hatcher  <timothy@apple.com>

        Add a manual test that checks breakpoints on a blockless body of
        an "else" statement.

        https://bugs.webkit.org/show_bug.cgi?id=21944

        Reviewed by Maciej Stachowiak.

        * manual-tests/inspector/debugger-pause-on-else-statements.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37972 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Darin Adler.
ap@webkit.org [Wed, 29 Oct 2008 10:44:22 +0000 (10:44 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=21921
        MessagePort messages are dispatched to documents that are not fully active

        Covered by corrected fast/events/message-port-inactive-document.html

        * bindings/js/JSEventListener.cpp:
        (WebCore::JSAbstractEventListener::handleEvent): Don't dispatch messages to contexts
        that are not fully active.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37971 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Build fix.
ap@webkit.org [Wed, 29 Oct 2008 10:40:22 +0000 (10:40 +0000)]
    Build fix.

        * JavaScriptCore.exp: Export HashTable::deleteTable().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37970 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Sam Weinig.
ap@webkit.org [Wed, 29 Oct 2008 10:37:26 +0000 (10:37 +0000)]
    Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=21922
        Expose MessagePort global constructor

        Covered by existing dumper tests.

        * dom/MessagePort.idl:
        * page/DOMWindow.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37969 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Darin Adler.
ap@webkit.org [Wed, 29 Oct 2008 10:35:26 +0000 (10:35 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=21924
        HashTable internal index is not always deleted

        * bindings/js/JSDOMBinding.cpp: (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):
        Call deleteTable for HashTables that are being deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37968 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoMissed these files in an earlier check-in for <https://bugs.webkit.org/show_bug.cgi...
ap@webkit.org [Wed, 29 Oct 2008 10:31:51 +0000 (10:31 +0000)]
Missed these files in an earlier check-in for <https://bugs.webkit.org/show_bug.cgi?id=21893>.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37967 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Darin Adler.
ap@webkit.org [Wed, 29 Oct 2008 10:26:58 +0000 (10:26 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=21923
        Create an abstraction for script execution context

        * GNUmakefile.am:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        Added ScriptExecutionContext.{h,cpp}.

        * bindings/js/JSAudioConstructor.cpp:
        (WebCore::JSAudioConstructor::JSAudioConstructor):
        * bindings/js/JSAudioConstructor.h:
        * bindings/js/JSImageConstructor.cpp:
        (WebCore::JSImageConstructor::JSImageConstructor):
        * bindings/js/JSImageConstructor.h:
        * bindings/js/JSOptionConstructor.cpp:
        (WebCore::JSOptionConstructor::JSOptionConstructor):
        * bindings/js/JSOptionConstructor.h:
        * bindings/js/JSXMLHttpRequestConstructor.cpp:
        (WebCore::JSXMLHttpRequestConstructor::JSXMLHttpRequestConstructor):
        * bindings/js/JSXMLHttpRequestConstructor.h:
        Pass ScriptExecutionContext instead of Document to make getDOMConstructor() happy.
        Since these objects can only work within documents now, it is immediately converted back
        to Document.

        * bindings/js/JSMessageChannelConstructor.cpp:
        (WebCore::JSMessageChannelConstructor::JSMessageChannelConstructor):
        (WebCore::JSMessageChannelConstructor::construct):
        * bindings/js/JSMessageChannelConstructor.h:
        (WebCore::JSMessageChannelConstructor::scriptExecutionContext):
        MessageChannel needs to be supported in workers right away, so the constructor operates with
        it directly.

        * dom/ActiveDOMObject.cpp:
        (WebCore::ActiveDOMObject::ActiveDOMObject):
        (WebCore::ActiveDOMObject::~ActiveDOMObject):
        (WebCore::ActiveDOMObject::contextDestroyed):
        * dom/ActiveDOMObject.h:
        (WebCore::ActiveDOMObject::scriptExecutionContext):
        * bindings/js/JSDOMBinding.cpp:
        (WebCore::markActiveObjectsForContext):
        (WebCore::markCrossHeapDependentObjectsForContext):
        Use ScriptExecutionContext instead of Document, now that ActiveDOMObject and MessagePort
        tracking is handled by ScriptExecutionContext.

        * bindings/js/JSDOMBinding.h: (WebCore::getDOMPrototype): Moved to JSDOMGlobalObject.

        * bindings/js/JSDOMGlobalObject.h:
        (WebCore::getDOMConstructor): Moved to this file, as constructors live in JSDOMGlobalObject.
        Also, the two-argument version that used to be in JSDOMWindowBase.cpp need to be accessible
        to worker context implementation.
        (WebCore::scriptExecutionContext): Added a pure virtual method to access
        ScriptExecutionContext, implemented by subclasses.

        * bindings/js/JSDOMWindowBase.h:
        * bindings/js/JSDOMWindowBase.cpp: (WebCore::JSDOMWindowBase::scriptExecutionContext):
        Implement by returning the associated document. Note that this method currently gives bogus
        results after navigation - DOMWindow Frame reference is not zeroed out, so we get a document
        that is currently in the frame, not the one associated with this window.

        * bindings/js/JSDedicatedWorkerConstructor.cpp: Removed unnecessary include of DOMWindow.h.

        * bindings/js/JSDocumentCustom.cpp: (WebCore::JSDocument::mark):
        Call markActiveObjectsForContext() by its new name.

        * dom/DedicatedWorker.cpp:
        (WebCore::DedicatedWorker::DedicatedWorker):
        (WebCore::DedicatedWorker::document):
        * dom/DedicatedWorker.h:
        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::document):
        * xml/XMLHttpRequest.h:
        Added a document() function that upcasts ScriptExecutionContext, as these objects only work
        within documents currently (at least for XMLHttpRequest, this will change soon though).

        * dom/Document.cpp:
        (WebCore::Document::Document):
        (WebCore::Document::~Document):
        Moved active object and MessagePort tracking up to ScriptExecutionContext, to share code
        with workers.

        * dom/Document.h:
        (WebCore::Document::isDocument):
        (WebCore::Document::refScriptExecutionContext):
        (WebCore::Document::derefScriptExecutionContext):
        Inherit from ScriptExecutionContext.

        * dom/MessageChannel.cpp:
        (WebCore::MessageChannel::MessageChannel):
        * dom/MessageChannel.h:
        (WebCore::MessageChannel::create):
        Use ScriptExecutionContext instead of Document.

        * dom/MessagePort.cpp:
        (WebCore::CloseMessagePortTimer::CloseMessagePortTimer): Make m_port a RefPtr, because
        MessagePort doesn't ref() itself when posting this event any more (this is a fix for an
        unrelated issue that was causing random crashes in layout tests).
        (WebCore::MessagePort::MessagePort):
        (WebCore::MessagePort::~MessagePort):
        (WebCore::MessagePort::associatedFrame):
        (WebCore::MessagePort::clone):
        (WebCore::MessagePort::postMessage):
        (WebCore::MessagePort::startConversation):
        (WebCore::MessagePort::start):
        (WebCore::MessagePort::contextDestroyed):
        (WebCore::MessagePort::dispatchMessages):
        * dom/MessagePort.h:
        (WebCore::MessagePort::create):
        (WebCore::MessagePort::scriptExecutionContext):
        Use ScriptExecutionContext instead of Document. This is a step toward making MessagePort
        work in worker contexts - we need to also make some its method thread safe for cross-thread
        messaging, and make event dispatching thread safe.

        * dom/ScriptExecutionContext.cpp: Added.
        * dom/ScriptExecutionContext.h: Added.
        ActiveDOMObject and MessagePort tracking is moved from Document.
        It is debatable whether ScriptExecutionContext should be a parent of Document or DOMWindow,
        but as I'm just moving Document code, and it is Document that is the main context object
        in our implementation currently.
        Changing ScriptExecutionContext to be a parent of DOMWindow causes a number of bugs that
        seem non-trivial to fix, and isn't really a part of this task.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37966 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoAttempt to fix the Windows build.
timothy@apple.com [Wed, 29 Oct 2008 06:01:41 +0000 (06:01 +0000)]
Attempt to fix the Windows build.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37965 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoAttempt to fix the Windows build.
timothy@apple.com [Wed, 29 Oct 2008 05:28:00 +0000 (05:28 +0000)]
Attempt to fix the Windows build.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37964 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Alp Toker <alp@nuanti.com>
alp@webkit.org [Wed, 29 Oct 2008 05:22:20 +0000 (05:22 +0000)]
2008-10-28  Alp Toker  <alp@nuanti.com>

        Fix builddir != srcdir builds after kjs -> runtime breakage. Sources
        may now be generated in both kjs/ and runtime/.

        Also sort the sources list for readability.

        List newly-added ImageBufferData.h in build system.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37963 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Alp Toker <alp@nuanti.com>
alp@webkit.org [Wed, 29 Oct 2008 04:47:33 +0000 (04:47 +0000)]
2008-10-28  Alp Toker  <alp@nuanti.com>

        Fix GTK DRT following build breakage in r37928.

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (dump):
        (runTest):
        (main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37962 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoAttempt to fix the Windows build.
timothy@apple.com [Wed, 29 Oct 2008 04:42:08 +0000 (04:42 +0000)]
Attempt to fix the Windows build.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37961 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Alp Toker <alp@nuanti.com>
alp@webkit.org [Wed, 29 Oct 2008 03:20:15 +0000 (03:20 +0000)]
2008-10-28  Alp Toker  <alp@nuanti.com>

        Reviewed by Cameron Zwarich.

        Build fix attempt after kjs -> runtime rename.

        De-list unused WebCore ForwardingHeaders to fix the dist target.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37960 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Wed, 29 Oct 2008 03:02:04 +0000 (03:02 +0000)]
2008-10-28  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Remove a duplicate includes directory.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37959 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Wed, 29 Oct 2008 02:41:47 +0000 (02:41 +0000)]
2008-10-28  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Attempt to fix the Windows build.

        JavaScriptCore:

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.vcproj/jsc/jsc.vcproj:

        WebCore:

        * WebCore.vcproj/WebCore.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37958 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebCore:
justin.garcia@apple.com [Wed, 29 Oct 2008 02:07:18 +0000 (02:07 +0000)]
WebCore:

2008-10-28  Justin Garcia  <justin.garcia@apple.com>

        Reviewed by Darin Adler.

        <rdar://problem/5188560> REGRESSION: Spell checker doesn't clear spelling/grammar marker after error is marked as Ignored

        * editing/Editor.cpp:
        (WebCore::Editor::ignoreSpelling): Remove misspelling markers from the word.
        (WebCore::Editor::learnSpelling): Added a FIXME about <rdar://problem/5396072>, which
        will probably require a change more complicated than just marking the learned word as
        misspelled.  I'll address it with a separate patch.
        * editing/EditorCommand.cpp:
        (WebCore::executeIgnoreSpelling): Added.
        (WebCore::CommandEntry::): Added an entry for IgnoreSpelling.

WebKit/mac:

2008-10-28  Justin Garcia  <justin.garcia@apple.com>

        Reviewed by Darin Adler.

        <rdar://problem/5188560> REGRESSION: Spell checker doesn't clear spelling/grammar marker after error is marked as Ignored

        * WebView/WebHTMLView.mm: IgnoreSpelling is now a WebCore command.  That command handles
        calling back into WebKit to perform the cross platform work that was removed in this change.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37957 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Wed, 29 Oct 2008 01:54:00 +0000 (01:54 +0000)]
2008-10-28  Cameron Zwarich  <zwarich@apple.com>

        Reviewed by Mark Rowe.

        Move ForwardingHeaders to their correct location after the creation of
        the runtime directory in JavaScriptCore.

        WebCore:

        * ForwardingHeaders/kjs/ArrayPrototype.h: Removed.
        * ForwardingHeaders/kjs/BooleanObject.h: Removed.
        * ForwardingHeaders/kjs/CallData.h: Removed.
        * ForwardingHeaders/kjs/ConstructData.h: Removed.
        * ForwardingHeaders/kjs/DateInstance.h: Removed.
        * ForwardingHeaders/kjs/Error.h: Removed.
        * ForwardingHeaders/kjs/FunctionConstructor.h: Removed.
        * ForwardingHeaders/kjs/FunctionPrototype.h: Removed.
        * ForwardingHeaders/kjs/InternalFunction.h: Removed.
        * ForwardingHeaders/kjs/JSArray.h: Removed.
        * ForwardingHeaders/kjs/JSFunction.h: Removed.
        * ForwardingHeaders/kjs/JSGlobalObject.h: Removed.
        * ForwardingHeaders/kjs/JSNumberCell.h: Removed.
        * ForwardingHeaders/kjs/JSObject.h: Removed.
        * ForwardingHeaders/kjs/JSString.h: Removed.
        * ForwardingHeaders/kjs/JSValue.h: Removed.
        * ForwardingHeaders/kjs/ObjectPrototype.h: Removed.
        * ForwardingHeaders/kjs/PropertyMap.h: Removed.
        * ForwardingHeaders/kjs/PrototypeFunction.h: Removed.
        * ForwardingHeaders/kjs/StringObject.h: Removed.
        * ForwardingHeaders/kjs/StringObjectThatMasqueradesAsUndefined.h: Removed.
        * ForwardingHeaders/kjs/StringPrototype.h: Removed.
        * ForwardingHeaders/kjs/StructureID.h: Removed.
        * ForwardingHeaders/runtime: Added.
        * ForwardingHeaders/runtime/ArrayPrototype.h: Copied from ForwardingHeaders/kjs/ArrayPrototype.h.
        * ForwardingHeaders/runtime/BooleanObject.h: Copied from ForwardingHeaders/kjs/BooleanObject.h.
        * ForwardingHeaders/runtime/CallData.h: Copied from ForwardingHeaders/kjs/CallData.h.
        * ForwardingHeaders/runtime/ConstructData.h: Copied from ForwardingHeaders/kjs/ConstructData.h.
        * ForwardingHeaders/runtime/DateInstance.h: Copied from ForwardingHeaders/kjs/DateInstance.h.
        * ForwardingHeaders/runtime/Error.h: Copied from ForwardingHeaders/kjs/Error.h.
        * ForwardingHeaders/runtime/FunctionConstructor.h: Copied from ForwardingHeaders/kjs/FunctionConstructor.h.
        * ForwardingHeaders/runtime/FunctionPrototype.h: Copied from ForwardingHeaders/kjs/FunctionPrototype.h.
        * ForwardingHeaders/runtime/InternalFunction.h: Copied from ForwardingHeaders/kjs/InternalFunction.h.
        * ForwardingHeaders/runtime/JSArray.h: Copied from ForwardingHeaders/kjs/JSArray.h.
        * ForwardingHeaders/runtime/JSFunction.h: Copied from ForwardingHeaders/kjs/JSFunction.h.
        * ForwardingHeaders/runtime/JSGlobalObject.h: Copied from ForwardingHeaders/kjs/JSGlobalObject.h.
        * ForwardingHeaders/runtime/JSNumberCell.h: Copied from ForwardingHeaders/kjs/JSNumberCell.h.
        * ForwardingHeaders/runtime/JSObject.h: Copied from ForwardingHeaders/kjs/JSObject.h.
        * ForwardingHeaders/runtime/JSString.h: Copied from ForwardingHeaders/kjs/JSString.h.
        * ForwardingHeaders/runtime/JSValue.h: Copied from ForwardingHeaders/kjs/JSValue.h.
        * ForwardingHeaders/runtime/ObjectPrototype.h: Copied from ForwardingHeaders/kjs/ObjectPrototype.h.
        * ForwardingHeaders/runtime/PropertyMap.h: Copied from ForwardingHeaders/kjs/PropertyMap.h.
        * ForwardingHeaders/runtime/PrototypeFunction.h: Copied from ForwardingHeaders/kjs/PrototypeFunction.h.
        * ForwardingHeaders/runtime/StringObject.h: Copied from ForwardingHeaders/kjs/StringObject.h.
        * ForwardingHeaders/runtime/StringObjectThatMasqueradesAsUndefined.h: Copied from ForwardingHeaders/kjs/StringObjectThatMasqueradesAsUndefined.h.
        * ForwardingHeaders/runtime/StringPrototype.h: Copied from ForwardingHeaders/kjs/StringPrototype.h.
        * ForwardingHeaders/runtime/StructureID.h: Copied from ForwardingHeaders/kjs/StructureID.h.
        * bindings/js/JSCSSStyleDeclarationCustom.cpp:
        * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
        * bindings/js/JSClipboardCustom.cpp:
        * bindings/js/JSConsoleCustom.cpp:
        * bindings/js/JSCustomPositionCallback.h:
        * bindings/js/JSCustomPositionErrorCallback.h:
        * bindings/js/JSCustomSQLStatementCallback.h:
        * bindings/js/JSCustomSQLStatementErrorCallback.h:
        * bindings/js/JSCustomSQLTransactionErrorCallback.h:
        * bindings/js/JSCustomVoidCallback.h:
        * bindings/js/JSCustomXPathNSResolver.h:
        * bindings/js/JSDOMBinding.cpp:
        * bindings/js/JSDOMBinding.h:
        * bindings/js/JSDOMGlobalObject.h:
        * bindings/js/JSDOMWindowBase.cpp:
        * bindings/js/JSDOMWindowCustom.cpp:
        * bindings/js/JSDOMWindowShell.cpp:
        * bindings/js/JSDatabaseCustom.cpp:
        * bindings/js/JSEventListener.cpp:
        * bindings/js/JSEventTarget.h:
        * bindings/js/JSHTMLDocumentCustom.cpp:
        * bindings/js/JSHistoryCustom.cpp:
        * bindings/js/JSInspectedObjectWrapper.cpp:
        * bindings/js/JSJavaScriptCallFrameCustom.cpp:
        * bindings/js/JSLocationCustom.cpp:
        * bindings/js/JSNodeFilterCondition.h:
        * bindings/js/JSQuarantinedObjectWrapper.cpp:
        * bindings/js/JSQuarantinedObjectWrapper.h:
        * bindings/js/JSXMLHttpRequestCustom.cpp:
        * bindings/js/JSXMLHttpRequestUploadCustom.cpp:
        * bindings/objc/WebScriptObject.mm:
        * bindings/objc/WebScriptObjectPrivate.h:
        * bindings/scripts/CodeGeneratorJS.pm:
        * bridge/NP_jsobject.cpp:
        * bridge/c/c_instance.cpp:
        * bridge/c/c_utility.cpp:
        * bridge/c/c_utility.h:
        * bridge/jni/jni_instance.cpp:
        * bridge/jni/jni_jsobject.h:
        * bridge/jni/jni_jsobject.mm:
        * bridge/jni/jni_runtime.cpp:
        * bridge/jni/jni_utility.cpp:
        * bridge/jni/jni_utility.h:
        * bridge/objc/objc_instance.mm:
        * bridge/objc/objc_runtime.h:
        * bridge/objc/objc_runtime.mm:
        * bridge/objc/objc_utility.h:
        * bridge/objc/objc_utility.mm:
        * bridge/runtime.h:
        * bridge/runtime_array.cpp:
        * bridge/runtime_array.h:
        * bridge/runtime_method.cpp:
        * bridge/runtime_method.h:
        * bridge/runtime_object.cpp:
        * bridge/runtime_object.h:
        * bridge/runtime_root.cpp:
        * inspector/JavaScriptCallFrame.cpp:
        * inspector/JavaScriptProfile.cpp:
        * inspector/JavaScriptProfile.h:
        * inspector/JavaScriptProfileNode.cpp:
        * inspector/JavaScriptProfileNode.h:
        * loader/FrameLoader.cpp:
        * page/Console.cpp:
        * plugins/PluginView.cpp:
        * plugins/gtk/PluginViewGtk.cpp:
        * plugins/qt/PluginViewQt.cpp:
        * plugins/win/PluginViewWin.cpp:

        WebKit/mac:

        * ForwardingHeaders/kjs/JSFunction.h: Removed.
        * ForwardingHeaders/kjs/JSObject.h: Removed.
        * ForwardingHeaders/kjs/JSString.h: Removed.
        * ForwardingHeaders/kjs/JSValue.h: Removed.
        * ForwardingHeaders/runtime: Added.
        * ForwardingHeaders/runtime/JSFunction.h: Copied from ForwardingHeaders/kjs/JSFunction.h.
        * ForwardingHeaders/runtime/JSObject.h: Copied from ForwardingHeaders/kjs/JSObject.h.
        * ForwardingHeaders/runtime/JSString.h: Copied from ForwardingHeaders/kjs/JSString.h.
        * ForwardingHeaders/runtime/JSValue.h: Copied from ForwardingHeaders/kjs/JSValue.h.
        * WebView/WebScriptDebugDelegate.mm:
        * WebView/WebScriptDebugger.mm:
        * WebView/WebView.mm:

        WebKit/win:

        * WebScriptCallFrame.h:

        WebKit/wx:

        * WebFrame.cpp:
        * WebView.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37956 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Mark Rowe.
mitz@apple.com [Wed, 29 Oct 2008 00:57:31 +0000 (00:57 +0000)]
    Reviewed by Mark Rowe.

        - export WTF::atomicallyInitializedStaticMutex

        * JavaScriptCore.exp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37955 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Adele Peterson <adele@apple.com>
adele@apple.com [Wed, 29 Oct 2008 00:37:36 +0000 (00:37 +0000)]
2008-10-28  Adele Peterson  <adele@apple.com>

        Windows build fix.  This removes Cairo include directories from non-Cairbo build configurations.

        * WebCore.vcproj/WebCore.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37954 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Adele Peterson <adele@apple.com>
adele@apple.com [Wed, 29 Oct 2008 00:20:48 +0000 (00:20 +0000)]
2008-10-28  Adele Peterson  <adele@apple.com>

        Build fix.

        * platform/graphics/ImageBuffer.h:
        (WebCore::ImageBuffer::create):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37953 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Wed, 29 Oct 2008 00:12:35 +0000 (00:12 +0000)]
2008-10-28  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Roll out a mistaken attempt at fixing the GTK build in r37947.

        * GNUmakefile.am:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37952 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2005-10-28 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Wed, 29 Oct 2008 00:11:21 +0000 (00:11 +0000)]
2005-10-28  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Cameron Zwarich.

        Fixed CodeBlock dumping to accurately report constant register indices.

        * VM/CodeBlock.cpp:
        (JSC::CodeBlock::dump):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37951 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Alp Toker <alp@nuanti.com>
alp@webkit.org [Wed, 29 Oct 2008 00:04:06 +0000 (00:04 +0000)]
2008-10-28  Alp Toker  <alp@nuanti.com>

        Reviewed by Mark Rowe.

        Fix recently introduced double-free crashes in GTK DRT.

        LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
        were updated to call ->deref() but GTK DRT was still deleting
        gLayoutTestController manually. This patch updates GTK to match the
        other ports and resolves the memory allocation issues.

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (runTest):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37950 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebCore:
adele@apple.com [Tue, 28 Oct 2008 23:36:33 +0000 (23:36 +0000)]
WebCore:

2008-10-28  Adele Peterson  <adele@apple.com>

        Reviewed by John Sullivan.

        Fix for https://bugs.webkit.org/show_bug.cgi?id=21880
        "files" string for multifile uploads needs to be localized

        * page/mac/WebCoreViewFactory.h:
        * platform/LocalizedStrings.h:
        * platform/gtk/FileChooserGtk.cpp: (WebCore::FileChooser::basenameForWidth):
        * platform/gtk/LocalizedStringsGtk.cpp: (WebCore::multipleFileUploadText):
        * platform/mac/FileChooserMac.mm: (WebCore::FileChooser::basenameForWidth):
        * platform/mac/LocalizedStringsMac.mm: (WebCore::multipleFileUploadText):
        * platform/qt/Localizations.cpp: (WebCore::multipleFileUploadText):
        * platform/wx/LocalizedStringsWx.cpp: (WebCore::multipleFileUploadText):

WebKit:

2008-10-28  Adele Peterson  <adele@apple.com>

        Reviewed by John Sullivan.

        Fix for https://bugs.webkit.org/show_bug.cgi?id=21880
        "files" string for multifile uploads needs to be localized

        * English.lproj/Localizable.strings: Updated with new string.

WebKit/mac:

2008-10-28  Adele Peterson  <adele@apple.com>

        Reviewed by John Sullivan.

        Fix for https://bugs.webkit.org/show_bug.cgi?id=21880
        "files" string for multifile uploads needs to be localized

        * WebCoreSupport/WebViewFactory.mm: (-[WebViewFactory multipleFileUploadTextForNumberOfFiles:]):
        Added.

WebKit/win:

2008-10-28  Adele Peterson  <adele@apple.com>

        Reviewed by John Sullivan.

        Fix for https://bugs.webkit.org/show_bug.cgi?id=21880
        "files" string for multifile uploads needs to be localized

        * WebCoreLocalizedStrings.cpp: (multipleFileUploadText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37949 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoReviewed by Darin Adler.
brettw@chromium.org [Tue, 28 Oct 2008 23:10:42 +0000 (23:10 +0000)]
Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=21816

Remove platform ifdefs in ImageBuffer.h by moving platform specific code
into a new PlatformImageBuffer class. Move the static create function
into the header because it can be cross-platform. Initialization now
happens in the cunstructor which sets a flag that create uses to know
whether it should return null or not. I also made passing of IntSize
more consistent (always by reference).

This change also changes the ifdefs in GraphicsContext to allow Skia
ports to implement text drawing modes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37948 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Tue, 28 Oct 2008 22:22:30 +0000 (22:22 +0000)]
2008-10-28  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Fix the GTK build.

        * GNUmakefile.am:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37947 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Tue, 28 Oct 2008 22:14:54 +0000 (22:14 +0000)]
2008-10-28  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Another Qt build fix.

        * WebCore.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37946 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Tue, 28 Oct 2008 22:04:27 +0000 (22:04 +0000)]
2008-10-28  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        More Qt build fixes.

        * JavaScriptCore.pri:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37945 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Alp Toker <alp@nuanti.com>
alp@webkit.org [Tue, 28 Oct 2008 21:59:28 +0000 (21:59 +0000)]
2008-10-28  Alp Toker  <alp@nuanti.com>

        Reviewed by Mark Rowe.

        Fix GTK DRT hang when running the tests.

        Update output from the DRT tool to print an additional '#EOF' to match
        breaking changes that were made in r37434.

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (dump):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37944 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWindows build fix.
timothy@apple.com [Tue, 28 Oct 2008 21:52:49 +0000 (21:52 +0000)]
Windows build fix.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37943 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Tue, 28 Oct 2008 21:43:05 +0000 (21:43 +0000)]
2008-10-28  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Fix the Qt build, hopefully for real this time.

        * JavaScriptCore.pri:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37942 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Greg Bolsinga <bolsinga@apple.com>
ddkilzer@apple.com [Tue, 28 Oct 2008 21:42:26 +0000 (21:42 +0000)]
2008-10-28  Greg Bolsinga  <bolsinga@apple.com>

        Reviewed by David Kilzer.

        https://bugs.webkit.org/show_bug.cgi?id=21932
        Add non-pointer constant lookups to SoftLinking.h

        * platform/mac/SoftLinking.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37941 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Tue, 28 Oct 2008 21:36:43 +0000 (21:36 +0000)]
2008-10-28  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Fix the Qt build.

        * JavaScriptCore.pri:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37940 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Tue, 28 Oct 2008 21:26:23 +0000 (21:26 +0000)]
2008-10-28  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Fix the Windows build.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37939 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Tue, 28 Oct 2008 21:06:37 +0000 (21:06 +0000)]
2008-10-28  Cameron Zwarich  <zwarich@apple.com>

        Rubber-stamped by Sam Weinig.

        Create a runtime directory in JavaScriptCore and begin moving files to
        it. This is the first step towards removing the kjs directory and
        placing files in more meaningful subdirectories of JavaScriptCore.

        * API/JSBase.cpp:
        * API/JSCallbackConstructor.cpp:
        * API/JSCallbackConstructor.h:
        * API/JSCallbackFunction.cpp:
        * API/JSClassRef.cpp:
        * API/JSClassRef.h:
        * API/JSStringRefCF.cpp:
        * API/JSValueRef.cpp:
        * API/OpaqueJSString.cpp:
        * DerivedSources.make:
        * GNUmakefile.am:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * kjs/AllInOneFile.cpp:
        * kjs/ArrayConstructor.cpp: Removed.
        * kjs/ArrayConstructor.h: Removed.
        * kjs/ArrayPrototype.cpp: Removed.
        * kjs/ArrayPrototype.h: Removed.
        * kjs/BooleanConstructor.cpp: Removed.
        * kjs/BooleanConstructor.h: Removed.
        * kjs/BooleanObject.cpp: Removed.
        * kjs/BooleanObject.h: Removed.
        * kjs/BooleanPrototype.cpp: Removed.
        * kjs/BooleanPrototype.h: Removed.
        * kjs/CallData.cpp: Removed.
        * kjs/CallData.h: Removed.
        * kjs/ClassInfo.h: Removed.
        * kjs/ConstructData.cpp: Removed.
        * kjs/ConstructData.h: Removed.
        * kjs/DateConstructor.cpp: Removed.
        * kjs/DateConstructor.h: Removed.
        * kjs/DateInstance.cpp: Removed.
        * kjs/DateInstance.h: Removed.
        * kjs/DateMath.cpp: Removed.
        * kjs/DateMath.h: Removed.
        * kjs/DatePrototype.cpp: Removed.
        * kjs/DatePrototype.h: Removed.
        * kjs/Error.cpp: Removed.
        * kjs/Error.h: Removed.
        * kjs/ErrorConstructor.cpp: Removed.
        * kjs/ErrorConstructor.h: Removed.
        * kjs/ErrorInstance.cpp: Removed.
        * kjs/ErrorInstance.h: Removed.
        * kjs/ErrorPrototype.cpp: Removed.
        * kjs/ErrorPrototype.h: Removed.
        * kjs/FunctionConstructor.cpp: Removed.
        * kjs/FunctionConstructor.h: Removed.
        * kjs/FunctionPrototype.cpp: Removed.
        * kjs/FunctionPrototype.h: Removed.
        * kjs/GlobalEvalFunction.cpp: Removed.
        * kjs/GlobalEvalFunction.h: Removed.
        * kjs/InternalFunction.cpp: Removed.
        * kjs/InternalFunction.h: Removed.
        * kjs/JSArray.cpp: Removed.
        * kjs/JSArray.h: Removed.
        * kjs/JSCell.cpp: Removed.
        * kjs/JSCell.h: Removed.
        * kjs/JSFunction.cpp: Removed.
        * kjs/JSFunction.h: Removed.
        * kjs/JSGlobalObject.cpp: Removed.
        * kjs/JSGlobalObject.h: Removed.
        * kjs/JSGlobalObjectFunctions.cpp: Removed.
        * kjs/JSGlobalObjectFunctions.h: Removed.
        * kjs/JSImmediate.cpp: Removed.
        * kjs/JSImmediate.h: Removed.
        * kjs/JSNotAnObject.cpp: Removed.
        * kjs/JSNotAnObject.h: Removed.
        * kjs/JSNumberCell.cpp: Removed.
        * kjs/JSNumberCell.h: Removed.
        * kjs/JSObject.cpp: Removed.
        * kjs/JSObject.h: Removed.
        * kjs/JSString.cpp: Removed.
        * kjs/JSString.h: Removed.
        * kjs/JSValue.cpp: Removed.
        * kjs/JSValue.h: Removed.
        * kjs/JSVariableObject.cpp: Removed.
        * kjs/JSVariableObject.h: Removed.
        * kjs/JSWrapperObject.cpp: Removed.
        * kjs/JSWrapperObject.h: Removed.
        * kjs/MathObject.cpp: Removed.
        * kjs/MathObject.h: Removed.
        * kjs/NativeErrorConstructor.cpp: Removed.
        * kjs/NativeErrorConstructor.h: Removed.
        * kjs/NativeErrorPrototype.cpp: Removed.
        * kjs/NativeErrorPrototype.h: Removed.
        * kjs/NumberConstructor.cpp: Removed.
        * kjs/NumberConstructor.h: Removed.
        * kjs/NumberObject.cpp: Removed.
        * kjs/NumberObject.h: Removed.
        * kjs/NumberPrototype.cpp: Removed.
        * kjs/NumberPrototype.h: Removed.
        * kjs/ObjectConstructor.cpp: Removed.
        * kjs/ObjectConstructor.h: Removed.
        * kjs/ObjectPrototype.cpp: Removed.
        * kjs/ObjectPrototype.h: Removed.
        * kjs/PropertyMap.cpp: Removed.
        * kjs/PropertyMap.h: Removed.
        * kjs/PropertySlot.cpp: Removed.
        * kjs/PropertySlot.h: Removed.
        * kjs/PrototypeFunction.cpp: Removed.
        * kjs/PrototypeFunction.h: Removed.
        * kjs/PutPropertySlot.h: Removed.
        * kjs/SmallStrings.cpp: Removed.
        * kjs/SmallStrings.h: Removed.
        * kjs/StringConstructor.cpp: Removed.
        * kjs/StringConstructor.h: Removed.
        * kjs/StringObject.cpp: Removed.
        * kjs/StringObject.h: Removed.
        * kjs/StringObjectThatMasqueradesAsUndefined.h: Removed.
        * kjs/StringPrototype.cpp: Removed.
        * kjs/StringPrototype.h: Removed.
        * kjs/StructureID.cpp: Removed.
        * kjs/StructureID.h: Removed.
        * kjs/completion.h:
        * kjs/interpreter.h:
        * runtime: Added.
        * runtime/ArrayConstructor.cpp: Copied from kjs/ArrayConstructor.cpp.
        * runtime/ArrayConstructor.h: Copied from kjs/ArrayConstructor.h.
        * runtime/ArrayPrototype.cpp: Copied from kjs/ArrayPrototype.cpp.
        * runtime/ArrayPrototype.h: Copied from kjs/ArrayPrototype.h.
        * runtime/BooleanConstructor.cpp: Copied from kjs/BooleanConstructor.cpp.
        * runtime/BooleanConstructor.h: Copied from kjs/BooleanConstructor.h.
        * runtime/BooleanObject.cpp: Copied from kjs/BooleanObject.cpp.
        * runtime/BooleanObject.h: Copied from kjs/BooleanObject.h.
        * runtime/BooleanPrototype.cpp: Copied from kjs/BooleanPrototype.cpp.
        * runtime/BooleanPrototype.h: Copied from kjs/BooleanPrototype.h.
        * runtime/CallData.cpp: Copied from kjs/CallData.cpp.
        * runtime/CallData.h: Copied from kjs/CallData.h.
        * runtime/ClassInfo.h: Copied from kjs/ClassInfo.h.
        * runtime/ConstructData.cpp: Copied from kjs/ConstructData.cpp.
        * runtime/ConstructData.h: Copied from kjs/ConstructData.h.
        * runtime/DateConstructor.cpp: Copied from kjs/DateConstructor.cpp.
        * runtime/DateConstructor.h: Copied from kjs/DateConstructor.h.
        * runtime/DateInstance.cpp: Copied from kjs/DateInstance.cpp.
        * runtime/DateInstance.h: Copied from kjs/DateInstance.h.
        * runtime/DateMath.cpp: Copied from kjs/DateMath.cpp.
        * runtime/DateMath.h: Copied from kjs/DateMath.h.
        * runtime/DatePrototype.cpp: Copied from kjs/DatePrototype.cpp.
        * runtime/DatePrototype.h: Copied from kjs/DatePrototype.h.
        * runtime/Error.cpp: Copied from kjs/Error.cpp.
        * runtime/Error.h: Copied from kjs/Error.h.
        * runtime/ErrorConstructor.cpp: Copied from kjs/ErrorConstructor.cpp.
        * runtime/ErrorConstructor.h: Copied from kjs/ErrorConstructor.h.
        * runtime/ErrorInstance.cpp: Copied from kjs/ErrorInstance.cpp.
        * runtime/ErrorInstance.h: Copied from kjs/ErrorInstance.h.
        * runtime/ErrorPrototype.cpp: Copied from kjs/ErrorPrototype.cpp.
        * runtime/ErrorPrototype.h: Copied from kjs/ErrorPrototype.h.
        * runtime/FunctionConstructor.cpp: Copied from kjs/FunctionConstructor.cpp.
        * runtime/FunctionConstructor.h: Copied from kjs/FunctionConstructor.h.
        * runtime/FunctionPrototype.cpp: Copied from kjs/FunctionPrototype.cpp.
        * runtime/FunctionPrototype.h: Copied from kjs/FunctionPrototype.h.
        * runtime/GlobalEvalFunction.cpp: Copied from kjs/GlobalEvalFunction.cpp.
        * runtime/GlobalEvalFunction.h: Copied from kjs/GlobalEvalFunction.h.
        * runtime/InternalFunction.cpp: Copied from kjs/InternalFunction.cpp.
        * runtime/InternalFunction.h: Copied from kjs/InternalFunction.h.
        * runtime/JSArray.cpp: Copied from kjs/JSArray.cpp.
        * runtime/JSArray.h: Copied from kjs/JSArray.h.
        * runtime/JSCell.cpp: Copied from kjs/JSCell.cpp.
        * runtime/JSCell.h: Copied from kjs/JSCell.h.
        * runtime/JSFunction.cpp: Copied from kjs/JSFunction.cpp.
        * runtime/JSFunction.h: Copied from kjs/JSFunction.h.
        * runtime/JSGlobalObject.cpp: Copied from kjs/JSGlobalObject.cpp.
        * runtime/JSGlobalObject.h: Copied from kjs/JSGlobalObject.h.
        * runtime/JSGlobalObjectFunctions.cpp: Copied from kjs/JSGlobalObjectFunctions.cpp.
        * runtime/JSGlobalObjectFunctions.h: Copied from kjs/JSGlobalObjectFunctions.h.
        * runtime/JSImmediate.cpp: Copied from kjs/JSImmediate.cpp.
        * runtime/JSImmediate.h: Copied from kjs/JSImmediate.h.
        * runtime/JSNotAnObject.cpp: Copied from kjs/JSNotAnObject.cpp.
        * runtime/JSNotAnObject.h: Copied from kjs/JSNotAnObject.h.
        * runtime/JSNumberCell.cpp: Copied from kjs/JSNumberCell.cpp.
        * runtime/JSNumberCell.h: Copied from kjs/JSNumberCell.h.
        * runtime/JSObject.cpp: Copied from kjs/JSObject.cpp.
        * runtime/JSObject.h: Copied from kjs/JSObject.h.
        * runtime/JSString.cpp: Copied from kjs/JSString.cpp.
        * runtime/JSString.h: Copied from kjs/JSString.h.
        * runtime/JSValue.cpp: Copied from kjs/JSValue.cpp.
        * runtime/JSValue.h: Copied from kjs/JSValue.h.
        * runtime/JSVariableObject.cpp: Copied from kjs/JSVariableObject.cpp.
        * runtime/JSVariableObject.h: Copied from kjs/JSVariableObject.h.
        * runtime/JSWrapperObject.cpp: Copied from kjs/JSWrapperObject.cpp.
        * runtime/JSWrapperObject.h: Copied from kjs/JSWrapperObject.h.
        * runtime/MathObject.cpp: Copied from kjs/MathObject.cpp.
        * runtime/MathObject.h: Copied from kjs/MathObject.h.
        * runtime/NativeErrorConstructor.cpp: Copied from kjs/NativeErrorConstructor.cpp.
        * runtime/NativeErrorConstructor.h: Copied from kjs/NativeErrorConstructor.h.
        * runtime/NativeErrorPrototype.cpp: Copied from kjs/NativeErrorPrototype.cpp.
        * runtime/NativeErrorPrototype.h: Copied from kjs/NativeErrorPrototype.h.
        * runtime/NumberConstructor.cpp: Copied from kjs/NumberConstructor.cpp.
        * runtime/NumberConstructor.h: Copied from kjs/NumberConstructor.h.
        * runtime/NumberObject.cpp: Copied from kjs/NumberObject.cpp.
        * runtime/NumberObject.h: Copied from kjs/NumberObject.h.
        * runtime/NumberPrototype.cpp: Copied from kjs/NumberPrototype.cpp.
        * runtime/NumberPrototype.h: Copied from kjs/NumberPrototype.h.
        * runtime/ObjectConstructor.cpp: Copied from kjs/ObjectConstructor.cpp.
        * runtime/ObjectConstructor.h: Copied from kjs/ObjectConstructor.h.
        * runtime/ObjectPrototype.cpp: Copied from kjs/ObjectPrototype.cpp.
        * runtime/ObjectPrototype.h: Copied from kjs/ObjectPrototype.h.
        * runtime/PropertyMap.cpp: Copied from kjs/PropertyMap.cpp.
        * runtime/PropertyMap.h: Copied from kjs/PropertyMap.h.
        * runtime/PropertySlot.cpp: Copied from kjs/PropertySlot.cpp.
        * runtime/PropertySlot.h: Copied from kjs/PropertySlot.h.
        * runtime/PrototypeFunction.cpp: Copied from kjs/PrototypeFunction.cpp.
        * runtime/PrototypeFunction.h: Copied from kjs/PrototypeFunction.h.
        * runtime/PutPropertySlot.h: Copied from kjs/PutPropertySlot.h.
        * runtime/SmallStrings.cpp: Copied from kjs/SmallStrings.cpp.
        * runtime/SmallStrings.h: Copied from kjs/SmallStrings.h.
        * runtime/StringConstructor.cpp: Copied from kjs/StringConstructor.cpp.
        * runtime/StringConstructor.h: Copied from kjs/StringConstructor.h.
        * runtime/StringObject.cpp: Copied from kjs/StringObject.cpp.
        * runtime/StringObject.h: Copied from kjs/StringObject.h.
        * runtime/StringObjectThatMasqueradesAsUndefined.h: Copied from kjs/StringObjectThatMasqueradesAsUndefined.h.
        * runtime/StringPrototype.cpp: Copied from kjs/StringPrototype.cpp.
        * runtime/StringPrototype.h: Copied from kjs/StringPrototype.h.
        * runtime/StructureID.cpp: Copied from kjs/StructureID.cpp.
        * runtime/StructureID.h: Copied from kjs/StructureID.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37938 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Greg Bolsinga <bolsinga@apple.com>
ddkilzer@apple.com [Tue, 28 Oct 2008 21:01:40 +0000 (21:01 +0000)]
2008-10-28  Greg Bolsinga  <bolsinga@apple.com>

        Reviewed by David Kilzer.

        https://bugs.webkit.org/show_bug.cgi?id=2192
        Missing semi-colons in Geoposition.idl

        * page/Geoposition.idl: Add missing semi-colons

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37937 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebKit:
adele@apple.com [Tue, 28 Oct 2008 20:55:13 +0000 (20:55 +0000)]
WebKit:

2008-10-28  Adele Peterson  <adele@apple.com>

        Reviewed by Sam Weinig.

        * English.lproj/Localizable.strings:
        Updated.

WebKit/win:

2008-10-28  Adele Peterson  <adele@apple.com>

        Reviewed by Sam Weinig.

        * English.lproj: Removed.
        * English.lproj/Localizable.strings: Removed.
        * WebKit.vcproj/WebKit.vcproj: Updated to use Localizable.strings in the top directory, to share with the Mac.

WebKitTools:

2008-10-28  Adele Peterson  <adele@apple.com>

        Reviewed by Sam Weinig.

        Specify which Localizable.strings to update since we don't always want to update the file in the same
        directory where we're searching for the strings to localize.

        * Scripts/extract-localizable-strings:
        * Scripts/update-webkit-localizable-strings:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37936 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoSet svn:mime-type to image/png for the new images I just added.
timothy@apple.com [Tue, 28 Oct 2008 20:48:46 +0000 (20:48 +0000)]
Set svn:mime-type to image/png for the new images I just added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37935 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Remove fast/profiler from the skipped list for Tiger since the fix
timothy@apple.com [Tue, 28 Oct 2008 20:42:49 +0000 (20:42 +0000)]
    Remove fast/profiler from the skipped list for Tiger since the fix
        for <rdar://problem/6211578> should make things work.

        <rdar://problem/6316530> Profiler tests fail on Tiger

        Reviewed by Kevin McCullough.

        * platform/mac-tiger/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37934 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoMake the JavaScript profiler opt-in, so it does not slow down JavaScript all the...
timothy@apple.com [Tue, 28 Oct 2008 20:42:34 +0000 (20:42 +0000)]
Make the JavaScript profiler opt-in, so it does not slow down JavaScript all the time.
Make the Profiles panel in the Web Inspector have an enable screen.
Profiling now needs to be enabled before console.profile() works.

WebCore:

2008-10-27  Timothy Hatcher  <timothy@apple.com>

        Make the Profiles panel in the Web Inspector have an enable screen.
        Profiling now needs to be enabled before console.profile() works.

        <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
        not slow down JavaScript all the time

        Reviewed by Darin Adler and Kevin McCullough.

        * English.lproj/localizedStrings.js: New strings.
        * WebCore.base.exp: New and changed exports.
        * WebCore.vcproj/WebCore.vcproj: Add the PanelEnablerView.js file.
        * bindings/js/JSDOMWindowBase.cpp:
        (WebCore::JSDOMWindowBase::supportsProfiling): Call InspectorController:profilerEnabled.
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::InspectorController): Initialize the m_startProfiling
        Timer to call InspectorController::startUserInitiatedProfiling.
        (WebCore::InspectorController::startUserInitiatedProfilingSoon): Start a one-shot timer
        that calls InspectorController::startUserInitiatedProfiling.
        (WebCore::InspectorController::startUserInitiatedProfiling): Recompile all JavaScript
        and enable the profiler if the profiler was not enabled.
        (WebCore::InspectorController::stopUserInitiatedProfiling): Rearrange code for readability.
        (WebCore::InspectorController::enableProfiler): Recompile all the JavaScript functions
        if the skipRecompile argument is false. Call the profilerWasEnabled script function.
        (WebCore::InspectorController::disableProfiler): Recompile all the JavaScript functions.
        Call the profilerWasEnabled script function.
        (WebCore::InspectorController::disableDebugger): Set m_attachDebuggerWhenShown to false,
        so it won't be started later.
        * inspector/InspectorController.h:
        (WebCore::InspectorController::profilerEnabled): Return enabled() && m_profilerEnabled.
        * inspector/front-end/Images/debuggingButtons.png: Remove.
        * inspector/front-end/Images/enableButtons.png: Added.
        * inspector/front-end/Images/profilesSilhouette.png: Added.
        * inspector/front-end/Images/scriptsSilhouette.png: Added.
        * inspector/front-end/PanelEnablerView.js: Added.
        (WebInspector.PanelEnablerView):
        (WebInspector.PanelEnablerView.prototype._enableButtonCicked): Fire the "enable clicked"
        event so listeners can do their thing.
        (WebInspector.PanelEnablerView.prototype._windowResized): Test if the icon should be hidden.
        * inspector/front-end/ProfilesPanel.js:
        (WebInspector.ProfilesPanel): Create the PanelEnablerView and the strings needed for it.
        (WebInspector.ProfilesPanel.prototype.get statusBarItems): Include the enableToggleButton.
        (WebInspector.ProfilesPanel.prototype.profilerWasEnabled): Call reset and populateInterface.
        (WebInspector.ProfilesPanel.prototype.profilerWasDisabled): Call reset.
        (WebInspector.ProfilesPanel.prototype.reset): Call _updateInterface.
        (WebInspector.ProfilesPanel.prototype.setRecordingProfile): Moved in the code, no changes.
        (WebInspector.ProfilesPanel.prototype._updateInterface): Update the toggle button and
        show/hide other buttons. Also show/hide the PanelEnablerView.
        (WebInspector.ProfilesPanel.prototype._enableProfiling): Call _toggleProfiling if not enabled.
        (WebInspector.ProfilesPanel.prototype._toggleProfiling): Call InspectorController's
        disableProfiler or enableProfiler.
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel): Replace the overlay element with a PanelEnablerView. Replace the
        debuggingButton with the enableToggleButton.
        (WebInspector.ScriptsPanel.prototype.get statusBarItems): Replace the debuggingButton with
        the enableToggleButton.
        (WebInspector.ScriptsPanel.prototype._updateDebuggerButtons): Hide/show the pauseOnExceptionButton
        when needed. Replace the overlay element with a PanelEnablerView. Replace the debuggingButton
        with the enableToggleButton.
        (WebInspector.ScriptsPanel.prototype._enableDebugging): Call _toggleDebugging when not enabled.
        (WebInspector.ScriptsPanel.prototype._toggleDebugging): Remove the call to _clearInterface,
        since reset is called from debuggerWasEnabled and debuggerWasDisabled.
        * inspector/front-end/View.js: Inherit from WebInspector.Object.
        * inspector/front-end/WebKit.qrc: Add the PanelEnablerView.js file.
        * inspector/front-end/inspector.css: New styles for the PanelEnablerView.
        * inspector/front-end/inspector.html: Add the PanelEnablerView.js file.
        * inspector/front-end/inspector.js:
        (WebInspector.profilerWasEnabled): Added. Calls the ProfilesPanel.
        (WebInspector.profilerWasDisabled): Ditto.
        * page/Console.cpp:
        (WebCore::Console::error): Remove null check for m_frame, since m_frame isn't used.
        (WebCore::Console::info): Ditto.
        (WebCore::Console::log): Ditto.
        (WebCore::Console::assertCondition): Ditto.
        (WebCore::Console::dirxml): Remove null check for m_frame and use this->page().
        (WebCore::Console::count): Ditto.
        (WebCore::Console::profile): Return early if InspectorController::profilerEnabled is false.
        (WebCore::Console::profileEnd): Ditto.
        (WebCore::Console::warn): Remove null check for m_frame, since m_frame isn't used.
        * page/Settings.cpp:
        (WebCore::Settings::Settings): Remove initialization of m_didInitializeDeveloperExtrasEnabled.
        (WebCore::Settings::setDeveloperExtrasEnabled): Remove code that recompiled functions.
        Now just sets the member boolean.
        * page/Settings.h: Remove m_didInitializeDeveloperExtrasEnabled.

WebKit/mac:

2008-10-28  Timothy Hatcher  <timothy@apple.com>

        Add WebInspector methods to enable the profiler.

        https://bugs.webkit.org/show_bug.cgi?id=21927

        <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
        not slow down JavaScript all the time

        Reviewed by Darin Adler and Kevin McCullough.

        * WebInspector/WebInspector.h:
        * WebInspector/WebInspector.mm:
        (-[WebInspector isJavaScriptProfilingEnabled]): Added. Calls InspectorController::profilerEnabled.
        (-[WebInspector setJavaScriptProfilingEnabled:]): Added. Call InspectorController's disableProfiler
        or enableProfiler methods.

WebKit/win:

2008-10-28  Timothy Hatcher  <timothy@apple.com>

        Add IWebInspector methods to enable the profiler.

        https://bugs.webkit.org/show_bug.cgi?id=21927

        <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
        not slow down JavaScript all the time

        Reviewed by Darin Adler and Kevin McCullough.

        * WebInspector.cpp:
        (WebInspector::isJavaScriptProfilingEnabled): Added. Calls InspectorController::profilerEnabled.
        (WebInspector::setJavaScriptProfilingEnabled): Added. Call InspectorController's disableProfiler
        or enableProfiler methods.
        * WebInspector.h:

WebKitTools:

2008-10-28  Timothy Hatcher  <timothy@apple.com>

        Add support for enabling the profiler, so the profiling tests can continue
        work now that the profiler is not always enabled.

        https://bugs.webkit.org/show_bug.cgi?id=21927

        <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
        not slow down JavaScript all the time

        Reviewed by Darin Adler and Kevin McCullough.

        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
        * DumpRenderTree/LayoutTestController.cpp:
        (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
        (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
        * DumpRenderTree/LayoutTestController.h:
        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
        * DumpRenderTree/mac/DumpRenderTree.mm:
        (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
        * DumpRenderTree/mac/LayoutTestControllerMac.mm:
        (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
        * DumpRenderTree/win/DumpRenderTree.cpp:
        (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
        * DumpRenderTree/win/LayoutTestControllerWin.cpp:
        (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.

LayoutTests:

2008-10-28  Timothy Hatcher  <timothy@apple.com>

        Update profiler tests to opt-in to profiling and clean up the output.

        https://bugs.webkit.org/show_bug.cgi?id=21927

        <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it
        does not slow down JavaScript all the time

        Reviewed by Darin Adler and Kevin McCullough.

        * fast/profiler/anonymous-event-handler-expected.txt:
        * fast/profiler/anonymous-event-handler.html:
        * fast/profiler/anonymous-function-called-from-different-contexts-expected.txt:
        * fast/profiler/anonymous-function-called-from-different-contexts.html:
        * fast/profiler/anonymous-function-calls-built-in-functions-expected.txt:
        * fast/profiler/anonymous-function-calls-built-in-functions.html:
        * fast/profiler/anonymous-function-calls-eval-expected.txt:
        * fast/profiler/anonymous-function-calls-eval.html:
        * fast/profiler/apply-expected.txt:
        * fast/profiler/apply.html:
        * fast/profiler/built-in-function-calls-anonymous-expected.txt:
        * fast/profiler/built-in-function-calls-anonymous.html:
        * fast/profiler/built-in-function-calls-user-defined-function-expected.txt:
        * fast/profiler/built-in-function-calls-user-defined-function.html:
        * fast/profiler/call-expected.txt:
        * fast/profiler/call-nodelist-as-function-expected.txt:
        * fast/profiler/call-nodelist-as-function.html:
        * fast/profiler/call.html:
        * fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope-expected.txt:
        * fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html:
        * fast/profiler/compare-multiple-profiles-expected.txt:
        * fast/profiler/compare-multiple-profiles.html:
        * fast/profiler/constructor-expected.txt:
        * fast/profiler/constructor.html:
        * fast/profiler/dead-time-expected.txt:
        * fast/profiler/dead-time.html:
        * fast/profiler/document-dot-write-expected.txt:
        * fast/profiler/document-dot-write.html:
        * fast/profiler/event-handler-expected.txt:
        * fast/profiler/event-handler.html:
        * fast/profiler/execution-context-and-eval-on-same-line-expected.txt:
        * fast/profiler/execution-context-and-eval-on-same-line.html:
        * fast/profiler/heavy-view-expected.txt:
        * fast/profiler/heavy-view.html:
        * fast/profiler/inline-event-handler-expected.txt:
        * fast/profiler/inline-event-handler.html:
        * fast/profiler/many-calls-in-the-same-scope-expected.txt:
        * fast/profiler/many-calls-in-the-same-scope.html:
        * fast/profiler/multiple-and-different-scoped-anonymous-function-calls-expected.txt:
        * fast/profiler/multiple-and-different-scoped-anonymous-function-calls.html:
        * fast/profiler/multiple-and-different-scoped-function-calls-expected.txt:
        * fast/profiler/multiple-and-different-scoped-function-calls.html:
        * fast/profiler/multiple-frames-expected.txt:
        * fast/profiler/multiple-frames.html:
        * fast/profiler/nested-anonymous-functon-expected.txt:
        * fast/profiler/nested-anonymous-functon.html:
        * fast/profiler/nested-start-and-stop-profiler-expected.txt:
        * fast/profiler/nested-start-and-stop-profiler.html:
        * fast/profiler/no-execution-context-expected.txt:
        * fast/profiler/no-execution-context.html:
        * fast/profiler/one-execution-context-expected.txt:
        * fast/profiler/one-execution-context.html:
        * fast/profiler/profile-calls-in-included-file-expected.txt:
        * fast/profiler/profile-calls-in-included-file.html:
        * fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting-expected.txt:
        * fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting.html:
        * fast/profiler/profiling-from-a-nested-location-expected.txt:
        * fast/profiler/profiling-from-a-nested-location.html:
        * fast/profiler/resources/profiler-test-JS-resources.js:
        (endTest): Remove some whitespace.
        (insertGivenText): Hide the output of this method, sicne it is not important to the test.
        (insertNewText): Ditto.
        (printHeavyProfilesDataWithoutTime): Output plain text an not console.log.
        (printProfilesDataWithoutTime): Ditto.
        (printProfileNodeWithoutTime): Ditto.
        * fast/profiler/simple-event-call-expected.txt:
        * fast/profiler/simple-event-call.html:
        * fast/profiler/simple-no-level-change-expected.txt:
        * fast/profiler/simple-no-level-change.html:
        * fast/profiler/start-and-stop-profiler-multiple-times-expected.txt:
        * fast/profiler/start-and-stop-profiler-multiple-times.html:
        * fast/profiler/start-and-stop-profiling-in-the-same-function-expected.txt:
        * fast/profiler/start-and-stop-profiling-in-the-same-function.html:
        * fast/profiler/start-but-dont-stop-profiling-expected.txt:
        * fast/profiler/start-but-dont-stop-profiling.html:
        * fast/profiler/stop-profiling-after-setTimeout-expected.txt:
        * fast/profiler/stop-profiling-after-setTimeout.html:
        * fast/profiler/stop-then-function-call-expected.txt:
        * fast/profiler/stop-then-function-call.html:
        * fast/profiler/throw-exception-from-eval-expected.txt:
        * fast/profiler/throw-exception-from-eval.html:
        * fast/profiler/two-execution-contexts-expected.txt:
        * fast/profiler/two-execution-contexts.html:
        * fast/profiler/user-defined-function-calls-built-in-functions-expected.txt:
        * fast/profiler/user-defined-function-calls-built-in-functions.html:
        * fast/profiler/window-dot-eval-expected.txt:
        * fast/profiler/window-dot-eval.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37933 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoRename a few methods related to attaching and detaching the debugger. Also adds stub...
timothy@apple.com [Tue, 28 Oct 2008 20:42:11 +0000 (20:42 +0000)]
Rename a few methods related to attaching and detaching the debugger. Also adds stub methods for enabling and disabling the profiler.

WebCore:

2008-10-27  Timothy Hatcher  <timothy@apple.com>

        Rename a few methods related to attaching and detaching the debugger. Also
        adds stub methods for enabling and disabling the profiler.

        * Rename attachDebugger to enableDebugger.
        * Rename detachDebugger to disableDebugger.
        * Rename the debuggerAttached getter to debuggerEnabled.
        * Rename the debuggerAttached callback to debuggerWasEnabled.
        * Rename the debuggerDetached callback to debuggerWasDisabled.

        Reviewed by Darin Adler.

        * WebCore.base.exp:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::InspectorController):
        (WebCore::InspectorController::setWindowVisible):
        (WebCore::InspectorController::windowScriptObjectAvailable):
        (WebCore::InspectorController::close):
        (WebCore::InspectorController::enableProfiler):
        (WebCore::InspectorController::disableProfiler):
        (WebCore::InspectorController::enableDebugger):
        (WebCore::InspectorController::disableDebugger):
        (WebCore::InspectorController::pauseInDebugger):
        (WebCore::InspectorController::resumeDebugger):
        (WebCore::InspectorController::stepOverStatementInDebugger):
        (WebCore::InspectorController::stepIntoStatementInDebugger):
        (WebCore::InspectorController::stepOutOfFunctionInDebugger):
        * inspector/InspectorController.h:
        (WebCore::InspectorController::profilerEnabled):
        (WebCore::InspectorController::debuggerEnabled):
        * inspector/front-end/BreakpointsSidebarPane.js:
        (WebInspector.BreakpointsSidebarPane.prototype.addBreakpoint):
        (WebInspector.BreakpointsSidebarPane.prototype.removeBreakpoint):
        (WebInspector.BreakpointsSidebarPane.prototype._breakpointEnableChanged):
        * inspector/front-end/Object.js:
        * inspector/front-end/ProfilesPanel.js:
        (WebInspector.ProfilesPanel):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel):
        (WebInspector.ScriptsPanel.prototype.get statusBarItems):
        (WebInspector.ScriptsPanel.prototype.debuggerWasEnabled):
        (WebInspector.ScriptsPanel.prototype.debuggerWasDetached):
        (WebInspector.ScriptsPanel.prototype.reset):
        (WebInspector.ScriptsPanel.prototype.canShowResource):
        (WebInspector.ScriptsPanel.prototype._updatePauseOnExceptionsButton):
        (WebInspector.ScriptsPanel.prototype._updateDebuggerButtons):
        (WebInspector.ScriptsPanel.prototype._toggleDebugging):
        * inspector/front-end/View.js:
        * inspector/front-end/inspector.css:
        * inspector/front-end/inspector.html:
        * inspector/front-end/inspector.js:
        (WebInspector.addResource):
        (WebInspector.debuggerWasEnabled):
        (WebInspector.debuggerWasDisabled):

WebKit/mac:

2008-10-27  Timothy Hatcher  <timothy@apple.com>

        Rename a few methods related to attaching and detaching the debugger.

        * Rename attachDebugger to enableDebugger.
        * Rename detachDebugger to disableDebugger.
        * Rename the debuggerAttached getter to debuggerEnabled.

        Reviewed by Darin Adler.

        * WebInspector/WebInspector.mm:
        (-[WebInspector isDebuggingJavaScript]):
        (-[WebInspector startDebuggingJavaScript:]):
        (-[WebInspector stopDebuggingJavaScript:]):

WebKit/win:

2008-10-27  Timothy Hatcher  <timothy@apple.com>

        Rename a few methods related to attaching and detaching the debugger.

        * Rename attachDebugger to enableDebugger.
        * Rename detachDebugger to disableDebugger.
        * Rename the debuggerAttached getter to debuggerEnabled.

        Reviewed by Darin Adler.

        * WebInspector.cpp:
        (WebInspector::isDebuggingJavaScript):
        (WebInspector::toggleDebuggingJavaScript):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37932 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Fix an exception when searching the Resources panel while there
timothy@apple.com [Tue, 28 Oct 2008 20:41:59 +0000 (20:41 +0000)]
    Fix an exception when searching the Resources panel while there
        and resources queued to be added to the list.

        Reviewed by Kevin McCullough.

        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype.searchCanceled): Null check
        the _resourcesTreeElement property.
        (WebInspector.ResourcesPanel.prototype.performSearch): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37931 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 28 Oct 2008 19:14:12 +0000 (19:14 +0000)]
2008-10-28  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Fixed https://bugs.webkit.org/show_bug.cgi?id=21919
        Sampler reports bogus time in op_enter during 3d-raytrace.js

        Fixed a bug where we would pass the incorrect Instruction* during some
        parts of CTI codegen.

        * VM/CTI.cpp:
        (JSC::CTI::privateCompileMainPass):
        (JSC::CTI::privateCompileSlowCases):
        * VM/SamplingTool.cpp:
        (JSC::SamplingTool::run):
        * wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37930 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Kevin McCullough <kmccullough@apple.com>
kmccullough@apple.com [Tue, 28 Oct 2008 17:48:33 +0000 (17:48 +0000)]
2008-10-28  Kevin McCullough  <kmccullough@apple.com>

        Reviewed by Dan Bernstein.

        -Removed unused includes.
        Apparent .4% speedup in Sunspider

        * kjs/JSObject.cpp:
        * kjs/interpreter.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37929 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Pierre-Olivier Latour <pol@apple.com>
simon.fraser@apple.com [Tue, 28 Oct 2008 17:26:58 +0000 (17:26 +0000)]
2008-10-28  Pierre-Olivier Latour  <pol@apple.com>

        Reviewed by Dan Bernstein

        Primary changes in DumpRenderTree:
        - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
        is different from regular font CG anti-aliasing) as font-smoothing settings
        depends on the display and can also be changed by the user
        - Use a new cleared buffer for each test instead of the reusing same one to
        avoid potential result corruption across tests
        - Can now receive the expected pixel hash as a suffix to the test path or
        url as "path'hash"
        - Make sure hash is computed in a endian-independent way
        - Improve the code that sets/restores the screen color profile
        - Make the code more cross-platformy with std::string goodness
        - Added an "on-screen" mode where the snapshot will take into account surfaces
        on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
        reading from the display framebuffer on 10.4. This mode is not active by
        default for performance reason, but must be explicitly activated from the test
        file using the new "testOnscreen()" JS API.

        Primary changes in ImageDiff:
        - Provide a new comparison algorithm that is more tolerant to "acceptable"
        failures (i.e. very small differences in font rendering, which --threshold is
        not really good at handling)
        - Generate normalized intensity-only diff images

        Primary changes in run-webkit-tests:
        - Take advantage of hashes for pixel tests which makes them much faster by
        minimizing image comparisons
        - Removed repaint options as these should be set from within test files using
        JS API
        - Replaced "threshold" option in  by "tolerance" expressed in percents
        - Added more logging when in "verbose" mode

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37928 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Pierre-Olivier Latour <pol@apple.com>
mitz@apple.com [Tue, 28 Oct 2008 17:17:09 +0000 (17:17 +0000)]
2008-10-28  Pierre-Olivier Latour  <pol@apple.com>

        Reviewed by Dan Bernstein.

        https://bugs.webkit.org/show_bug.cgi?id=21821

        Ensure all baseline images are in the right location and delete the ones that aren't needed.

        * editing/inserting/5607069-1-expected.checksum: Removed.
        * editing/inserting/5607069-1-expected.png: Removed.
        * editing/pasteboard/paste-text-013-expected.png: Removed.
        * fast/css/invalid-percentage-property-expected.checksum: Removed.
        * fast/css/invalid-percentage-property-expected.png: Removed.
        * fast/css/text-align-expected.checksum: Removed.
        * fast/css/text-align-expected.png: Removed.
        * fast/selectors/lang-inheritance-expected.checksum: Removed.
        * fast/selectors/lang-inheritance-expected.png: Removed.
        * fast/selectors/lang-inheritance2-expected.checksum: Removed.
        * fast/selectors/lang-inheritance2-expected.png: Removed.
        * fast/selectors/lang-vs-xml-lang-expected.checksum: Removed.
        * fast/selectors/lang-vs-xml-lang-expected.png: Removed.
        * fast/selectors/lang-vs-xml-lang-xhtml-expected.checksum: Removed.
        * fast/selectors/lang-vs-xml-lang-xhtml-expected.png: Removed.
        * platform/mac/fast/css/invalid-percentage-property-expected.checksum: Copied from LayoutTests/fast/css/invalid-percentage-property-expected.checksum.
        * platform/mac/fast/css/invalid-percentage-property-expected.png: Copied from LayoutTests/fast/css/invalid-percentage-property-expected.png.
        * platform/mac/fast/css/text-align-expected.checksum: Copied from LayoutTests/fast/css/text-align-expected.checksum.
        * platform/mac/fast/css/text-align-expected.png: Copied from LayoutTests/fast/css/text-align-expected.png.
        * platform/mac/fast/selectors/lang-inheritance-expected.checksum: Copied from LayoutTests/fast/selectors/lang-inheritance-expected.checksum.
        * platform/mac/fast/selectors/lang-inheritance-expected.png: Copied from LayoutTests/fast/selectors/lang-inheritance-expected.png.
        * platform/mac/fast/selectors/lang-inheritance2-expected.checksum: Copied from LayoutTests/fast/selectors/lang-inheritance2-expected.checksum.
        * platform/mac/fast/selectors/lang-inheritance2-expected.png: Copied from LayoutTests/fast/selectors/lang-inheritance2-expected.png.
        * platform/mac/fast/selectors/lang-vs-xml-lang-expected.checksum: Copied from LayoutTests/fast/selectors/lang-vs-xml-lang-expected.checksum.
        * platform/mac/fast/selectors/lang-vs-xml-lang-expected.png: Copied from LayoutTests/fast/selectors/lang-vs-xml-lang-expected.png.
        * platform/mac/fast/selectors/lang-vs-xml-lang-xhtml-expected.checksum: Copied from LayoutTests/fast/selectors/lang-vs-xml-lang-xhtml-expected.checksum.
        * platform/mac/fast/selectors/lang-vs-xml-lang-xhtml-expected.png: Copied from LayoutTests/fast/selectors/lang-vs-xml-lang-xhtml-expected.png.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37927 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Alp Toker <alp@nuanti.com>
alp@webkit.org [Tue, 28 Oct 2008 16:18:00 +0000 (16:18 +0000)]
2008-10-28  Alp Toker  <alp@nuanti.com>

        GTK+ build fix for older versions of Pango where PANGO_VERSION_CHECK
        isn't defined.

        * platform/graphics/gtk/FontGtk.cpp:
        (WebCore::getDefaultPangoLayout):
        * platform/graphics/gtk/FontPlatformDataPango.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37926 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Mike Hommey <glandium@debian.org>
alp@webkit.org [Tue, 28 Oct 2008 14:30:05 +0000 (14:30 +0000)]
2008-10-28  Mike Hommey  <glandium@debian.org>

        Reviewed by Alp Toker.

        https://bugs.webkit.org/show_bug.cgi?id=21885
        [GTK] libwebkit doesn't link against libpangoft2

        Add pkg-config check for pangoft2 which provides
        pango_fc_font_description_from_pattern() used in the FreeType font
        backend.

        * configure.ac:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37925 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Darin Adler.
ap@webkit.org [Tue, 28 Oct 2008 13:42:34 +0000 (13:42 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=21893
        Character set is incorrect for external scripts in XHTML pages

        <rdar://problem/6317451> Incorrect encoding for text in a popup at http://xpoint.ru/

        Test: fast/encoding/external-script-charset.xhtml

        Expose scriptCharset() function on all ScriptElements, and call it from XML tokenizer.

        * dom/ScriptElement.h:
        * dom/XMLTokenizerLibxml2.cpp:
        (WebCore::XMLTokenizer::endElementNs):
        * dom/XMLTokenizerQt.cpp:
        (WebCore::XMLTokenizer::parseEndElement):
        * html/HTMLScriptElement.h:
        * svg/SVGScriptElement.cpp:
        (WebCore::SVGScriptElement::scriptCharset):
        * svg/SVGScriptElement.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37924 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-28 Alp Toker <alp@nuanti.com>
alp@webkit.org [Tue, 28 Oct 2008 12:53:51 +0000 (12:53 +0000)]
2008-10-28  Alp Toker  <alp@nuanti.com>

        Include copyright license files in the autotools dist target and
        exclude unused zlib headers.

        Change suggested by Mike Hommey.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37923 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-27 Sam Weinig <sam@webkit.org>
weinig@apple.com [Tue, 28 Oct 2008 05:24:13 +0000 (05:24 +0000)]
2008-10-27  Sam Weinig  <sam@webkit.org>

        Reviewed by Maciej Stachowiak.

        Clear the window shell when destroying a page to allow documents
        which have no way of being reached anymore, to be torn down.

        * page/Frame.cpp:
        (WebCore::Frame::pageDestroyed):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37922 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-27 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 28 Oct 2008 02:40:13 +0000 (02:40 +0000)]
2008-10-27  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Maciej Stachowiak.

        Stop discarding CodeBlock samples that can't be charged to a specific
        opcode. Instead, charge the relevant CodeBlock, and provide a footnote
        explaining the situation.

        This will help us tell which CodeBlocks are hot, even if we can't
        identify specific lines of code within the CodeBlocks.

        * VM/SamplingTool.cpp:
        (JSC::ScopeSampleRecord::sample):
        (JSC::compareScopeSampleRecords):
        (JSC::SamplingTool::dump):

        * VM/SamplingTool.h:
        (JSC::ScopeSampleRecord::ScopeSampleRecord):
        (JSC::ScopeSampleRecord::~ScopeSampleRecord):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37919 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-27 Antti Koivisto <antti@apple.com>
antti@apple.com [Tue, 28 Oct 2008 02:21:02 +0000 (02:21 +0000)]
2008-10-27  Antti Koivisto  <antti@apple.com>

        Add a file.

        * blog-files/squirrelfish-link-animated.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37918 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWhoops, did not mean to commit this.
andersca@apple.com [Tue, 28 Oct 2008 01:40:43 +0000 (01:40 +0000)]
Whoops, did not mean to commit this.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37917 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-27 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 28 Oct 2008 01:39:57 +0000 (01:39 +0000)]
2008-10-27  Anders Carlsson  <andersca@apple.com>

        Reviewed by Maciej Stachowiak.

        Use the C++ stream object for JS requests as well.

        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView evaluateJavaScriptPluginRequest:]):
        (-[WebBaseNetscapePluginView destroyStream:reason:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37916 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-27 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 28 Oct 2008 01:31:45 +0000 (01:31 +0000)]
2008-10-27  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Use the C++ stream object in WebBaseNetscapePluginView. Use a HashSet of RefPtrs to keep track of the streams.

        * Plugins/WebBaseNetscapePluginStream.mm:
        (WebNetscapePluginStream::~WebNetscapePluginStream):
        (WebNetscapePluginStream::setPlugin):
        (WebNetscapePluginStream::startStream):
        (WebNetscapePluginStream::destroyStream):
        (WebNetscapePluginStream::destroyStreamWithReason):
        (WebNetscapePluginStream::cancelLoadAndDestroyStreamWithError):
        (WebNetscapePluginStream::deliverData):
        * Plugins/WebBaseNetscapePluginView.h:
        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView stop]):
        (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:DOMElement:]):
        (-[WebBaseNetscapePluginView disconnectStream:]):
        (-[WebBaseNetscapePluginView dealloc]):
        (-[WebBaseNetscapePluginView pluginView:receivedResponse:]):
        (-[WebBaseNetscapePluginView pluginView:receivedData:]):
        (-[WebBaseNetscapePluginView pluginView:receivedError:]):
        (-[WebBaseNetscapePluginView pluginViewFinishedLoading:]):
        (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37915 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-27 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 28 Oct 2008 01:07:26 +0000 (01:07 +0000)]
2008-10-27  Anders Carlsson  <andersca@apple.com>

        Reviewed by Mitz Pettel.

        Move code from dealloc and finalize to the WebNetscapePluginStream destructor.

        * Plugins/WebBaseNetscapePluginStream.h:
        * Plugins/WebBaseNetscapePluginStream.mm:
        (WebNetscapePluginStream::~WebNetscapePluginStream):
        (-[WebBaseNetscapePluginStream dealloc]):
        (-[WebBaseNetscapePluginStream finalize]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37914 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-27 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 28 Oct 2008 01:01:01 +0000 (01:01 +0000)]
2008-10-27  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Get rid of WebNetscapePlugInStreamLoaderClient, the plug-in stream is its own client.

        * Plugins/WebBaseNetscapePluginStream.h:
        * Plugins/WebBaseNetscapePluginStream.mm:
        (WebNetscapePluginStream::WebNetscapePluginStream):
        (-[WebBaseNetscapePluginStream dealloc]):
        (-[WebBaseNetscapePluginStream finalize]):
        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView pluginView:receivedError:]):
        (-[WebBaseNetscapePluginView pluginViewFinishedLoading:]):
        (-[WebBaseNetscapePluginView evaluateJavaScriptPluginRequest:]):
        (-[WebBaseNetscapePluginView destroyStream:reason:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37913 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-27 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 28 Oct 2008 00:43:13 +0000 (00:43 +0000)]
2008-10-27  Anders Carlsson  <andersca@apple.com>

        Reviewed by Darin Adler.

        Change the Obj-C init methods to simply call WebNetscapePluginStream::create.

        * Plugins/WebBaseNetscapePluginStream.h:
        (WebNetscapePluginStream::create):
        * Plugins/WebBaseNetscapePluginStream.mm:
        (-[WebBaseNetscapePluginStream initWithFrameLoader:]):
        (WebNetscapePluginStream::WebNetscapePluginStream):
        (-[WebBaseNetscapePluginStream initWithRequest:plugin:notifyData:sendNotification:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37912 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-27 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 28 Oct 2008 00:18:50 +0000 (00:18 +0000)]
2008-10-27  Anders Carlsson  <andersca@apple.com>

        Reviewed by Kevin Decker.

        Convert more code over to C++.

        * Plugins/WebBaseNetscapePluginStream.h:
        (WebNetscapePluginStream::plugin):
        (WebNetscapePluginStream::setRequestURL):
        Convert to C++.

        * Plugins/WebBaseNetscapePluginStream.mm:
        (WebNetscapePluginStream::start):
        (WebNetscapePluginStream::stop):
        Ditto.

        (WebNetscapePluginStream::startStreamWithResponse):
        Ditto.

        (-[WebBaseNetscapePluginStream startStreamWithResponse:]):
        Call the C++ version.

        (-[WebBaseNetscapePluginStream impl]):
        New accessor for the C++ class.

        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView pluginView:receivedData:]):
        (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):
        (-[WebBaseNetscapePluginView destroyStream:reason:]):
        Call the C++ methods.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37911 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-27 Antti Koivisto <antti@apple.com>
antti@apple.com [Mon, 27 Oct 2008 23:25:23 +0000 (23:25 +0000)]
2008-10-27  Antti Koivisto  <antti@apple.com>

        Add some svg files.

        * blog-files/cubes-7.svg: Added.
        * blog-files/number-morph.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37908 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-27 Darin Adler <darin@apple.com>
darin@apple.com [Mon, 27 Oct 2008 22:57:50 +0000 (22:57 +0000)]
2008-10-27  Darin Adler  <darin@apple.com>

        * StringsNotToBeLocalized.txt: Updated for recent changes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37907 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoReviewed by Kevin Ollivier.
kevino@webkit.org [Mon, 27 Oct 2008 22:15:11 +0000 (22:15 +0000)]
Reviewed by Kevin Ollivier.

Update the active state as well as the focused state as both need to be true
for the caret to be drawn.

https://bugs.webkit.org/show_bug.cgi?id=21900

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37906 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2008-10-27 Darin Adler <darin@apple.com>
darin@apple.com [Mon, 27 Oct 2008 22:10:27 +0000 (22:10 +0000)]
2008-10-27  Darin Adler  <darin@apple.com>

        * template/en/custom/attachment/reviewform.html.tmpl: Leave out the
        comment if it's untouched.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37905 268f45cc-cd09-0410-ab3c-d52691b4dbfc