WebKit-https.git
11 years ago2008-11-06 Julien Chaffraix <jchaffraix@pleyo.com>
jchaffraix@webkit.org [Fri, 7 Nov 2008 00:47:12 +0000 (00:47 +0000)]
2008-11-06  Julien Chaffraix  <jchaffraix@pleyo.com>

        Reviewed by Maciej Stachowiak.

        Bug 21106: .in format discussed changes
        https://bugs.webkit.org/show_bug.cgi?id=21106

        Include the namespace into the interfaceName.

        * dom/make_names.pl: Do not append the namespace when
        using the interfaceName.
        * html/HTMLTagNames.in: Added namespace prefix for custom
        interfaceName.
        * svg/svgtags.in: Ditto.

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

11 years ago2008-11-06 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Fri, 7 Nov 2008 00:18:07 +0000 (00:18 +0000)]
2008-11-06  Cameron Zwarich  <zwarich@apple.com>

        Reviewed by Geoff Garen.

        Move the remaining files in the kjs subdirectory of JavaScriptCore to
        a new parser subdirectory, and remove the kjs subdirectory entirely.

        JavaScriptCore:

        * AllInOneFile.cpp:
        * DerivedSources.make:
        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.vcproj/jsc/jsc.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * JavaScriptCoreSources.bkl:
        * VM/CodeBlock.h:
        * VM/ExceptionHelpers.cpp:
        * VM/SamplingTool.h:
        * bytecompiler/CodeGenerator.h:
        * jsc.pro:
        * jscore.bkl:
        * kjs: Removed.
        * kjs/NodeInfo.h: Removed.
        * kjs/Parser.cpp: Removed.
        * kjs/Parser.h: Removed.
        * kjs/ResultType.h: Removed.
        * kjs/SourceCode.h: Removed.
        * kjs/SourceProvider.h: Removed.
        * kjs/grammar.y: Removed.
        * kjs/keywords.table: Removed.
        * kjs/lexer.cpp: Removed.
        * kjs/lexer.h: Removed.
        * kjs/nodes.cpp: Removed.
        * kjs/nodes.h: Removed.
        * kjs/nodes2string.cpp: Removed.
        * parser: Added.
        * parser/Grammar.y: Copied from kjs/grammar.y.
        * parser/Keywords.table: Copied from kjs/keywords.table.
        * parser/Lexer.cpp: Copied from kjs/lexer.cpp.
        * parser/Lexer.h: Copied from kjs/lexer.h.
        * parser/NodeInfo.h: Copied from kjs/NodeInfo.h.
        * parser/Nodes.cpp: Copied from kjs/nodes.cpp.
        * parser/Nodes.h: Copied from kjs/nodes.h.
        * parser/Parser.cpp: Copied from kjs/Parser.cpp.
        * parser/Parser.h: Copied from kjs/Parser.h.
        * parser/ResultType.h: Copied from kjs/ResultType.h.
        * parser/SourceCode.h: Copied from kjs/SourceCode.h.
        * parser/SourceProvider.h: Copied from kjs/SourceProvider.h.
        * parser/nodes2string.cpp: Copied from kjs/nodes2string.cpp.
        * pcre/pcre.pri:
        * pcre/pcre_exec.cpp:
        * runtime/FunctionConstructor.cpp:
        * runtime/JSActivation.h:
        * runtime/JSFunction.h:
        * runtime/JSGlobalData.cpp:
        * runtime/JSGlobalObjectFunctions.cpp:
        * runtime/JSObject.cpp:
        (JSC::JSObject::toNumber):
        * runtime/RegExp.cpp:

        WebCore:

        * ForwardingHeaders/kjs: Removed.
        * ForwardingHeaders/kjs/Parser.h: Removed.
        * ForwardingHeaders/kjs/SavedBuiltins.h: Removed.
        * ForwardingHeaders/kjs/SourceCode.h: Removed.
        * ForwardingHeaders/kjs/SourceProvider.h: Removed.
        * ForwardingHeaders/parser: Added.
        * ForwardingHeaders/parser/Parser.h: Copied from ForwardingHeaders/kjs/Parser.h.
        * ForwardingHeaders/parser/SourceCode.h: Copied from ForwardingHeaders/kjs/SourceCode.h.
        * ForwardingHeaders/parser/SourceProvider.h: Copied from ForwardingHeaders/kjs/SourceProvider.h.
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * bindings/js/StringSourceProvider.h:
        * bindings/js/WorkerScriptController.cpp:
        * bridge/NP_jsobject.cpp:
        * bridge/jni/jni_jsobject.mm:
        * bridge/testbindings.pro:
        * inspector/JavaScriptDebugServer.cpp:

        WebKit/mac:

        * ForwardingHeaders/kjs: Removed.
        * ForwardingHeaders/kjs/SavedBuiltins.h: Removed.

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

11 years ago2008-11-06 Sam Weinig <sam@webkit.org>
weinig@apple.com [Fri, 7 Nov 2008 00:17:12 +0000 (00:17 +0000)]
2008-11-06  Sam Weinig  <sam@webkit.org>

        Reviewed by Mark Rowe.

        Fix test that would fail if it had the wrong set of plugins.

        * plugins/plugin-javascript-access.html:

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

11 years ago BUILD WAS NOT BROKEN: Rolling r38189 back in.
ddkilzer@apple.com [Thu, 6 Nov 2008 23:46:40 +0000 (23:46 +0000)]
    BUILD WAS NOT BROKEN: Rolling r38189 back in.

WebCore:

        BUILD WAS NOT BROKEN: Rolling r38189 back in.

        Please perform a clean build if you see crashes.

WebKit/mac:

        BUILD WAS NOT BROKEN: Rolling r38189 back in.

        Please perform a clean build if you see crashes.

WebKitTools:

        BUILD WAS NOT BROKEN: Rolling r38189 back in.

        Please perform a clean build if you see crashes.

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

11 years ago BUILD FIX: Backed out r38189 since it apparently broke the world.
ddkilzer@apple.com [Thu, 6 Nov 2008 23:10:10 +0000 (23:10 +0000)]
    BUILD FIX: Backed out r38189 since it apparently broke the world.

WebCore:

        BUILD FIX: Backed out r38189 since it apparently broke the world.

WebKit/mac:

        BUILD FIX: Backed out r38189 since it apparently broke the world.

WebKitTools:

        BUILD FIX: Backed out r38189 since it apparently broke the world.

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

11 years agoFix indentation.
ddkilzer@apple.com [Thu, 6 Nov 2008 22:23:43 +0000 (22:23 +0000)]
Fix indentation.

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

11 years agoBug 22112: if a <body> has contenteditable=true, it should report a writable AXValue
cfleizach@apple.com [Thu, 6 Nov 2008 22:16:27 +0000 (22:16 +0000)]
Bug 22112: if a <body> has contenteditable=true, it should report a writable AXValue
https://bugs.webkit.org/show_bug.cgi?id=22112

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

11 years ago Windows build fix after r38196
aroben@apple.com [Thu, 6 Nov 2008 22:03:49 +0000 (22:03 +0000)]
    Windows build fix after r38196

        * JavaScriptCore.vcproj/jsc/jsc.vcproj: Added bytecompiler/ to the
        include path.

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

11 years ago2008-11-06 Sam Weinig <sam@webkit.org>
weinig@apple.com [Thu, 6 Nov 2008 21:55:29 +0000 (21:55 +0000)]
2008-11-06  Sam Weinig  <sam@webkit.org>

        Reviewed by Alice Liu.

        Fix failed assert at launch caused by unintialized data member on the mac.

        * platform/network/mac/NetworkStateNotifierMac.cpp:
        (WebCore::NetworkStateNotifier::NetworkStateNotifier):

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

11 years ago2008-11-06 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Thu, 6 Nov 2008 21:47:58 +0000 (21:47 +0000)]
2008-11-06  Steve Falkenburg  <sfalken@apple.com>

        Fix failed assert at launch caused by unintialized data member.

        Reviewed by Maciej Stachowiak.

        * platform/network/win/NetworkStateNotifierWin.cpp:
        (WebCore::NetworkStateNotifier::NetworkStateNotifier):

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

11 years ago2008-11-06 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Thu, 6 Nov 2008 21:43:42 +0000 (21:43 +0000)]
2008-11-06  Cameron Zwarich  <zwarich@apple.com>

        Rubber-stamped by Sam Weinig.

        Create a new bytecompiler subdirectory of JavaScriptCore and move some
        relevant files to it.

        * AllInOneFile.cpp:
        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * JavaScriptCoreSources.bkl:
        * VM/CodeGenerator.cpp: Removed.
        * VM/CodeGenerator.h: Removed.
        * bytecompiler: Added.
        * bytecompiler/CodeGenerator.cpp: Copied from VM/CodeGenerator.cpp.
        * bytecompiler/CodeGenerator.h: Copied from VM/CodeGenerator.h.
        * bytecompiler/LabelScope.h: Copied from kjs/LabelScope.h.
        * jscore.bkl:
        * kjs/LabelScope.h: Removed.

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

11 years ago2008-11-06 John Sullivan <sullivan@apple.com>
sullivan@apple.com [Thu, 6 Nov 2008 21:35:30 +0000 (21:35 +0000)]
2008-11-06  John Sullivan  <sullivan@apple.com>

        Eliminated one of the two booleans tracking whether zoom was text-only, to avoid future problems.

        Reviewed by Adam Roben

        * WebView.h:
        removed m_zoomMultiplierIsTextOnly

        * WebView.cpp:
        (WebView::WebView):
        removed initialization of m_zoomMultiplierIsTextOnly
        (WebView::setZoomMultiplier):
        use m_page->settings()->setZoomsTextOnly() instead of setting m_zoomMultiplierIsTextOnly
        (WebView::zoomMultiplier):
        use m_page->settings()->zoomsTextOnly() instead of reading m_zoomMultiplierIsTextOnly

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

11 years ago2008-11-06 John Sullivan <sullivan@apple.com>
sullivan@apple.com [Thu, 6 Nov 2008 21:22:19 +0000 (21:22 +0000)]
2008-11-06  John Sullivan  <sullivan@apple.com>

        Fixed problem with switching between text-only zoom and full-content zoom

        There were two booleans tracking whether zoom was text-only, one in WebCore settings
        and one in WebViewPrivate. Fixed by eliminating the one in WebViewPrivate.

        Reviewed by Adam Roben

        * WebView/WebView.mm:
        remove declaration of zoomMultiplierIsTextOnly instance variable in WebViewPrivate
        (-[WebViewPrivate init]):
        removed initialization of zoomMultiplierIsTextOnly
        (-[WebView textSizeMultiplier]):
        call [self _realZoomMultiplierIsTextOnly] instead of accessing WebViewPrivate instance variable
        (-[WebView _setZoomMultiplier:isTextOnly:]):
        update WebCore settings rather than WebViewPrivate instance variable
        (-[WebView _zoomMultiplier:]):
        call [self _realZoomMultiplierIsTextOnly] instead of accessing WebViewPrivate instance variable
        (-[WebView _realZoomMultiplierIsTextOnly]):
        return value from WebCore settings instead of accessing WebViewPrivate instance variable
        (-[WebView pageSizeMultiplier]):
        call [self _realZoomMultiplierIsTextOnly] instead of accessing WebViewPrivate instance variable

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

11 years ago2008-11-06 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 6 Nov 2008 20:55:31 +0000 (20:55 +0000)]
2008-11-06  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Antti Koivisto

        https://bugs.webkit.org/show_bug.cgi?id=22109
        Make <input type="range"> work correctly with transforms

        Test: fast/forms/slider-transformed.html

        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::defaultEventHandler):
            Compute a correct local point when the event is retargeted
        * rendering/RenderSlider.cpp:
        (WebCore::HTMLSliderThumbElement::defaultEventHandler):
            Compute m_initialClickPoint in slider-local coords, so that
            deltas are computed correctly with transforms
        (WebCore::RenderSlider::mouseEventIsInThumb):
            Rather than computing an absolute bounds for the thumb,
            convert the point to local coords and compare it with the border box.

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

11 years ago Windows clean build fix after r38155
aroben@apple.com [Thu, 6 Nov 2008 20:36:05 +0000 (20:36 +0000)]
    Windows clean build fix after r38155

        Rubberstamped by Cameron Zwarich.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Update
        the post-build event for the move of create_hash_table out of kjs/.

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

11 years ago2008-11-06 Adele Peterson <adele@apple.com>
adele@apple.com [Thu, 6 Nov 2008 20:35:52 +0000 (20:35 +0000)]
2008-11-06  Adele Peterson  <adele@apple.com>

        Reviewed by Adam Roben.

        Add support for a WebKitZoomsTextOnly preference.

        * Interfaces/IWebPreferences.idl:
        * WebPreferenceKeysPrivate.h:
        * WebPreferences.cpp:
        (WebPreferences::setZoomsTextOnly):
        (WebPreferences::zoomsTextOnly):
        * WebPreferences.h:

        * WebView.cpp:
        (WebView::canMakeTextLarger): Consider the zoomsTextOnly setting when computing this.
        (WebView::makeTextLarger): ditto.
        (WebView::canMakeTextSmaller): ditto.
        (WebView::makeTextSmaller): ditto.
        (WebView::canMakeTextStandardSize):
        Don't consider the setting in this case since we need to reset both text zoom and page zoom regardless of the setting.
        (WebView::makeTextStandardSize):
        (WebView::notifyPreferencesChanged): Set the WebCore settings to match the WebPreference for WebKitZoomsTextOnly.

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

11 years ago2008-11-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 19:30:34 +0000 (19:30 +0000)]
2008-11-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Darin Adler.

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

        Bug uncovered during RVCT port in functions not used. get_lt() and
        get_gt() takes only one argument - remove second argument where
        applicable.

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

11 years ago Bug 21810: Remove use of static C++ objects that are destroyed at exit time...
ddkilzer@apple.com [Thu, 6 Nov 2008 19:28:45 +0000 (19:28 +0000)]
    Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)

WebCore:

2008-11-06  Greg Bolsinga  <bolsinga@apple.com>

        Reviewed by Darin Adler.

        Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
        https://bugs.webkit.org/show_bug.cgi?id=21810

        * bindings/js/GCController.cpp:
        (WebCore::gcController): Changed to leak an object to avoid an exit-time destructor.
        * bindings/js/JSDOMBinding.cpp:
        (WebCore::wrapperSet): Ditto
        * bindings/js/JSInspectedObjectWrapper.cpp:
        (WebCore::wrappers): Ditto
        * bindings/js/JSInspectorCallbackWrapper.cpp:
        (WebCore::wrappers): Ditto
        * bridge/runtime_root.cpp:
        (JSC::Bindings::rootObjectSet): Ditto
        * css/CSSMutableStyleDeclaration.cpp:
        (WebCore::CSSMutableStyleDeclaration::removeProperty): Ditto
        * css/CSSPrimitiveValue.cpp:
        (WebCore::CSSPrimitiveValue::cssText): Ditto
        * css/CSSSelector.cpp:
        (WebCore::CSSSelector::extractPseudoType): Ditto
        * css/CSSStyleSelector.cpp:
        (WebCore::screenEval): Ditto
        (WebCore::printEval): Ditto
        * dom/DOMImplementation.cpp:
        (WebCore::isSVG10Feature): Ditto
        (WebCore::isSVG11Feature): Ditto
        (WebCore::DOMImplementation::isXMLMIMEType): Ditto
        * dom/Document.cpp:
        (WebCore::Document::hasPrefixNamespaceMismatch): Ditto
        * dom/ScriptElement.cpp:
        (WebCore::isSupportedJavaScriptLanguage): Ditto
        * editing/ApplyStyleCommand.cpp:
        (WebCore::styleSpanClassString): Ditto
        * editing/HTMLInterchange.cpp:
        (WebCore::): Ditto
        * editing/IndentOutdentCommand.cpp:
        (WebCore::indentBlockquoteString): Ditto
        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::isInterchangeNewlineNode): Ditto
        (WebCore::isInterchangeConvertedSpaceSpan): Ditto
        * editing/htmlediting.cpp:
        (WebCore::stringWithRebalancedWhitespace): Ditto
        (WebCore::nonBreakingSpaceString): Ditto
        * editing/markup.cpp:
        (WebCore::appendAttributeValue): Ditto
        (WebCore::appendEscapedContent): Ditto
        (WebCore::shouldAddNamespaceAttr): Ditto
        (WebCore::appendNamespace): Ditto
        (WebCore::appendStartMarkup): Ditto
        (WebCore::createMarkup): Ditto
        * html/HTMLButtonElement.cpp:
        (WebCore::HTMLButtonElement::type): Ditto
        * html/HTMLElement.cpp:
        (WebCore::HTMLElement::isRecognizedTagName): Ditto
        (WebCore::inlineTagList): Ditto
        (WebCore::blockTagList): Ditto
        * html/HTMLFieldSetElement.cpp:
        (WebCore::HTMLFieldSetElement::type): Ditto
        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::type): Ditto
        * html/HTMLKeygenElement.cpp:
        (WebCore::HTMLKeygenElement::type): Ditto
        * html/HTMLLegendElement.cpp:
        (WebCore::HTMLLegendElement::type): Ditto
        * html/HTMLOptGroupElement.cpp:
        (WebCore::HTMLOptGroupElement::type): Ditto
        * html/HTMLOptionElement.cpp:
        (WebCore::HTMLOptionElement::type): Ditto
        * html/HTMLParser.cpp:
        (WebCore::HTMLParser::getNode): Ditto
        (WebCore::HTMLParser::isHeaderTag): Ditto
        (WebCore::HTMLParser::isResidualStyleTag): Ditto
        (WebCore::HTMLParser::isAffectedByResidualStyle): Ditto
        * html/HTMLSelectElement.cpp:
        (WebCore::HTMLSelectElement::type): Ditto
        * html/HTMLTextAreaElement.cpp:
        (WebCore::HTMLTextAreaElement::type): Ditto
        * inspector/InspectorController.cpp:
        (WebCore::platform): Ditto
        * inspector/JavaScriptDebugServer.cpp:
        (WebCore::JavaScriptDebugServer::shared): Ditto
        * inspector/JavaScriptProfile.cpp:
        (WebCore::profileCache): Ditto
        * inspector/JavaScriptProfileNode.cpp:
        (WebCore::profileNodeCache): Ditto
        * loader/FrameLoader.cpp:
        (WebCore::localSchemes): Ditto
        * loader/appcache/ApplicationCacheStorage.cpp:
        (WebCore::cacheStorage): Ditto
        * loader/archive/ArchiveFactory.cpp:
        (WebCore::archiveMIMETypes): Ditto
        * loader/icon/IconDatabase.cpp:
        (WebCore::IconDatabase::defaultDatabaseFilename): Ditto
        * page/EventHandler.cpp:
        (WebCore::EventHandler::dragState): Ditto
        * page/Frame.cpp:
        (WebCore::createRegExpForLabels): Ditto
        (WebCore::keepAliveSet): Ditto
        * page/Page.cpp:
        (WebCore::Page::groupName): Ditto
        * page/SecurityOrigin.cpp:
        (WebCore::isDefaultPortForProtocol): Ditto
        (WebCore::SecurityOrigin::databaseIdentifier): Ditto
        * page/mac/FrameMac.mm:
        (WebCore::regExpForLabels): Ditto
        * platform/KURL.cpp:
        (WebCore::blankURL): Ditto
        * platform/graphics/FontCache.cpp:
        (WebCore::alternateFamilyName): Ditto
        * platform/graphics/mac/FontCacheMac.mm:
        (WebCore::FontCache::getSimilarFontPlatformData): Ditto
        (WebCore::FontCache::getLastResortFallbackFont): Ditto
        * platform/mac/ScrollbarThemeMac.mm:
        (WebCore::ScrollbarTheme::nativeTheme): Ditto
        * platform/mac/ThemeMac.mm:
        (WebCore::platformTheme): Ditto
        * platform/mac/ThreadCheck.mm:
        (WebCoreReportThreadViolation): Ditto
        * platform/network/NetworkStateNotifier.cpp:
        (WebCore::networkStateNotifier): Ditto
        * platform/network/mac/FormDataStreamMac.mm:
        (WebCore::getStreamFormDataMap): Ditto
        (WebCore::getStreamResourceHandleMap): Ditto
        * platform/network/mac/ResourceResponseMac.mm:
        (WebCore::ResourceResponse::platformLazyInit): Ditto
        * platform/text/TextEncoding.cpp:
        (WebCore::TextEncoding::isJapanese): Ditto
        * rendering/RenderBlock.cpp:
        (WebCore::continuationOutlineTable): Ditto
        * rendering/RenderCounter.cpp:
        (WebCore::counterMaps): Ditto
        * rendering/RenderFlexibleBox.cpp:
        (WebCore::RenderFlexibleBox::layoutVerticalBox): Ditto
        * rendering/RenderListItem.cpp:
        (WebCore::RenderListItem::markerText): Ditto
        * rendering/RenderScrollbarTheme.cpp:
        (WebCore::RenderScrollbarTheme::renderScrollbarTheme): Ditto
        * rendering/RenderThemeMac.mm:
        (WebCore::RenderThemeMac::systemFont): Ditto
        * rendering/bidi.cpp:
        (WebCore::RenderBlock::checkLinesForTextOverflow): Ditto
        * rendering/style/RenderStyle.cpp:
        (WebCore::RenderStyle::initialDashboardRegions): Ditto
        (WebCore::RenderStyle::noneDashboardRegions): Ditto
        * storage/LocalStorage.cpp:
        (WebCore::localStorageMap): Ditto
        * svg/SVGAnimateMotionElement.cpp:
        (WebCore::SVGAnimateMotionElement::rotateMode): Ditto
        * svg/SVGAnimationElement.cpp:
        (WebCore::SVGAnimationElement::calcMode): Ditto
        (WebCore::SVGAnimationElement::attributeType): Ditto
        (WebCore::SVGAnimationElement::isAdditive): Ditto
        (WebCore::SVGAnimationElement::isAccumulated): Ditto
        * svg/SVGLangSpace.cpp:
        (WebCore::SVGLangSpace::xmlspace): Ditto
        * svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::contentScriptType): Ditto
        (WebCore::SVGSVGElement::contentStyleType): Ditto
        * svg/SVGStyleElement.cpp:
        (WebCore::SVGStyleElement::type): Ditto
        (WebCore::SVGStyleElement::media): Ditto
        * svg/SVGTextContentElement.cpp:
        (WebCore::SVGTextContentElement::parseMappedAttribute): Ditto
        * svg/animation/SVGSMILElement.cpp:
        (WebCore::SVGSMILElement::parseClockValue): Ditto
        (WebCore::SVGSMILElement::restart): Ditto
        (WebCore::SVGSMILElement::fill): Ditto
        (WebCore::SVGSMILElement::repeatCount): Ditto
        (WebCore::SVGSMILElement::notifyDependentsIntervalChanged): Ditto
        * svg/graphics/SVGResource.cpp:
        (WebCore::clientMap): Ditto
        * svg/graphics/SVGResourceMarker.cpp:
        (WebCore::SVGResourceMarker::draw): Ditto
        * xml/XMLHttpRequest.cpp:
        (WebCore::preflightResultCache): Ditto
        (WebCore::isSafeRequestHeader): Ditto
        (WebCore::isOnAccessControlResponseHeaderWhitelist): Ditto
        * xml/XPathExpressionNode.cpp:
        (WebCore::XPath::Expression::evaluationContext): Ditto
        * xml/XPathParser.cpp:
        (WebCore::XPath::isAxisName): Ditto
        (WebCore::XPath::isNodeTypeName): Ditto
        * xml/XPathValue.cpp:
        (WebCore::XPath::Value::toNodeSet): Ditto

WebKit/mac:

2008-11-06  Greg Bolsinga  <bolsinga@apple.com>

        Reviewed by Darin Adler.

        Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
        https://bugs.webkit.org/show_bug.cgi?id=21810

        * History/WebBackForwardList.mm:
        (backForwardLists): Changed to leak an object to avoid an exit-time destructor.
        * History/WebHistoryItem.mm:
        (historyItemWrappers): Ditto
        * Misc/WebStringTruncator.m:
        (fontFromNSFont): Ditto
        * Plugins/WebBaseNetscapePluginStream.mm:
        (streams): Ditto
        * WebView/WebView.mm:
        (aeDescFromJSValue): Ditto

WebKitTools:

2008-11-06  Greg Bolsinga  <bolsinga@apple.com>

        Reviewed by Darin Adler.

        Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
        https://bugs.webkit.org/show_bug.cgi?id=21810

        Remove .o files from the exclude list that have had their exit-time destructors removed.

        * Scripts/check-for-exit-time-destructors:

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

11 years ago2008-11-06 Tor Arne Vestbø <tavestbo@trolltech.com>
vestbo@webkit.org [Thu, 6 Nov 2008 19:04:46 +0000 (19:04 +0000)]
2008-11-06  Tor Arne Vestbø  <tavestbo@trolltech.com>

        Rubber-stamped by Simon Hausmann.

        Remove a bunch of unused methods in the Qt media element implementation

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

11 years ago2008-11-06 Alp Toker <alp@nuanti.com>
alp@webkit.org [Thu, 6 Nov 2008 18:47:44 +0000 (18:47 +0000)]
2008-11-06  Alp Toker  <alp@nuanti.com>

        Reviewed by Cameron Zwarich.

        https://bugs.webkit.org/show_bug.cgi?id=22033
        [GTK] CTI/Linux r38064 crashes; JIT requires executable memory

        Mark pages allocated by the FastMalloc mmap code path executable with
        PROT_EXEC. This fixes crashes seen on CPUs and kernels that enforce
        non-executable memory (like ExecShield on Fedora Linux) when the JIT
        is enabled.

        This patch does not resolve the issue on debug builds so affected
        developers may still need to pass --disable-jit to configure.

        * wtf/TCSystemAlloc.cpp:
        (TryMmap):
        (TryDevMem):
        (TCMalloc_SystemRelease):

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

11 years ago2008-11-05 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 6 Nov 2008 18:42:24 +0000 (18:42 +0000)]
2008-11-05  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dave Hyatt

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

        Implement absoluteToLocal() to convert a point from absolute
        to local coordinates, optionally taking transforms into account.

        Use this to set offsetX/offsetY in mouse events, thus fixing
        offsetX/offsetY in events on elements with transforms.

        Test: fast/events/offsetX-offsetY.html

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

11 years ago2008-11-06 Peter Gal <galpeter@inf.u-szeged.hu>
cwzwarich@webkit.org [Thu, 6 Nov 2008 18:41:27 +0000 (18:41 +0000)]
2008-11-06  Peter Gal  <galpeter@inf.u-szeged.hu>

        Reviewed by Cameron Zwarich.

        Bug 22099: Make the Qt port build the JSC shell in the correct place
        <https://bugs.webkit.org/show_bug.cgi?id=22099>

        Adjust include paths and build destination dir for the 'jsc' executable
        in the Qt build.

        * jsc.pro:

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

11 years ago2008-11-06 Alp Toker <alp@nuanti.com>
alp@webkit.org [Thu, 6 Nov 2008 18:41:18 +0000 (18:41 +0000)]
2008-11-06  Alp Toker  <alp@nuanti.com>

        Reviewed by Cameron Zwarich.

        https://bugs.webkit.org/show_bug.cgi?id=22067
        [GTK] Sun Java plugin segfaults at PluginPackage::createPackage()

        null-check symbols loaded from plugin modules, initialize the function
        table (like Win already does) and update it with the latest
        additions. Adjust whitespace for easy diff'ing with the Win port code
        from which it was forked.

        This fixes crashes with libnspr4.so and any other plugins that don't
        provide the symbols we expect.

        * plugins/gtk/PluginPackageGtk.cpp:
        (WebCore::PluginPackage::fetchInfo):
        (WebCore::PluginPackage::load):

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

11 years ago2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 18:38:57 +0000 (18:38 +0000)]
2008-11-06  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Simon Hausmann.

        Removed dead (and broken) code from an ancient Symbian port.

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

11 years ago2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 18:38:48 +0000 (18:38 +0000)]
2008-11-06  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Simon Hausmann.

        Use QLibrary as PlatformModule when compiling with Qt for S60.

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

11 years ago2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 18:38:41 +0000 (18:38 +0000)]
2008-11-06  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Simon Hausmann.

        Implemented the block allocation on Symbian through heap allocation.

        Unfortunately there is no way to allocate virtual memory. The Posix
        layer provides mmap() but no anonymous mapping. So this is a very slow
        solution but it should work as a start.

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

11 years ago2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 18:38:31 +0000 (18:38 +0000)]
2008-11-06  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Simon Hausmann.

        Compile fix for Symbian.
        The snprintf function is defined in stdio.h, the inclusion
        of snprintf.h inside this PLATFORM(SYMBIAN) block does not
        compile.

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

11 years ago2008-11-06 Alp Toker <alp@nuanti.com>
alp@webkit.org [Thu, 6 Nov 2008 18:36:21 +0000 (18:36 +0000)]
2008-11-06  Alp Toker  <alp@nuanti.com>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=22047
        GTK: Add support for multiple file selection in the file upload control

        Implemented with GtkFileChooser.

        * WebCoreSupport/ChromeClientGtk.cpp:
        (WebKit::ChromeClient::runOpenPanel):

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

11 years agoRemoved misplaced //fixme comment that doesn't belong there.
hausmann@webkit.org [Thu, 6 Nov 2008 18:12:29 +0000 (18:12 +0000)]
Removed misplaced //fixme comment that doesn't belong there.
Noticed by Darin

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

11 years ago2008-11-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 18:03:31 +0000 (18:03 +0000)]
2008-11-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Simon Hausmann.

        Borrow some math functions from the MSVC port to the build with the
        RVCT compiler.

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

11 years ago2008-11-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 18:03:23 +0000 (18:03 +0000)]
2008-11-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Simon Hausmann.

        Include strings.h for strncasecmp().
        This is needed for compilation inside Symbian and it is also
        confirmed by the man-page on Linux.

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

11 years ago2008-11-06 Norbert Leser <norbert.leser@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 17:48:13 +0000 (17:48 +0000)]
2008-11-06  Norbert Leser  <norbert.leser@nokia.com>

        Reviewed by Simon Hausmann.

        Implemented currentThreadStackBase for Symbian.

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

11 years ago2008-11-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 17:48:06 +0000 (17:48 +0000)]
2008-11-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Simon Hausmann.

        RVCT does not support tm_gmtoff field, so disable that code just like
        for MSVC.

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

11 years ago2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 17:47:58 +0000 (17:47 +0000)]
2008-11-06  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Simon Hausmann.

        Use the GCC defines of the WTF_ALIGN* macros for the RVCT and the
        MINSCW compiler.

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

11 years ago2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 17:42:38 +0000 (17:42 +0000)]
2008-11-06  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Simon Hausmann.

        Define capabilities of the SYMBIAN platform. Some of the system
        headers are actually dependent on RVCT.

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

11 years ago2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 17:42:31 +0000 (17:42 +0000)]
2008-11-06  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Simon Hausmann.

        Add missing stddef.h header needed for compilation in Symbian.

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

11 years ago2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 16:50:26 +0000 (16:50 +0000)]
2008-11-06  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Simon Hausmann.

        Define PLATFORM(UNIX) for S60. Effectively WebKit on S60 is compiled
        on top of the Posix layer.

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

11 years ago2008-11-06 Norbert Leser <norbert.leser@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 16:50:19 +0000 (16:50 +0000)]
2008-11-06  Norbert Leser  <norbert.leser@nokia.com>

        Reviewed by Simon Hausmann.

        Added __SYMBIAN32__ condition for defining PLATFORM(SYMBIAN).

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

11 years ago2008-11-06 Ariya Hidayat <ariya.hidayat@trolltech.com>
hausmann@webkit.org [Thu, 6 Nov 2008 16:39:18 +0000 (16:39 +0000)]
2008-11-06  Ariya Hidayat  <ariya.hidayat@trolltech.com>

        Reviewed by Simon Hausmann.

        Added WINSCW compiler define for Symbian S60.

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

11 years ago2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 16:39:03 +0000 (16:39 +0000)]
2008-11-06  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Simon Hausmann.

        Added COMPILER(RVCT) to detect the ARM RVCT compiler used in the Symbian environment.

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

11 years ago2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 16:38:54 +0000 (16:38 +0000)]
2008-11-06  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Simon Hausmann.

        Disable webkit plugins for Symbian.

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

11 years ago2008-11-06 Tor Arne Vestbø <tavestbo@trolltech.com>
vestbo@webkit.org [Thu, 6 Nov 2008 12:15:13 +0000 (12:15 +0000)]
2008-11-06  Tor Arne Vestbø  <tavestbo@trolltech.com>

        Fix build break in debug mode when XSLT is not enabled

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

11 years ago2008-11-06 Tor Arne Vestbø <tavestbo@trolltech.com>
vestbo@webkit.org [Thu, 6 Nov 2008 12:14:49 +0000 (12:14 +0000)]
2008-11-06  Tor Arne Vestbø  <tavestbo@trolltech.com>

        Reviewed by Simon Hausmann.

        Repaint video on UpdateRequest to prevent recursive painting

        Calling QWidget::render() to update the video generates a paint
        event that's then picked up by the event filter once more :(

        We're really only interested in updates from Phonon, which we
        get through the UpdateRequest for each new frame.

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

11 years ago2008-11-06 Simon Hausmann <hausmann@webkit.org>
hausmann@webkit.org [Thu, 6 Nov 2008 11:46:43 +0000 (11:46 +0000)]
2008-11-06  Simon Hausmann  <hausmann@webkit.org>

        Fix the Qt build, adjust include paths after move of jsc.pro.

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

11 years ago2008-11-06 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Thu, 6 Nov 2008 10:21:50 +0000 (10:21 +0000)]
2008-11-06  Cameron Zwarich  <zwarich@apple.com>

        Rubber-stamped by Sam Weinig.

        Move kjs/Shell.cpp to the top level of the JavaScriptCore directory and
        rename it to jsc.cpp to reflect the name of the binary compiled from it.

        * GNUmakefile.am:
        * JavaScriptCore.vcproj/jsc/jsc.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * jsc.cpp: Copied from kjs/Shell.cpp.
        * jsc.pro:
        * jscore.bkl:
        * kjs/Shell.cpp: Removed.

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

11 years ago2008-11-06 Simon Hausmann <hausmann@webkit.org>
hausmann@webkit.org [Thu, 6 Nov 2008 09:50:36 +0000 (09:50 +0000)]
2008-11-06  Simon Hausmann  <hausmann@webkit.org>

        Reviewed by Tor Arne Vestbø.

        Added a unit tests for QWebFrame::metaData().

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

11 years ago2008-11-06 Simon Hausmann <hausmann@webkit.org>
hausmann@webkit.org [Thu, 6 Nov 2008 09:49:10 +0000 (09:49 +0000)]
2008-11-06  Simon Hausmann  <hausmann@webkit.org>

        Reviewed by Tor Arne Vestbø.

        Improved documentation for QWebFrame::metaData().

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

11 years ago2008-11-05 Sriram Yadavalli <sriram.yadavalli@nokia.com>
hausmann@webkit.org [Thu, 6 Nov 2008 09:49:01 +0000 (09:49 +0000)]
2008-11-05  Sriram Yadavalli <sriram.yadavalli@nokia.com>

        Reviewed by Simon Hausmann.

        Added QWebFrame::metaData() to provide a way in the public API
        to retrieve the values of the <meta> tags.

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

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

11 years ago2008-11-06 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Thu, 6 Nov 2008 09:22:54 +0000 (09:22 +0000)]
2008-11-06  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Fix the WebCore build for some platforms by changing build scripts to
        account for the recent move of the create_hash_table script from the kjs
        subdirectory of JavaScriptCore to the root directory.

        * WebCore.pro:
        * make-generated-sources.sh:

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

11 years ago2008-11-06 Alp Toker <alp@nuanti.com>
alp@webkit.org [Thu, 6 Nov 2008 08:58:53 +0000 (08:58 +0000)]
2008-11-06  Alp Toker  <alp@nuanti.com>

        GTK build fix for r38155. create_hash_table was moved out of kjs/

        * GNUmakefile.am:

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

11 years ago2008-11-05 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Thu, 6 Nov 2008 08:55:35 +0000 (08:55 +0000)]
2008-11-05  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Correct the date on previous ChangeLogs.

        * ChangeLog:
        * JavaScriptCore/ChangeLog:

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

11 years ago2008-11-05 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Thu, 6 Nov 2008 08:53:06 +0000 (08:53 +0000)]
2008-11-05  Cameron Zwarich  <zwarich@apple.com>

        Rubber-stamped by Sam Weinig.

        Move create_hash_table and jsc.pro out of the kjs directory and into the
        root directory of JavaScriptCore.

        JavaScriptCore:

        * DerivedSources.make:
        * JavaScriptCore.pri:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * create_hash_table: Copied from kjs/create_hash_table.
        * jsc.pro: Copied from kjs/jsc.pro.
        * kjs/create_hash_table: Removed.
        * kjs/jsc.pro: Removed.
        * make-generated-sources.sh:

        * WebKit.pro:

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

11 years ago2008-11-06 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Thu, 6 Nov 2008 08:18:35 +0000 (08:18 +0000)]
2008-11-06  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Fix a case-sensitivity issue in Mac forwarding headers. Strangely
        enough, this does not always cause the build to break, even with a
        case-sensitive filesystem.

        * ForwardingHeaders/runtime/Interpreter.h:

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

11 years ago2008-11-05 Alp Toker <alp@nuanti.com>
alp@webkit.org [Thu, 6 Nov 2008 07:28:44 +0000 (07:28 +0000)]
2008-11-05  Alp Toker  <alp@nuanti.com>

        GTK build script tweak.

        Make the path relative since it will appear in all -I compiler flags.
        Long argument lists cause bizarre slowdowns in libtool and result
        in huge build logs.

        * Scripts/webkitdirs.pm:

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

11 years ago2008-11-05 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Thu, 6 Nov 2008 07:24:10 +0000 (07:24 +0000)]
2008-11-05  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Fix the JavaScriptGlue build. This wouldn't show up unless one was
        doing a clean build, because changes in JavaScriptCore don't cause
        anything in JavaScriptGlue to get rebuilt.

        * JSRun.cpp:
        * JSUtils.h:
        * JavaScriptGlue.cpp:

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

11 years ago Reviewed by Maciej Stachowiak.
ap@webkit.org [Thu, 6 Nov 2008 07:07:23 +0000 (07:07 +0000)]
    Reviewed by Maciej Stachowiak.

        https://bugs.webkit.org/show_bug.cgi?id=22083
        MessageEvents cannot be used across threads

        * dom/Event.idl:
        * dom/MessageEvent.idl:
        Add a NoStaticTables attribute - MessageEvent is used in worker threads, so static tables
        won't work.

        * dom/MessagePort.cpp:
        (WebCore::MessagePort::EventData::EventData):
        (WebCore::MessagePort::EventData::~EventData):
        (WebCore::MessagePort::clone):
        (WebCore::MessagePort::postMessage):
        (WebCore::MessagePort::startConversation):
        (WebCore::MessagePort::dispatchMessages):
        * dom/MessagePort.h:
        Don't create a MessageEvent until dispatch time - messages can be posted across threads,
        but MessageEvents are tied to the thread that they were created in.

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

11 years ago Reviewed by Darin Adler.
ap@webkit.org [Thu, 6 Nov 2008 07:04:47 +0000 (07:04 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=22066
        Implement Worker global object

        * DerivedSources.make: Added WorkerLocation IDL and JSWorkerContext lookup table.

        * WebCore.xcodeproj/project.pbxproj: Only adding files to Mac project for now, as Worker
        support is still disabled by default.

        * bindings/js/JSDOMGlobalObject.cpp: (WebCore::toJSDOMGlobalObject): Implemented Worker case.

        * bindings/js/JSMessageChannelConstructor.cpp:
        (WebCore::JSMessageChannelConstructor::JSMessageChannelConstructor): Ditto.

        * bindings/js/JSWorkerContext.cpp: Added.
        * bindings/js/JSWorkerContext.h: Added.
        * bindings/js/WorkerScriptController.cpp: Added.
        * bindings/js/WorkerScriptController.h: Added.
        * dom/WorkerContext.cpp: Added.
        * dom/WorkerContext.h: Added.
        Added an implementation of worker contexts.

        * dom/DedicatedWorker.cpp:
        (WebCore::DedicatedWorker::startLoad): Fixed a lifetime bug I saw on my tests.
        (WebCore::DedicatedWorker::notifyFinished): Create a thread. Currently, object ownership
        and lifetime is not clear at all.

        * dom/WorkerLocation.cpp: Added.
        * dom/WorkerLocation.h: Added.
        * dom/WorkerLocation.idl: Added.
        Added WorkerLocation, which is one of the objects available to workers.

        * dom/WorkerThread.cpp: Added.
        (WebCore::WorkerThread::WorkerThread):
        (WebCore::WorkerThread::start):
        (WebCore::WorkerThread::workerThreadStart):
        (WebCore::WorkerThread::workerThread):
        * dom/WorkerThread.h: Added.
        (WebCore::WorkerThread::create):
        Run some code in a worker thread (no message loop yet).

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

11 years agoAttempt to fix the GTK build bot after the latest kjs -> runtime move:
alp@webkit.org [Thu, 6 Nov 2008 04:38:05 +0000 (04:38 +0000)]
Attempt to fix the GTK build bot after the latest kjs -> runtime move:
Remove the built products directory completely rather than using distclean.

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

11 years agoJavaScriptCore:
barraclough@apple.com [Thu, 6 Nov 2008 03:26:30 +0000 (03:26 +0000)]
JavaScriptCore:

2008-11-05  Gavin Barraclough  <barraclough@apple.com>

        Reviewed by Maciej Stachowiak.

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

        Fix for bug where the callee incorrectly recieves the caller's lexical
        global object as this, rather than its own.  Implementation closely
        follows the spec, passing jsNull, checking in the callee and replacing
        with the global object where necessary.

        * VM/CTI.cpp:
        (JSC::CTI::compileOpCall):
        * VM/Machine.cpp:
        (JSC::Machine::cti_op_call_NotJSFunction):
        (JSC::Machine::cti_op_call_eval):
        * runtime/JSCell.h:
        (JSC::JSValue::toThisObject):
        * runtime/JSImmediate.cpp:
        (JSC::JSImmediate::toThisObject):
        * runtime/JSImmediate.h:

LayoutTests:

2008-11-05  Gavin Barraclough  <barraclough@apple.com>

        Reviewed by Maciej Stachowiak.

        Previosly the test 'cross-site-this' checked that the second level deep method called
        across frames recieved the correct this pointer, when no base object is provided.

        Test updated so that it check that the code in the child frame, and both the first
        and second functions called in the parent frame recieve the correct this values.

        * fast/frames/cross-site-this.html:
        * fast/frames/resources/cross-site-this-helper.html:

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

11 years ago2008-11-05 Antti Koivisto <antti@apple.com>
antti@apple.com [Thu, 6 Nov 2008 02:40:54 +0000 (02:40 +0000)]
2008-11-05  Antti Koivisto  <antti@apple.com>

        Reviewed by Dan Bernstein.

        https://bugs.webkit.org/show_bug.cgi?id=22093
        Don't keep decoded stylesheet data in cache

        <rdar://problem/6343588>

        Don't keep decoded stylesheet string around in the cache. There are no sharing benefits and
        performance benefits are negligible (no measured PLT impact). Reduces memory consumption of
        style sheet data in cache by 2/3 in common case.

        * loader/CachedCSSStyleSheet.cpp:
        (WebCore::CachedCSSStyleSheet::sheetText):
        (WebCore::CachedCSSStyleSheet::data):
        * loader/CachedCSSStyleSheet.h:

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

11 years agowx build fix after Operations.cpp move.
kevino@webkit.org [Thu, 6 Nov 2008 02:02:36 +0000 (02:02 +0000)]
wx build fix after Operations.cpp move.

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

11 years ago Bug 21596: WebCore::Cache should use parsed Pragma and Cache-Control headers
ddkilzer@apple.com [Thu, 6 Nov 2008 02:00:19 +0000 (02:00 +0000)]
    Bug 21596: WebCore::Cache should use parsed Pragma and Cache-Control headers

        <https://bugs.webkit.org/show_bug.cgi?id=21596>

        Reviewed by Antti.

        This patch adds real parsing for Pragma and Cache-Control headers
        based on RFC 2616, Sections 2, 14.9 and 14.32.  It also adds some
        new String and StringImpl methods to assist with the parsing.

        * loader/Cache.cpp:
        (WebCore::Cache::dumpStats): Added.  Convenience method for dumping
        stats outside of Safari.
        * loader/Cache.h: Declared dumpStats().

        * loader/CachedResource.cpp:
        (WebCore::CachedResource::mustRevalidate): Updated to use
        ResourceResponseBase::cacheControlDirectives() instead of substring
        matching of the entire Cache-Control header.

        * loader/loader.cpp:
        (WebCore::Loader::Host::didReceiveResponse): Used the local
        'resource' variable instead of 'request->cachedResource()'.

        * platform/network/ResourceResponseBase.cpp:
        (WebCore::ResourceResponseBase::setHTTPHeaderField): Set
        m_haveParsedCacheControlHeader to false when a "Cache-Control"
        header is set.  Ditto for m_haveParsedPragmaHeader and "Pragma".
        (WebCore::ResourceResponseBase::parsePragmaDirectives): Added.
        Provides parsed Pragma header directives.
        (WebCore::ResourceResponseBase::parseCacheControlDirectives): Added.
        Provides parsed Cache-Control header directives.
        (WebCore::isCacheHeaderSeparator): Added.  Returns true if a
        character is a separator character per RFC 2616, Section 2.2, else
        returns false.
        (WebCore::isControlCharacter): Added.  Returns true if a character
        is a control character per RFC 2616 Section 2.2, else returns false.
        (WebCore::trimToNextSeparator): Added.  Returns a string truncated
        at the first separator character per isCacheHeaderSeparator().
        (WebCore::parseCacheHeader): Added.  This is the main parsing
        routine for both Cache-Control and Pragma headers.
        (WebCore::parseCacheControlDirectiveValues): Added.  This splits
        certain Cache-Control directive values into a vector of strings.
        * platform/network/ResourceResponseBase.h:
        (WebCore::CacheControlDirectiveMap): Added.  Typedef for a parsed
        Cache-Control header.
        (WebCore::PragmaDirectiveMap): Added.  Typedef for a parsed Pragma
        header.
        (WebCore::ResourceResponseBase::parsePragmaDirectives): Added
        declaration.
        (WebCore::ResourceResponseBase::parseCacheControlDirectives): Ditto.
        (WebCore::ResourceResponseBase::m_haveParsedCacheControlHeader):
        Added.  Boolean to describe when the "Cache-Control" header needs to
        be reparsed.
        (WebCore::ResourceResponseBase::m_haveParsedPragmaHeader):  Added.
        Boolean to describe when the "Pragma" header needs to be reparsed.
        (WebCore::ResourceResponseBase::m_cacheControlDirectiveMap): Added.
        Cached map to hold parsed "Cache-Control" headers.
        (WebCore::ResourceResponseBase::m_pragmaDirectiveMap): Added.
        Cached map to hold parsed "Pragma" headers.

        * platform/text/PlatformString.h:
        (WebCore::String::find): Added.  Returns the first match based on
        the character-matching function pointer passed in.
        (WebCore::String::removeCharacters): Added declaration.
        (WebCore::find): Added.  Inline method that takes a character-
        matching function pointer.  Called by StringImpl::find().
        * platform/text/String.cpp:
        (WebCore::String::removeCharacters): Added.  Calls
        StringImpl::removeCharacters().
        * platform/text/StringImpl.cpp:
        (WebCore::StringImpl::removeCharacters): Added.  Returns a string
        with all characters removed that match the character-matching
        function pointer passed in.  If there is no change to the string, it
        returns itself.  Based heavily on StringImpl::simplifyWhitespace().
        (WebCore::StringImpl::find): Added.  Calls WebCore::find().
        * platform/text/StringImpl.h:
        (WebCore::FindMatchFunctionPtr): Added.  Typedef for a character-
        matching function pointer.
        (WebCore::StringImpl::removeCharacters): Added declaration.
        (WebCore::StringImpl::find): Ditto.

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

11 years agoWebCore:
justin.garcia@apple.com [Thu, 6 Nov 2008 01:48:04 +0000 (01:48 +0000)]
WebCore:

2008-11-05  Justin Garcia  <justin.garcia@apple.com>

        Reviewed by Beth Dakin.

        <rdar://problem/5480736> In Mail and Gmail, copied indented text pastes with line break

        As a rule, we don't allow merges out of blockquotes.  In the bug, we are inserting a text node
        between two blockquotes.  Because the start merge moves the text node into a blockquote, when we
        determine whether or not we should do the end merge, it incorrectly appears as though the end merge
        is merging out of a blockquote.  The fix is to determine whether or not we should do the end merge
        before we do the start merge, so that the start merge doesn't effect our decision.

        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplaceSelectionCommand::ReplaceSelectionCommand): Initialize the new boolean.
        (WebCore::ReplaceSelectionCommand::mergeEndIfNeeded): Moved code from doApply() here for clarity.
        (WebCore::ReplaceSelectionCommand::doApply): Set m_shouldMergeEnd before we do the start merge.
        * editing/ReplaceSelectionCommand.h: Added m_shouldMergeEnd.

LayoutTests:

2008-11-05  Justin Garcia  <justin.garcia@apple.com>

        Reviewed by Beth Dakin.

        <rdar://problem/5480736> In Mail and Gmail, copied indented text pastes with line break

        * editing/pasteboard/5480736-expected.txt: Added.
        * editing/pasteboard/5480736.html: Added.

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

11 years ago2008-11-05 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 6 Nov 2008 01:08:11 +0000 (01:08 +0000)]
2008-11-05  Anders Carlsson  <andersca@apple.com>

        Reviewed by Mark Rowe.

        Keep track of which plug-in host architecture would be needed for a given plug-in package.

        * Plugins/WebNetscapePluginPackage.h:
        * Plugins/WebNetscapePluginPackage.m:
        (-[WebNetscapePluginPackage _initWithPath:]):
        * WebKitPrefix.h:

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

11 years ago2008-11-05 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Thu, 6 Nov 2008 00:41:49 +0000 (00:41 +0000)]
2008-11-05  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Speculatively fix the Windows build, even though these changes may not
        actually matter for anything in the build, because the Windows bots are
        behind.

        * WebCore.vcproj/WebCore.vcproj:

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

11 years ago2008-11-05 Cameron <zwarich@apple.com>
cwzwarich@webkit.org [Thu, 6 Nov 2008 00:30:42 +0000 (00:30 +0000)]
2008-11-05  Cameron  <zwarich@apple.com>

        Not reviewed.

        Fix the Qt build.

        * bridge/qt/qt_class.cpp:
        * bridge/qt/qt_runtime.h:

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

11 years ago2008-11-05 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Thu, 6 Nov 2008 00:00:05 +0000 (00:00 +0000)]
2008-11-05  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Fix the build for case-sensitive build systems and wxWindows.

        * JavaScriptCoreSources.bkl:
        * kjs/create_hash_table:

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

11 years ago2008-11-05 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Wed, 5 Nov 2008 23:48:18 +0000 (23:48 +0000)]
2008-11-05  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Fix the build for case-sensitive build systems.

        * JavaScriptCoreSources.bkl:
        * kjs/Shell.cpp:
        * runtime/Interpreter.cpp:
        * runtime/JSArray.cpp:

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

11 years ago2008-11-05 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Wed, 5 Nov 2008 23:37:21 +0000 (23:37 +0000)]
2008-11-05  Cameron Zwarich  <zwarich@apple.com>

        Not reviewed.

        Fix the build for case-sensitive build systems.

        * API/JSBase.cpp:
        * API/JSObjectRef.cpp:
        * runtime/CommonIdentifiers.h:
        * runtime/Identifier.cpp:
        * runtime/InitializeThreading.cpp:
        * runtime/InternalFunction.h:
        * runtime/JSString.h:
        * runtime/Lookup.h:
        * runtime/PropertyNameArray.h:
        * runtime/PropertySlot.h:
        * runtime/StructureID.cpp:
        * runtime/StructureID.h:
        * runtime/UString.cpp:

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

11 years ago2008-11-05 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Wed, 5 Nov 2008 23:21:32 +0000 (23:21 +0000)]
2008-11-05  Cameron Zwarich  <zwarich@apple.com>

        Rubber-stamped by Sam Weinig.

        Move more files to the runtime subdirectory of JavaScriptCore.

        JavaScriptCore:

        * API/APICast.h:
        * API/JSBase.cpp:
        * API/JSCallbackObject.cpp:
        * API/JSClassRef.cpp:
        * API/JSClassRef.h:
        * API/JSStringRefCF.cpp:
        * API/JSValueRef.cpp:
        * API/OpaqueJSString.cpp:
        * API/OpaqueJSString.h:
        * AllInOneFile.cpp:
        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * JavaScriptCoreSources.bkl:
        * VM/CodeBlock.h:
        * VM/CodeGenerator.cpp:
        * VM/Machine.cpp:
        * VM/RegisterFile.h:
        * debugger/Debugger.h:
        * kjs/SourceProvider.h:
        * kjs/TypeInfo.h: Removed.
        * kjs/collector.cpp: Removed.
        * kjs/collector.h: Removed.
        * kjs/completion.h: Removed.
        * kjs/create_hash_table:
        * kjs/identifier.cpp: Removed.
        * kjs/identifier.h: Removed.
        * kjs/interpreter.cpp: Removed.
        * kjs/interpreter.h: Removed.
        * kjs/lexer.cpp:
        * kjs/lexer.h:
        * kjs/lookup.cpp: Removed.
        * kjs/lookup.h: Removed.
        * kjs/nodes.cpp:
        * kjs/nodes.h:
        * kjs/operations.cpp: Removed.
        * kjs/operations.h: Removed.
        * kjs/protect.h: Removed.
        * kjs/regexp.cpp: Removed.
        * kjs/regexp.h: Removed.
        * kjs/ustring.cpp: Removed.
        * kjs/ustring.h: Removed.
        * pcre/pcre_exec.cpp:
        * profiler/CallIdentifier.h:
        * profiler/Profile.h:
        * runtime/ArrayConstructor.cpp:
        * runtime/ArrayPrototype.cpp:
        * runtime/ArrayPrototype.h:
        * runtime/Collector.cpp: Copied from kjs/collector.cpp.
        * runtime/Collector.h: Copied from kjs/collector.h.
        * runtime/CollectorHeapIterator.h:
        * runtime/Completion.h: Copied from kjs/completion.h.
        * runtime/ErrorPrototype.cpp:
        * runtime/Identifier.cpp: Copied from kjs/identifier.cpp.
        * runtime/Identifier.h: Copied from kjs/identifier.h.
        * runtime/InitializeThreading.cpp:
        * runtime/Interpreter.cpp: Copied from kjs/interpreter.cpp.
        * runtime/Interpreter.h: Copied from kjs/interpreter.h.
        * runtime/JSCell.h:
        * runtime/JSGlobalData.cpp:
        * runtime/JSGlobalData.h:
        * runtime/JSLock.cpp:
        * runtime/JSNumberCell.cpp:
        * runtime/JSNumberCell.h:
        * runtime/JSObject.cpp:
        * runtime/JSValue.h:
        * runtime/Lookup.cpp: Copied from kjs/lookup.cpp.
        * runtime/Lookup.h: Copied from kjs/lookup.h.
        * runtime/MathObject.cpp:
        * runtime/NativeErrorPrototype.cpp:
        * runtime/NumberPrototype.cpp:
        * runtime/Operations.cpp: Copied from kjs/operations.cpp.
        * runtime/Operations.h: Copied from kjs/operations.h.
        * runtime/PropertyMapHashTable.h:
        * runtime/Protect.h: Copied from kjs/protect.h.
        * runtime/RegExp.cpp: Copied from kjs/regexp.cpp.
        * runtime/RegExp.h: Copied from kjs/regexp.h.
        * runtime/RegExpConstructor.cpp:
        * runtime/RegExpObject.h:
        * runtime/RegExpPrototype.cpp:
        * runtime/SmallStrings.h:
        * runtime/StringObjectThatMasqueradesAsUndefined.h:
        * runtime/StructureID.cpp:
        * runtime/StructureID.h:
        * runtime/StructureIDTransitionTable.h:
        * runtime/SymbolTable.h:
        * runtime/TypeInfo.h: Copied from kjs/TypeInfo.h.
        * runtime/UString.cpp: Copied from kjs/ustring.cpp.
        * runtime/UString.h: Copied from kjs/ustring.h.
        * wrec/CharacterClassConstructor.h:
        * wrec/WREC.h:

        WebCore:

        * ForwardingHeaders/kjs/collector.h: Removed.
        * ForwardingHeaders/kjs/completion.h: Removed.
        * ForwardingHeaders/kjs/identifier.h: Removed.
        * ForwardingHeaders/kjs/interpreter.h: Removed.
        * ForwardingHeaders/kjs/lookup.h: Removed.
        * ForwardingHeaders/kjs/operations.h: Removed.
        * ForwardingHeaders/kjs/protect.h: Removed.
        * ForwardingHeaders/kjs/ustring.h: Removed.
        * ForwardingHeaders/runtime/Collector.h: Copied from ForwardingHeaders/kjs/collector.h.
        * ForwardingHeaders/runtime/Completion.h: Copied from ForwardingHeaders/kjs/completion.h.
        * ForwardingHeaders/runtime/Identifier.h: Copied from ForwardingHeaders/kjs/identifier.h.
        * ForwardingHeaders/runtime/Interpreter.h: Copied from ForwardingHeaders/kjs/interpreter.h.
        * ForwardingHeaders/runtime/Lookup.h: Copied from ForwardingHeaders/kjs/lookup.h.
        * ForwardingHeaders/runtime/Operations.h: Copied from ForwardingHeaders/kjs/operations.h.
        * ForwardingHeaders/runtime/Protect.h: Copied from ForwardingHeaders/kjs/protect.h.
        * ForwardingHeaders/runtime/UString.h: Copied from ForwardingHeaders/kjs/ustring.h.
        * bindings/js/GCController.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/JSDOMBinding.h:
        * bindings/js/JSDOMWindowBase.h:
        * bindings/js/JSEventListener.h:
        * bindings/js/ScheduledAction.h:
        * bindings/js/ScriptController.cpp:
        * bindings/js/ScriptController.h:
        * bindings/objc/WebScriptObject.mm:
        * bindings/scripts/CodeGeneratorJS.pm:
        * bridge/NP_jsobject.cpp:
        * bridge/c/c_class.cpp:
        * bridge/jni/jni_class.cpp:
        * bridge/jni/jni_jsobject.mm:
        * bridge/npruntime.cpp:
        * bridge/runtime_root.h:
        * history/CachedPage.h:
        * html/CanvasRenderingContext2D.cpp:
        * html/HTMLCanvasElement.cpp:
        * inspector/InspectorController.cpp:
        * inspector/JavaScriptCallFrame.cpp:
        * page/Console.cpp:
        * page/Page.cpp:
        * platform/text/AtomicString.cpp:
        * platform/text/PlatformString.h:

        WebKit/mac:

        * ForwardingHeaders/kjs/collector.h: Removed.
        * ForwardingHeaders/kjs/identifier.h: Removed.
        * ForwardingHeaders/kjs/interpreter.h: Removed.
        * ForwardingHeaders/kjs/lookup.h: Removed.
        * ForwardingHeaders/kjs/operations.h: Removed.
        * ForwardingHeaders/kjs/protect.h: Removed.
        * ForwardingHeaders/runtime/Interpreter.h: Copied from ForwardingHeaders/kjs/interpreter.h.
        * WebView/WebScriptDebugDelegate.mm:

        WebKit/wx:

        * WebFrame.cpp:
        * WebView.cpp:

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

11 years ago2008-11-05 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 5 Nov 2008 23:19:56 +0000 (23:19 +0000)]
2008-11-05  Anders Carlsson  <andersca@apple.com>

        Fix 64-bit build.

        * DumpRenderTree/mac/DumpRenderTree.mm:
        (setDefaultsToConsistentValuesForTesting):

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

11 years ago Reviewed by John Sullivan.
mitz@apple.com [Wed, 5 Nov 2008 20:51:52 +0000 (20:51 +0000)]
    Reviewed by John Sullivan.

        - make the {protocol,proxyType} argument of
          WebURLProtectionSpace::initWith{Proxy}Host actually work and fix
          assertion failures.

        * WebURLProtectionSpace.cpp:
        (WebURLProtectionSpace::initWithHost): The BString comparisons were
        applying the BString==BSTR operator to a right hand side that was
        actually a WCHAR string. Fixed by using BStrings on both sides.
        (WebURLProtectionSpace::initWithProxyHost): Ditto.

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

11 years agoWebCore:
weinig@apple.com [Wed, 5 Nov 2008 20:03:26 +0000 (20:03 +0000)]
WebCore:

2008-11-05  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        Fix https://bugs.webkit.org/show_bug.cgi?id=22085
        The Plugin JS object should expose item() and namedItem() methods to match Firefox

        * bindings/js/JSPluginCustom.cpp:
        (WebCore::JSPlugin::nameGetter):
        * plugins/Plugin.cpp:
        (WebCore::Plugin::namedItem):
        * plugins/Plugin.h:
        * plugins/Plugin.idl:

LayoutTests:

2008-11-05  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        Update tests for https://bugs.webkit.org/show_bug.cgi?id=22085
        The Plugin JS object should expose item() and namedItem() methods to match Firefox

        * fast/dom/Window/window-properties-expected.txt:
        * plugins/plugin-javascript-access-expected.txt:
        * plugins/plugin-javascript-access.html:

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

11 years ago2008-11-05 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Wed, 5 Nov 2008 19:51:35 +0000 (19:51 +0000)]
2008-11-05  Geoffrey Garen  <ggaren@apple.com>

        Suggested by Darin Adler.

        Removed two copy constructors that the compiler can generate for us
        automatically.

        * VM/LabelID.h:
        (JSC::LabelID::setLocation):
        (JSC::LabelID::offsetFrom):
        (JSC::LabelID::ref):
        (JSC::LabelID::refCount):
        * kjs/LabelScope.h:

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

11 years ago Reviewed by Maciej Stachowiak.
ap@webkit.org [Wed, 5 Nov 2008 19:19:02 +0000 (19:19 +0000)]
    Reviewed by Maciej Stachowiak.

        https://bugs.webkit.org/show_bug.cgi?id=21060
        Range#surroundContents incorrectly throws BAD_BOUNDARYPOINTS_ERR

        Test: fast/dom/Range/surroundContents-check-boundary-points.html

        * dom/Range.cpp: (WebCore::Range::surroundContents): Fix BAD_BOUNDARYPOINTS_ERR checks.

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

11 years ago2008-11-05 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 5 Nov 2008 18:42:29 +0000 (18:42 +0000)]
2008-11-05  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Remove two global destructors from CoreTextController.

        * platform/graphics/mac/CoreTextController.cpp:
        (WebCore::CoreTextController::collectCoreTextRunsForCharacters):

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

11 years ago2008-11-05 Darin Fisher <darin@chromium.org>
darin@chromium.org [Wed, 5 Nov 2008 18:41:07 +0000 (18:41 +0000)]
2008-11-05  Darin Fisher  <darin@chromium.org>

        Reviewed by Darin Adler.

        CRASH at Scrollbar::invalidateRect due to null m_client
        https://bugs.webkit.org/show_bug.cgi?id=22080

        * platform/Scrollbar.cpp:
        (WebCore::Scrollbar::isWindowActive):
        (WebCore::Scrollbar::invalidateRect):

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

11 years agoWebCore:
weinig@apple.com [Wed, 5 Nov 2008 18:30:59 +0000 (18:30 +0000)]
WebCore:

2008-11-04  Sam Weinig  <sam@webkit.org>

        Reviewed by Simon Hausmann.

        Fix https://bugs.webkit.org/show_bug.cgi?id=21648
        navigator.mimeTypes and navigator.plugins don't expose item and namedItem to JS

        - Also adds constructors for Plugin, PluginArray, MimeType and MimeTypeArray.

        * bindings/js/JSMimeTypeArrayCustom.cpp:
        (WebCore::JSMimeTypeArray::nameGetter):
        * bindings/js/JSPluginArrayCustom.cpp:
        (WebCore::JSPluginArray::nameGetter):
        * page/DOMWindow.idl:
        * plugins/MimeType.idl:
        * plugins/MimeTypeArray.cpp:
        (WebCore::MimeTypeArray::namedItem):
        * plugins/MimeTypeArray.h:
        * plugins/MimeTypeArray.idl:
        * plugins/Plugin.idl:
        * plugins/PluginArray.cpp:
        (WebCore::PluginArray::namedItem):
        * plugins/PluginArray.h:
        * plugins/PluginArray.idl:

LayoutTests:

2008-11-04  Sam Weinig  <sam@webkit.org>

        Reviewed by Simon Hausmann.

        Update tests for https://bugs.webkit.org/show_bug.cgi?id=21648
        navigator.mimeTypes and navigator.plugins don't expose item and namedItem to JS

        * fast/dom/Window/window-properties-expected.txt:
        * fast/js/global-constructors-expected.txt:
        * plugins/plugin-javascript-access-expected.txt:
        * plugins/plugin-javascript-access.html:

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

11 years ago2008-11-05 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 5 Nov 2008 18:24:36 +0000 (18:24 +0000)]
2008-11-05  Anders Carlsson  <andersca@apple.com>

        Fix Snow Leopard build.

        * JavaScriptCore.xcodeproj/project.pbxproj:

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

11 years ago2008-11-05 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Wed, 5 Nov 2008 18:23:10 +0000 (18:23 +0000)]
2008-11-05  Steve Falkenburg  <sfalken@apple.com>

        Build fix.

        * plugins/PluginPackage.cpp:

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

11 years agoWebKit:
andersca@apple.com [Wed, 5 Nov 2008 18:22:39 +0000 (18:22 +0000)]
WebKit:

2008-11-05  Anders Carlsson  <andersca@apple.com>

        Reviewed by Kevin Decker.

        Remove WebPlugInStreamLoaderDelegate.h

        * WebKit.xcodeproj/project.pbxproj:

WebKit/mac:

2008-11-05  Anders Carlsson  <andersca@apple.com>

        Reviewed by Kevin Decker.

        Remove WebPlugInStreamLoaderDelegate.h

        * Plugins/WebBaseNetscapePluginStream.h:
        * Plugins/WebPlugInStreamLoaderDelegate.h: Removed.

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

11 years ago2008-11-05 Jeff Cook <cookiecaper@gmail.com>
hausmann@webkit.org [Wed, 5 Nov 2008 15:31:30 +0000 (15:31 +0000)]
2008-11-05  Jeff Cook  <cookiecaper@gmail.com>

        Reviewed by Simon Hausmann and Tor Arne.

        Fix crash in the Qt port when unloading swfdec and Flash 10
        by reordering window destruction and plugin stop.

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

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

11 years ago2008-11-05 Simon Hausmann <hausmann@webkit.org>
hausmann@webkit.org [Wed, 5 Nov 2008 15:31:22 +0000 (15:31 +0000)]
2008-11-05  Simon Hausmann  <hausmann@webkit.org>

        Reviewed by Tor Arne Vestbø

        Fix loading of Flash 10 in the Qt port by faking the toolkit to be Gtk.

        Otherwise Flash refuses to load and function :(

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

11 years ago2008-11-05 Simon Hausmann <hausmann@webkit.org>
hausmann@webkit.org [Wed, 5 Nov 2008 15:31:10 +0000 (15:31 +0000)]
2008-11-05  Simon Hausmann  <hausmann@webkit.org>

        Reviewed by Tor Arne Vestbø

        Unify determineQuirks between the Qt and the Gtk PluginPackage.
        Share the code for parsing the module version from the description.
        This is currently used to determine Flash based quirks.

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

11 years ago2008-11-05 Pierre-Olivier Latour <pol@apple.com>
mitz@apple.com [Wed, 5 Nov 2008 09:25:40 +0000 (09:25 +0000)]
2008-11-05  Pierre-Olivier Latour  <pol@apple.com>

        Rubber-stamped by Dan Bernstein.

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

        Another set of updated expected pixel results generated with the same
        setup. Includes accessiblity/, animations/, css1/, css2.1/, css3/,
        dom/ and editing/.

        (file listing elided)

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

11 years ago2008-11-05 Pierre-Olivier Latour <pol@apple.com>
mitz@apple.com [Wed, 5 Nov 2008 09:07:52 +0000 (09:07 +0000)]
2008-11-05  Pierre-Olivier Latour  <pol@apple.com>

        Rubber-stamped by Dan Bernstein.

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

        Imported more 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@38121 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago - Tiger build fix
mitz@apple.com [Wed, 5 Nov 2008 08:45:18 +0000 (08:45 +0000)]
    - Tiger build fix

        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView stop]):

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

11 years ago2008-11-04 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 5 Nov 2008 01:44:47 +0000 (01:44 +0000)]
2008-11-04  Anders Carlsson  <andersca@apple.com>

        Reviewed by Kevin Decker.

        Don't leak the CALayer.

        * Plugins/WebBaseNetscapePluginView.h:
        Make the layer a RetainPtr.

        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView start]):

        (-[WebBaseNetscapePluginView stop]):
        Make sure to clear out the layer here.

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

11 years ago2008-11-04 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Wed, 5 Nov 2008 00:58:47 +0000 (00:58 +0000)]
2008-11-04  Cameron Zwarich  <zwarich@apple.com>

        Rubber-stamped by Steve Falkenburg.

        Move dtoa.cpp and dtoa.h to the WTF Visual Studio project to reflect
        their movement in the filesystem.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:

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

11 years ago2008-11-04 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Wed, 5 Nov 2008 00:49:41 +0000 (00:49 +0000)]
2008-11-04  Cameron Zwarich  <zwarich@apple.com>

        Rubber-stamped by Sam Weinig.

        Move kjs/dtoa.h to the wtf subdirectory of JavaScriptCore, and remove
        its unused forwarding header in WebKit/mac.

        JavaScriptCore:

        * AllInOneFile.cpp:
        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * JavaScriptCoreSources.bkl:
        * kjs/dtoa.cpp: Removed.
        * kjs/dtoa.h: Removed.
        * wtf/dtoa.cpp: Copied from kjs/dtoa.cpp.
        * wtf/dtoa.h: Copied from kjs/dtoa.h.

        WebCore:

        * ForwardingHeaders/kjs/dtoa.h: Removed.
        * ForwardingHeaders/wtf/dtoa.h: Copied from ForwardingHeaders/kjs/dtoa.h.
        * css/CSSParser.cpp:
        * platform/text/String.cpp:
        * platform/text/StringImpl.cpp:

        WebKit/mac:

        * ForwardingHeaders/kjs/dtoa.h: Removed.

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

11 years ago2008-11-04 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 5 Nov 2008 00:45:00 +0000 (00:45 +0000)]
2008-11-04  Anders Carlsson  <andersca@apple.com>

        Reviewed by Kevin Decker.

        More cleanup. Make a bunch of instance variables RetainPtrs.

        * Plugins/WebBaseNetscapePluginView.h:
        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView visibleRect]):
        (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):
        (-[WebBaseNetscapePluginView sendActivateEvent:]):
        (-[WebBaseNetscapePluginView sendDrawRectEvent:]):
        (-[WebBaseNetscapePluginView stopTimers]):
        (-[WebBaseNetscapePluginView restartTimers]):
        (-[WebBaseNetscapePluginView setHasFocus:]):
        (-[WebBaseNetscapePluginView mouseDown:]):
        (-[WebBaseNetscapePluginView mouseUp:]):
        (-[WebBaseNetscapePluginView mouseEntered:]):
        (-[WebBaseNetscapePluginView mouseExited:]):
        (-[WebBaseNetscapePluginView handleMouseMoved:]):
        (-[WebBaseNetscapePluginView mouseDragged:]):
        (-[WebBaseNetscapePluginView scrollWheel:]):
        (-[WebBaseNetscapePluginView keyUp:]):
        (-[WebBaseNetscapePluginView keyDown:]):
        (-[WebBaseNetscapePluginView flagsChanged:]):
        (-[WebBaseNetscapePluginView cut:]):
        (-[WebBaseNetscapePluginView copy:]):
        (-[WebBaseNetscapePluginView paste:]):
        (-[WebBaseNetscapePluginView selectAll:]):
        (-[WebBaseNetscapePluginView didStart]):
        (-[WebBaseNetscapePluginView start]):
        (-[WebBaseNetscapePluginView stop]):
        (-[WebBaseNetscapePluginView dataSource]):
        (-[WebBaseNetscapePluginView pluginPackage]):
        (-[WebBaseNetscapePluginView setPluginPackage:]):
        (-[WebBaseNetscapePluginView setAttributeKeys:andValues:]):
        (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:DOMElement:]):
        (-[WebBaseNetscapePluginView fini]):
        (-[WebBaseNetscapePluginView dealloc]):
        (-[WebBaseNetscapePluginView pluginView:receivedError:]):
        (-[WebBaseNetscapePluginView requestWithURLCString:]):
        (-[WebBaseNetscapePluginView webFrame:didFinishLoadWithReason:]):
        (-[WebBaseNetscapePluginView loadPluginRequest:]):
        (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):
        (-[WebBaseNetscapePluginView userAgent]):
        (-[WebBaseNetscapePluginView getVariable:value:]):
        (-[WebBaseNetscapePluginView setVariable:value:]):
        (-[WebBaseNetscapePluginView _createPlugin]):
        (-[WebBaseNetscapePluginView _redeliverStream]):

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

11 years ago2008-11-04 Jonathan Haas <myrdred@gmail.com>
pam@chromium.org [Wed, 5 Nov 2008 00:24:44 +0000 (00:24 +0000)]
2008-11-04  Jonathan Haas  <myrdred@gmail.com>

        Addiitonal tweaks and patch prep by Pamela Greene <pam@chromium.org>

        Reviewed by Darin Adler.

        Fixed an issue which could cause memory corruption using ToT libxml.
        See https://bugs.webkit.org/show_bug.cgi?id=15715

        Test: fast/xsl/xslt-nested-stylesheets.xml

        * xml/XSLImportRule.cpp:
        (WebCore::XSLImportRule::setXSLStyleSheet): Set parent rather than owner document
        * xml/XSLStyleSheet.cpp:
        (WebCore::XSLStyleSheet::XSLStyleSheet): Initialize m_parentStyleSheet
        (WebCore::XSLStyleSheet::parseString): Make all child stylesheets use parent's dictionary
        (WebCore::XSLStyleSheet::setParentStyleSheet): Added
        * xml/XSLStyleSheet.h: Added m_parentStyleSheet member

2008-11-04  Pamela Greene  <pam@chromium.org>

        Reviewed by Darin Adler.

        Added test for crash resulting from nested stylesheets using certain
        builds of libxml2.  See https://bugs.webkit.org/show_bug.cgi?id=15715 .

        * fast/xsl/resources/xslt-nested-stylesheets0.xsl: Added.
        * fast/xsl/resources/xslt-nested-stylesheets1.xsl: Added.
        * fast/xsl/xslt-nested-stylesheets-expected.txt: Added.
        * fast/xsl/xslt-nested-stylesheets.xml: Added.

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

11 years ago2008-11-04 Cameron Zwarich <zwarich@apple.com>
cwzwarich@webkit.org [Tue, 4 Nov 2008 23:44:19 +0000 (23:44 +0000)]
2008-11-04  Cameron Zwarich  <zwarich@apple.com>

        Rubber-stamped by Sam Weinig.

        Move kjs/config.h to the top level of JavaScriptCore.

        * GNUmakefile.am:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * config.h: Copied from kjs/config.h.
        * kjs/config.h: Removed.

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

11 years ago2008-11-04 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 4 Nov 2008 23:00:23 +0000 (23:00 +0000)]
2008-11-04  Simon Fraser  <simon.fraser@apple.com>

        Add AccessibilityObject.o to the exclude list for the
        check for global destructors.

        * Scripts/check-for-exit-time-destructors:

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

11 years ago2008-11-04 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 4 Nov 2008 22:40:53 +0000 (22:40 +0000)]
2008-11-04  Simon Fraser  <simon.fraser@apple.com>

        No review.

        Improved buid fix: include MathExtras.h to get roundf on all platforms.

        * platform/graphics/FloatPoint.h:

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

11 years ago2008-11-04 Darin Adler <darin@apple.com>
darin@apple.com [Tue, 4 Nov 2008 22:08:44 +0000 (22:08 +0000)]
2008-11-04  Darin Adler  <darin@apple.com>

        * Scripts/check-for-exit-time-destructors: Fix failures seen on the
        bot, but for some reason not on my computer.

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

11 years agoWebCore:
beidson@apple.com [Tue, 4 Nov 2008 20:55:13 +0000 (20:55 +0000)]
WebCore:

2008-11-04  Brady Eidson  <beidson@apple.com>

        Reviewed by John Sullivan

        Add a simple "visited" method to HistoryItem for use by global history

        * WebCore.base.exp:

        * history/HistoryItem.cpp:
        (WebCore::HistoryItem::visited):  Update the title on the item, set last visited time,
          and bump the visit count.  All things that should happen when a url is visited again!
        * history/HistoryItem.h:

WebKit/mac:

2008-11-04  Brady Eidson  <beidson@apple.com>

        Reviewed by John Sullivan

        Cleanup global history a tad.

        Used to _addItemForURL always create a new item and merge it with a previous item if one existed.

        It is more efficient and less complicated to update the previous item if one exists.

        * History/WebHistory.mm:
        (-[WebHistoryPrivate visitedURL:withTitle:]):
        (-[WebHistory _visitedURL:withTitle:]):  Instead of calling the general purpose [WebHistoryPrivate addItem:]
          with a new history item, call the new special purposed visitedURL:withTitle:
        * History/WebHistoryInternal.h:

        * History/WebHistoryItem.mm:
        (-[WebHistoryItem _visitedWithTitle:]): Call "visited()" on the WebCore history item with the pertinent info.
        * History/WebHistoryItemInternal.h:

        * WebCoreSupport/WebFrameLoaderClient.mm:
        (WebFrameLoaderClient::updateGlobalHistory):

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

11 years ago2008-11-04 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 4 Nov 2008 20:08:57 +0000 (20:08 +0000)]
2008-11-04  Anders Carlsson  <andersca@apple.com>

        Reviewed by Kevin Decker.

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

        Only create the plug-in stream loader when the stream is started.

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

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

11 years ago2008-11-04 Jan Michael Alonzo <jmalonzo@webkit.org>
jmalonzo@webkit.org [Tue, 4 Nov 2008 19:43:58 +0000 (19:43 +0000)]
2008-11-04  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Build fix. Not reviewed.

        * platform/graphics/FloatPoint.h: include math.h.
        reported by zdobersek in #webkit.

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

11 years ago2008-11-04 Darin Fisher <darin@chromium.org>
darin@chromium.org [Tue, 4 Nov 2008 19:40:56 +0000 (19:40 +0000)]
2008-11-04  Darin Fisher  <darin@chromium.org>

        Reviewed by Anders Carlsson.

        No need to clobber all ResourceRequest fields in FrameLoader::reload()
        https://bugs.webkit.org/show_bug.cgi?id=21949

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::reload):

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