1. 15 Jun, 2008 28 commits
    • darin@apple.com's avatar
      2008-06-15 Darin Adler <darin@apple.com> · cbaaa8d7
      darin@apple.com authored
              - undo bogus renaming done by the script
      
              * WebCoreSupport/ContextMenuClientGtk.cpp:
              * webkit/webkitnetworkrequest.h:
              * webkit/webkitwebbackforwardlist.h:
              * webkit/webkitwebframe.h:
              * webkit/webkitwebhistoryitem.h:
              * webkit/webkitwebsettings.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cbaaa8d7
    • darin@apple.com's avatar
      2008-06-15 Darin Adler <darin@apple.com> · 228e2af8
      darin@apple.com authored
              * platform/graphics/gtk/VideoSinkGStreamer.h: Undo a bogus rename done by the script.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      228e2af8
    • abarth@webkit.org's avatar
      WebCore: · 761e100a
      abarth@webkit.org authored
      2008-06-15  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Sam Weinig.
      
              Fix our implementation of Document.documentURI (DOM Core Level 3).
      
              Tests: fast/dom/documenturi-affects-relative-paths.html
                     fast/dom/documenturi-assigned-junk-implies-baseuri-null.html
                     fast/dom/documenturi-assigned-junk-implies-relative-urls-do-not-resolve.html
                     fast/dom/documenturi-can-hold-arbitrary-string.html
                     fast/dom/documenturi-loses-to-base-tag.html
                     fast/dom/documenturi-not-affected-by-base-tag.html
      
              * dom/Document.cpp:
              (WebCore::Document::setDocumentURI):
              (WebCore::Document::setURL):
              (WebCore::Document::updateBaseURL):
              * dom/Document.h:
              * page/AccessibilityRenderObject.cpp:
              (WebCore::AccessibilityRenderObject::url):
      
      LayoutTests:
      
      2008-06-15  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Sam Weinig.
      
              Test Document.documentURI (DOM Core Level 3).  There don't appear to be
              other browser implementations of this feature to compare against, but
              these tests test my interpretation of the spec.
      
              * fast/dom/documenturi-affects-relative-paths-expected.txt: Added.
              * fast/dom/documenturi-affects-relative-paths.html: Added.
              * fast/dom/documenturi-assigned-junk-implies-baseuri-null-expected.txt: Added.
              * fast/dom/documenturi-assigned-junk-implies-baseuri-null.html: Added.
              * fast/dom/documenturi-assigned-junk-implies-relative-urls-do-not-resolve-expected.txt: Added.
              * fast/dom/documenturi-assigned-junk-implies-relative-urls-do-not-resolve.html: Added.
              * fast/dom/documenturi-can-hold-arbitrary-string-expected.txt: Added.
              * fast/dom/documenturi-can-hold-arbitrary-string.html: Added.
              * fast/dom/documenturi-loses-to-base-tag-expected.txt: Added.
              * fast/dom/documenturi-loses-to-base-tag.html: Added.
              * fast/dom/documenturi-not-affected-by-base-tag-expected.txt: Added.
              * fast/dom/documenturi-not-affected-by-base-tag.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      761e100a
    • abarth@webkit.org's avatar
      2008-06-15 Adam Barth <abarth@webkit.org> · 86d0445f
      abarth@webkit.org authored
              Reviewed by Sam Weinig.
      
              Refactor our handling of Document::m_baseURL in preparation for
              correcting our implementation of Document.documentURI.
      
              * dom/Document.cpp:
              (WebCore::Document::documentURI):
              (WebCore::Document::open):
              (WebCore::Document::setURL):
              (WebCore::Document::setBaseElementURL):
              (WebCore::Document::updateBaseURL):
              (WebCore::Document::elementSheet):
              (WebCore::Document::mappedElementSheet):
              (WebCore::Document::completeURL):
              * dom/Document.h:
              (WebCore::Document::url):
              (WebCore::Document::baseURL):
              * html/HTMLBaseElement.cpp:
              (WebCore::HTMLBaseElement::removedFromDocument):
              (WebCore::HTMLBaseElement::process):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::begin):
              (WebCore::FrameLoader::switchOutLowBandwidthDisplayIfReady):
              * xml/XSLTProcessor.cpp:
              (WebCore::XSLTProcessor::createDocumentFromSource):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86d0445f
    • darin@apple.com's avatar
      JavaScriptCore: · 5c0863d0
      darin@apple.com authored
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for more JavaScriptCore files
      
              * API/JSCallbackFunction.cpp:
              * API/JSObjectRef.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * JavaScriptCore.exp:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * VM/Machine.cpp:
              * kjs/AllInOneFile.cpp:
              * kjs/ArrayPrototype.cpp: Copied from JavaScriptCore/kjs/array_object.cpp.
              * kjs/ArrayPrototype.h: Copied from JavaScriptCore/kjs/array_object.h.
              * kjs/BooleanObject.cpp: Copied from JavaScriptCore/kjs/bool_object.cpp.
              * kjs/BooleanObject.h: Copied from JavaScriptCore/kjs/bool_object.h.
              * kjs/ExecState.cpp:
              * kjs/ExecState.h:
              * kjs/FunctionPrototype.cpp: Copied from JavaScriptCore/kjs/function_object.cpp.
              * kjs/FunctionPrototype.h: Copied from JavaScriptCore/kjs/function_object.h.
              * kjs/JSArray.cpp: Copied from JavaScriptCore/kjs/array_instance.cpp.
              * kjs/JSArray.h: Copied from JavaScriptCore/kjs/array_instance.h.
              * kjs/JSFunction.cpp:
              * kjs/JSFunction.h:
              * kjs/JSGlobalObject.cpp:
              * kjs/JSImmediate.cpp:
              * kjs/JSObject.h:
              * kjs/JSString.h:
              * kjs/JSValue.h:
              * kjs/JSVariableObject.cpp:
              * kjs/MathObject.cpp: Copied from JavaScriptCore/kjs/math_object.cpp.
              * kjs/MathObject.h: Copied from JavaScriptCore/kjs/math_object.h.
              * kjs/NumberObject.cpp: Copied from JavaScriptCore/kjs/number_object.cpp.
              * kjs/NumberObject.h: Copied from JavaScriptCore/kjs/number_object.h.
              * kjs/PropertyMap.cpp: Copied from JavaScriptCore/kjs/property_map.cpp.
              * kjs/PropertyMap.h: Copied from JavaScriptCore/kjs/property_map.h.
              * kjs/PropertySlot.cpp: Copied from JavaScriptCore/kjs/property_slot.cpp.
              * kjs/PropertySlot.h: Copied from JavaScriptCore/kjs/property_slot.h.
              * kjs/RegExpObject.cpp: Copied from JavaScriptCore/kjs/regexp_object.cpp.
              * kjs/RegExpObject.h: Copied from JavaScriptCore/kjs/regexp_object.h.
              * kjs/ScopeChain.cpp: Copied from JavaScriptCore/kjs/scope_chain.cpp.
              * kjs/ScopeChain.h: Copied from JavaScriptCore/kjs/scope_chain.h.
              * kjs/ScopeChainMark.h: Copied from JavaScriptCore/kjs/scope_chain_mark.h.
              * kjs/Shell.cpp:
              * kjs/array_instance.cpp: Removed.
              * kjs/array_instance.h: Removed.
              * kjs/array_object.cpp: Removed.
              * kjs/array_object.h: Removed.
              * kjs/bool_object.cpp: Removed.
              * kjs/bool_object.h: Removed.
              * kjs/error_object.h:
              * kjs/function_object.cpp: Removed.
              * kjs/function_object.h: Removed.
              * kjs/internal.cpp:
              * kjs/math_object.cpp: Removed.
              * kjs/math_object.h: Removed.
              * kjs/nodes.cpp:
              * kjs/number_object.cpp: Removed.
              * kjs/number_object.h: Removed.
              * kjs/object_object.cpp:
              * kjs/property_map.cpp: Removed.
              * kjs/property_map.h: Removed.
              * kjs/property_slot.cpp: Removed.
              * kjs/property_slot.h: Removed.
              * kjs/regexp_object.cpp: Removed.
              * kjs/regexp_object.h: Removed.
              * kjs/scope_chain.cpp: Removed.
              * kjs/scope_chain.h: Removed.
              * kjs/scope_chain_mark.h: Removed.
              * kjs/string_object.cpp:
              * kjs/string_object.h:
      
      WebCore:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for more JavaScriptCore files
      
              * ForwardingHeaders/kjs/ArrayPrototype.h: Copied from WebCore/ForwardingHeaders/kjs/array_object.h.
              * ForwardingHeaders/kjs/BooleanObject.h: Copied from WebCore/ForwardingHeaders/kjs/bool_object.h.
              * ForwardingHeaders/kjs/FunctionPrototype.h: Copied from WebCore/ForwardingHeaders/kjs/function_object.h.
              * ForwardingHeaders/kjs/JSArray.h: Copied from WebCore/ForwardingHeaders/kjs/array_instance.h.
              * ForwardingHeaders/kjs/PropertyMap.h: Copied from WebCore/ForwardingHeaders/kjs/property_map.h.
              * ForwardingHeaders/kjs/array_instance.h: Removed.
              * ForwardingHeaders/kjs/array_object.h: Removed.
              * ForwardingHeaders/kjs/bool_object.h: Removed.
              * ForwardingHeaders/kjs/function_object.h: Removed.
              * ForwardingHeaders/kjs/property_map.h: Removed.
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/JSClipboardCustom.cpp:
              * bindings/js/JSDatabaseCustom.cpp:
              * bindings/js/JSJavaScriptCallFrameCustom.cpp:
              * bindings/js/kjs_events.cpp:
              * bridge/jni/jni_utility.cpp:
              * bridge/qt/qt_runtime.cpp:
              * bridge/runtime_array.cpp:
      
      WebKit/mac:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for more JavaScriptCore files
      
              * WebView/WebView.mm:
      
      WebKit/qt:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for more JavaScriptCore files
      
              * WebKit_pch.h:
      
      WebKitTools:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              * Scripts/do-file-rename: Updated.
              * Scripts/do-webcore-rename: Updated for the latest round of renaming.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c0863d0
    • darin@apple.com's avatar
      JavaScriptCore: · 3dcb636f
      darin@apple.com authored
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * API/JSBase.cpp:
              * API/JSCallbackConstructor.h:
              * API/JSCallbackFunction.cpp:
              * API/JSCallbackFunction.h:
              * API/JSCallbackObject.h:
              * API/JSCallbackObjectFunctions.h:
              * API/JSClassRef.h:
              * API/JSContextRef.cpp:
              * API/JSObjectRef.cpp:
              * API/JSStringRef.cpp:
              * API/JSStringRefCF.cpp:
              * API/JSValueRef.cpp:
              * GNUmakefile.am:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * VM/CodeBlock.cpp:
              * VM/CodeGenerator.cpp:
              * VM/ExceptionHelpers.cpp:
              * VM/ExceptionHelpers.h:
              * VM/JSPropertyNameIterator.cpp:
              * VM/JSPropertyNameIterator.h:
              * VM/Machine.cpp:
              * kjs/AllInOneFile.cpp:
              * kjs/DateMath.cpp:
              * kjs/DebuggerCallFrame.cpp:
              * kjs/ExecState.cpp:
              * kjs/JSActivation.cpp:
              * kjs/JSFunction.cpp: Copied from JavaScriptCore/kjs/function.cpp.
              * kjs/JSFunction.h: Copied from JavaScriptCore/kjs/function.h.
              * kjs/JSImmediate.cpp:
              * kjs/JSNotAnObject.h:
              * kjs/JSObject.cpp: Copied from JavaScriptCore/kjs/object.cpp.
              * kjs/JSObject.h: Copied from JavaScriptCore/kjs/object.h.
              * kjs/JSString.h: Copied from JavaScriptCore/kjs/internal.h.
              * kjs/JSValue.cpp: Copied from JavaScriptCore/kjs/value.cpp.
              * kjs/JSValue.h: Copied from JavaScriptCore/kjs/value.h.
              * kjs/JSVariableObject.h:
              * kjs/JSWrapperObject.h:
              * kjs/Shell.cpp:
              * kjs/SymbolTable.h:
              * kjs/array_instance.h:
              * kjs/collector.cpp:
              * kjs/date_object.cpp:
              * kjs/date_object.h:
              * kjs/error_object.cpp:
              * kjs/function.cpp: Removed.
              * kjs/function.h: Removed.
              * kjs/function_object.cpp:
              * kjs/function_object.h:
              * kjs/grammar.y:
              * kjs/internal.cpp:
              * kjs/internal.h: Removed.
              * kjs/lexer.cpp:
              * kjs/list.h:
              * kjs/lookup.h:
              * kjs/nodes.h:
              * kjs/object.cpp: Removed.
              * kjs/object.h: Removed.
              * kjs/object_object.h:
              * kjs/operations.cpp:
              * kjs/property_map.cpp:
              * kjs/property_slot.cpp:
              * kjs/property_slot.h:
              * kjs/protect.h:
              * kjs/regexp_object.cpp:
              * kjs/scope_chain.cpp:
              * kjs/string_object.h:
              * kjs/ustring.cpp:
              * kjs/value.cpp: Removed.
              * kjs/value.h: Removed.
              * profiler/Profile.cpp:
              * profiler/Profiler.cpp:
      
      JavaScriptGlue:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * ForwardingHeaders/kjs/JSValue.h: Copied from JavaScriptGlue/ForwardingHeaders/kjs/value.h.
              * ForwardingHeaders/kjs/value.h: Removed.
              * JSUtils.h:
      
      WebCore:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * ForwardingHeaders/kjs/JSFunction.h: Copied from WebCore/ForwardingHeaders/kjs/function.h.
              * ForwardingHeaders/kjs/JSObject.h: Copied from WebCore/ForwardingHeaders/kjs/object.h.
              * ForwardingHeaders/kjs/JSString.h: Copied from WebCore/ForwardingHeaders/kjs/internal.h.
              * ForwardingHeaders/kjs/JSValue.h: Copied from WebCore/ForwardingHeaders/kjs/value.h.
              * ForwardingHeaders/kjs/function.h: Removed.
              * ForwardingHeaders/kjs/internal.h: Removed.
              * ForwardingHeaders/kjs/object.h: Removed.
              * ForwardingHeaders/kjs/value.h: Removed.
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/JSCustomSQLStatementCallback.h:
              * bindings/js/JSCustomSQLStatementErrorCallback.h:
              * bindings/js/JSCustomSQLTransactionErrorCallback.h:
              * bindings/js/JSCustomVoidCallback.h:
              * bindings/js/JSDOMBinding.h:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDOMWindowShell.cpp:
              * bindings/js/JSQuarantinedObjectWrapper.h:
              * bridge/objc/objc_runtime.h:
              * bridge/objc/objc_utility.h:
              * bridge/qt/qt_runtime.cpp:
              * bridge/runtime.h:
              * bridge/runtime_array.h:
              * bridge/runtime_method.h:
              * bridge/runtime_object.h:
              * bridge/testbindings.cpp:
              * bridge/testbindings.mm:
              * bridge/testqtbindings.cpp:
              * loader/FrameLoader.cpp:
              * page/JavaScriptCallFrame.cpp:
              * page/JavaScriptProfile.cpp:
              * page/JavaScriptProfileNode.cpp:
              * platform/graphics/gtk/VideoSinkGStreamer.h:
              * plugins/PluginView.cpp:
              * plugins/gtk/PluginViewGtk.cpp:
              * plugins/qt/PluginViewQt.cpp:
              * plugins/win/PluginViewWin.cpp:
      
      WebKit/gtk:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * WebCoreSupport/ContextMenuClientGtk.cpp:
              * webkit/webkitnetworkrequest.h:
              * webkit/webkitwebbackforwardlist.h:
              * webkit/webkitwebframe.h:
              * webkit/webkitwebhistoryitem.h:
              * webkit/webkitwebsettings.h:
      
      WebKit/mac:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * ForwardingHeaders/kjs/JSFunction.h: Copied from WebKit/mac/ForwardingHeaders/kjs/function.h.
              * ForwardingHeaders/kjs/JSObject.h: Copied from WebKit/mac/ForwardingHeaders/kjs/object.h.
              * ForwardingHeaders/kjs/JSString.h: Copied from WebKit/mac/ForwardingHeaders/kjs/internal.h.
              * ForwardingHeaders/kjs/JSValue.h: Copied from WebKit/mac/ForwardingHeaders/kjs/value.h.
              * ForwardingHeaders/kjs/function.h: Removed.
              * ForwardingHeaders/kjs/internal.h: Removed.
              * ForwardingHeaders/kjs/object.h: Removed.
              * ForwardingHeaders/kjs/value.h: Removed.
              * WebView/WebScriptDebugDelegate.mm:
      
      WebKit/qt:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * Api/qwebframe.cpp:
      
      WebKit/win:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * WebView.cpp:
      
      WebKit/wx:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              - new names for a few key JavaScriptCore files
      
              * WebView.cpp:
      
      WebKitTools:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              * Scripts/do-file-rename: Updated for the latest round of renaming.
              * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3dcb636f
    • darin@apple.com's avatar
      JavaScriptCore: · 6de4edca
      darin@apple.com authored
      2008-06-15  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - cut down on confusing uses of "Object" and "Imp" in
                JavaScriptCore class names
      
              * API/JSCallbackFunction.cpp:
              (KJS::JSCallbackFunction::JSCallbackFunction):
              * API/JSCallbackFunction.h:
              * VM/Machine.cpp:
              (KJS::Machine::privateExecute):
              * kjs/ExecState.h:
              (KJS::ExecState::regExpTable):
              (KJS::ExecState::regExpConstructorTable):
              * kjs/JSGlobalData.cpp:
              (KJS::JSGlobalData::JSGlobalData):
              (KJS::JSGlobalData::~JSGlobalData):
              * kjs/JSGlobalData.h:
              * kjs/JSGlobalObject.cpp:
              (KJS::JSGlobalObject::reset):
              * kjs/JSGlobalObject.h:
              (KJS::JSGlobalObject::objectConstructor):
              (KJS::JSGlobalObject::functionConstructor):
              (KJS::JSGlobalObject::arrayConstructor):
              (KJS::JSGlobalObject::booleanConstructor):
              (KJS::JSGlobalObject::stringConstructor):
              (KJS::JSGlobalObject::numberConstructor):
              (KJS::JSGlobalObject::dateConstructor):
              (KJS::JSGlobalObject::regExpConstructor):
              (KJS::JSGlobalObject::errorConstructor):
              (KJS::JSGlobalObject::evalErrorConstructor):
              (KJS::JSGlobalObject::rangeErrorConstructor):
              (KJS::JSGlobalObject::referenceErrorConstructor):
              (KJS::JSGlobalObject::syntaxErrorConstructor):
              (KJS::JSGlobalObject::typeErrorConstructor):
              (KJS::JSGlobalObject::URIErrorConstructor):
              * kjs/array_object.cpp:
              (KJS::ArrayConstructor::ArrayConstructor):
              (KJS::ArrayConstructor::getConstructData):
              (KJS::ArrayConstructor::construct):
              (KJS::ArrayConstructor::callAsFunction):
              * kjs/array_object.h:
              * kjs/bool_object.cpp:
              (KJS::BooleanObject::BooleanObject):
              (KJS::BooleanPrototype::BooleanPrototype):
              (KJS::booleanProtoFuncToString):
              (KJS::booleanProtoFuncValueOf):
              (KJS::BooleanConstructor::BooleanConstructor):
              (KJS::BooleanConstructor::getConstructData):
              (KJS::BooleanConstructor::construct):
              (KJS::BooleanConstructor::callAsFunction):
              * kjs/bool_object.h:
              * kjs/date_object.cpp:
              (KJS::DatePrototype::DatePrototype):
              (KJS::DateConstructor::DateConstructor):
              (KJS::DateConstructor::getConstructData):
              (KJS::DateConstructor::construct):
              (KJS::DateConstructor::callAsFunction):
              (KJS::DateFunction::DateFunction):
              (KJS::DateFunction::callAsFunction):
              * kjs/date_object.h:
              * kjs/error_object.cpp:
              (KJS::ErrorPrototype::ErrorPrototype):
              (KJS::ErrorConstructor::ErrorConstructor):
              (KJS::ErrorConstructor::getConstructData):
              (KJS::ErrorConstructor::construct):
              (KJS::ErrorConstructor::callAsFunction):
              (KJS::NativeErrorConstructor::NativeErrorConstructor):
              (KJS::NativeErrorConstructor::getConstructData):
              (KJS::NativeErrorConstructor::construct):
              (KJS::NativeErrorConstructor::callAsFunction):
              (KJS::NativeErrorConstructor::mark):
              * kjs/error_object.h:
              * kjs/function.cpp:
              (KJS::JSFunction::JSFunction):
              (KJS::JSFunction::mark):
              (KJS::JSFunction::getOwnPropertySlot):
              (KJS::JSFunction::put):
              (KJS::JSFunction::deleteProperty):
              (KJS::PrototypeFunction::PrototypeFunction):
              (KJS::PrototypeReflexiveFunction::PrototypeReflexiveFunction):
              (KJS::PrototypeReflexiveFunction::mark):
              * kjs/function.h:
              * kjs/function_object.cpp:
              (KJS::functionProtoFuncToString):
              (KJS::FunctionConstructor::FunctionConstructor):
              (KJS::FunctionConstructor::getConstructData):
              (KJS::FunctionConstructor::construct):
              (KJS::FunctionConstructor::callAsFunction):
              * kjs/function_object.h:
              * kjs/internal.cpp:
              (KJS::StringObject::create):
              (KJS::JSString::toObject):
              (KJS::JSString::toThisObject):
              (KJS::JSString::getOwnPropertySlot):
              (KJS::InternalFunction::InternalFunction):
              (KJS::InternalFunction::getCallData):
              (KJS::InternalFunction::implementsHasInstance):
              * kjs/math_object.cpp:
              (KJS::MathObject::MathObject):
              (KJS::MathObject::getOwnPropertySlot):
              (KJS::MathObject::getValueProperty):
              * kjs/math_object.h:
              * kjs/number_object.cpp:
              (KJS::NumberObject::NumberObject):
              (KJS::NumberPrototype::NumberPrototype):
              (KJS::numberProtoFuncToString):
              (KJS::numberProtoFuncToLocaleString):
              (KJS::numberProtoFuncValueOf):
              (KJS::numberProtoFuncToFixed):
              (KJS::numberProtoFuncToExponential):
              (KJS::numberProtoFuncToPrecision):
              (KJS::NumberConstructor::NumberConstructor):
              (KJS::NumberConstructor::getOwnPropertySlot):
              (KJS::NumberConstructor::getValueProperty):
              (KJS::NumberConstructor::getConstructData):
              (KJS::NumberConstructor::construct):
              (KJS::NumberConstructor::callAsFunction):
              * kjs/number_object.h:
              * kjs/object.cpp:
              (KJS::JSObject::putDirectFunction):
              * kjs/object.h:
              * kjs/object_object.cpp:
              (KJS::ObjectConstructor::ObjectConstructor):
              (KJS::ObjectConstructor::getConstructData):
              (KJS::ObjectConstructor::construct):
              (KJS::ObjectConstructor::callAsFunction):
              * kjs/object_object.h:
              * kjs/regexp.cpp:
              (KJS::RegExp::RegExp):
              * kjs/regexp_object.cpp:
              (KJS::regExpProtoFuncTest):
              (KJS::regExpProtoFuncExec):
              (KJS::regExpProtoFuncCompile):
              (KJS::regExpProtoFuncToString):
              (KJS::RegExpObject::RegExpObject):
              (KJS::RegExpObject::~RegExpObject):
              (KJS::RegExpObject::getOwnPropertySlot):
              (KJS::RegExpObject::getValueProperty):
              (KJS::RegExpObject::put):
              (KJS::RegExpObject::putValueProperty):
              (KJS::RegExpObject::match):
              (KJS::RegExpObject::test):
              (KJS::RegExpObject::exec):
              (KJS::RegExpObject::getCallData):
              (KJS::RegExpObject::callAsFunction):
              (KJS::RegExpConstructorPrivate::RegExpConstructorPrivate):
              (KJS::RegExpConstructor::RegExpConstructor):
              (KJS::RegExpConstructor::performMatch):
              (KJS::RegExpMatchesArray::RegExpMatchesArray):
              (KJS::RegExpMatchesArray::~RegExpMatchesArray):
              (KJS::RegExpMatchesArray::fillArrayInstance):
              (KJS::RegExpConstructor::arrayOfMatches):
              (KJS::RegExpConstructor::getBackref):
              (KJS::RegExpConstructor::getLastParen):
              (KJS::RegExpConstructor::getLeftContext):
              (KJS::RegExpConstructor::getRightContext):
              (KJS::RegExpConstructor::getOwnPropertySlot):
              (KJS::RegExpConstructor::getValueProperty):
              (KJS::RegExpConstructor::put):
              (KJS::RegExpConstructor::putValueProperty):
              (KJS::RegExpConstructor::getConstructData):
              (KJS::RegExpConstructor::construct):
              (KJS::RegExpConstructor::callAsFunction):
              (KJS::RegExpConstructor::input):
              * kjs/regexp_object.h:
              * kjs/string_object.cpp:
              (KJS::StringObject::StringObject):
              (KJS::StringObject::getOwnPropertySlot):
              (KJS::StringObject::put):
              (KJS::StringObject::deleteProperty):
              (KJS::StringObject::getPropertyNames):
              (KJS::StringPrototype::StringPrototype):
              (KJS::StringPrototype::getOwnPropertySlot):
              (KJS::replace):
              (KJS::stringProtoFuncToString):
              (KJS::stringProtoFuncValueOf):
              (KJS::stringProtoFuncCharAt):
              (KJS::stringProtoFuncCharCodeAt):
              (KJS::stringProtoFuncConcat):
              (KJS::stringProtoFuncIndexOf):
              (KJS::stringProtoFuncLastIndexOf):
              (KJS::stringProtoFuncMatch):
              (KJS::stringProtoFuncSearch):
              (KJS::stringProtoFuncReplace):
              (KJS::stringProtoFuncSlice):
              (KJS::stringProtoFuncSplit):
              (KJS::stringProtoFuncSubstr):
              (KJS::stringProtoFuncSubstring):
              (KJS::stringProtoFuncToLowerCase):
              (KJS::stringProtoFuncToUpperCase):
              (KJS::stringProtoFuncToLocaleLowerCase):
              (KJS::stringProtoFuncToLocaleUpperCase):
              (KJS::stringProtoFuncLocaleCompare):
              (KJS::stringProtoFuncBig):
              (KJS::stringProtoFuncSmall):
              (KJS::stringProtoFuncBlink):
              (KJS::stringProtoFuncBold):
              (KJS::stringProtoFuncFixed):
              (KJS::stringProtoFuncItalics):
              (KJS::stringProtoFuncStrike):
              (KJS::stringProtoFuncSub):
              (KJS::stringProtoFuncSup):
              (KJS::stringProtoFuncFontcolor):
              (KJS::stringProtoFuncFontsize):
              (KJS::stringProtoFuncAnchor):
              (KJS::stringProtoFuncLink):
              (KJS::StringConstructor::StringConstructor):
              (KJS::StringConstructor::getConstructData):
              (KJS::StringConstructor::construct):
              (KJS::StringConstructor::callAsFunction):
              (KJS::StringConstructorFunction::StringConstructorFunction):
              (KJS::StringConstructorFunction::callAsFunction):
              * kjs/string_object.h:
              (KJS::StringObjectThatMasqueradesAsUndefined::StringObjectThatMasqueradesAsUndefined):
              * profiler/Profiler.cpp:
              (KJS::createCallIdentifier):
      
      WebCore:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - cut down on confusing uses of "Object" and "Imp" in
                JavaScriptCore class names
      
              * bindings/js/JSCSSStyleDeclarationCustom.cpp:
              (WebCore::JSCSSStyleDeclaration::nameGetter):
              * bridge/qt/qt_runtime.cpp:
              (KJS::Bindings::valueRealType):
              (KJS::Bindings::convertValueToQVariant):
              (KJS::Bindings::convertQVariantToValue):
              (KJS::Bindings::QtRuntimeMethod::QtRuntimeMethod):
              * bridge/qt/qt_runtime.h:
              * bridge/runtime_method.cpp:
              (RuntimeMethod::RuntimeMethod):
              (RuntimeMethod::getOwnPropertySlot):
              * bridge/runtime_method.h:
      
      WebKitTools:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              * Scripts/create-exports: Added.
              * Scripts/do-file-rename: Added some planned renames.
              * Scripts/do-webcore-rename: Updated for the latest round of renaming.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6de4edca
    • mitz@apple.com's avatar
      WebCore: · 8291e207
      mitz@apple.com authored
              Reviewed by Darin Adler.
      
              - fix <rdar://problem/5825683> Three slash URLs are modified by WebKit
      
              Test: fast/loader/url-parse-1.html
      
              URIs in which the scheme is followed by "://" are ambiguous, because
              "//" can be either the beginning of a net_path or the beginning of an
              abs_path whose first path segment is empty. In the case of ":///", the
              net_path interpretation is invalid, because the authority (the part
              between the second and third slashes) cannot be empty. However, for
              historical reasons, this is allowed in http:, https: and file: URLs,
              in which an empty authority means the local host.
      
              * platform/KURL.cpp:
              (WebCore::KURL::parse): Changed to interpret URLs in which the scheme
              is followed by ":///" as abs_path-only URLs, unless the scheme is http,
              https or file.
      
      LayoutTests:
      
              Reviewed by Darin Adler.
      
              - test for <rdar://problem/5825683> Three slash URLs are modified by WebKit
      
              * fast/loader/url-parse-1-expected.txt: Added.
              * fast/loader/url-parse-1.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8291e207
    • darin@apple.com's avatar
      JavaScriptCore: · 980c614d
      darin@apple.com authored
      2008-06-15  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - use JS prefix and simpler names for basic JavaScriptCore types,
                to complement JSValue and JSObject
      
              * JavaScriptCore.exp:
              * VM/Machine.cpp:
              (KJS::jsLess):
              (KJS::jsLessEq):
              (KJS::jsAdd):
              (KJS::callEval):
              (KJS::Machine::execute):
              (KJS::Machine::retrieveArguments):
              (KJS::Machine::retrieveCaller):
              (KJS::Machine::getCallFrame):
              (KJS::Machine::getFunctionAndArguments):
              * VM/Machine.h:
              * VM/Register.h:
              * kjs/DebuggerCallFrame.cpp:
              (KJS::DebuggerCallFrame::functionName):
              * kjs/ExecState.h:
              * kjs/JSActivation.cpp:
              (KJS::JSActivation::createArgumentsObject):
              * kjs/array_instance.cpp:
              (KJS::):
              (KJS::JSArray::checkConsistency):
              (KJS::JSArray::JSArray):
              (KJS::JSArray::~JSArray):
              (KJS::JSArray::getItem):
              (KJS::JSArray::lengthGetter):
              (KJS::JSArray::inlineGetOwnPropertySlot):
              (KJS::JSArray::getOwnPropertySlot):
              (KJS::JSArray::put):
              (KJS::JSArray::deleteProperty):
              (KJS::JSArray::getPropertyNames):
              (KJS::JSArray::increaseVectorLength):
              (KJS::JSArray::setLength):
              (KJS::JSArray::mark):
              (KJS::JSArray::sort):
              (KJS::JSArray::compactForSorting):
              (KJS::JSArray::lazyCreationData):
              (KJS::JSArray::setLazyCreationData):
              * kjs/array_instance.h:
              * kjs/array_object.cpp:
              (KJS::):
              (KJS::ArrayPrototype::ArrayPrototype):
              (KJS::ArrayPrototype::getOwnPropertySlot):
              (KJS::arrayProtoFuncToString):
              (KJS::arrayProtoFuncToLocaleString):
              (KJS::arrayProtoFuncConcat):
              (KJS::arrayProtoFuncSort):
              (KJS::ArrayObjectImp::construct):
              * kjs/array_object.h:
              * kjs/completion.h:
              * kjs/function.cpp:
              (KJS::):
              (KJS::JSFunction::JSFunction):
              (KJS::JSFunction::mark):
              (KJS::JSFunction::getCallData):
              (KJS::JSFunction::callAsFunction):
              (KJS::JSFunction::argumentsGetter):
              (KJS::JSFunction::callerGetter):
              (KJS::JSFunction::lengthGetter):
              (KJS::JSFunction::getOwnPropertySlot):
              (KJS::JSFunction::put):
              (KJS::JSFunction::deleteProperty):
              (KJS::JSFunction::getParameterName):
              (KJS::JSFunction::getConstructData):
              (KJS::JSFunction::construct):
              (KJS::IndexToNameMap::IndexToNameMap):
              (KJS::Arguments::Arguments):
              * kjs/function.h:
              * kjs/function_object.cpp:
              (KJS::functionProtoFuncToString):
              (KJS::functionProtoFuncApply):
              (KJS::FunctionObjectImp::construct):
              * kjs/internal.cpp:
              (KJS::JSString::toPrimitive):
              (KJS::JSString::getPrimitiveNumber):
              (KJS::JSString::toBoolean):
              (KJS::JSString::toNumber):
              (KJS::JSString::toString):
              (KJS::StringInstance::create):
              (KJS::JSString::toObject):
              (KJS::JSString::toThisObject):
              (KJS::JSString::lengthGetter):
              (KJS::JSString::indexGetter):
              (KJS::JSString::indexNumericPropertyGetter):
              (KJS::JSString::getOwnPropertySlot):
              (KJS::JSNumberCell::type):
              (KJS::JSNumberCell::toPrimitive):
              (KJS::JSNumberCell::getPrimitiveNumber):
              (KJS::JSNumberCell::toBoolean):
              (KJS::JSNumberCell::toNumber):
              (KJS::JSNumberCell::toString):
              (KJS::JSNumberCell::toObject):
              (KJS::JSNumberCell::toThisObject):
              (KJS::JSNumberCell::getUInt32):
              (KJS::JSNumberCell::getTruncatedInt32):
              (KJS::JSNumberCell::getTruncatedUInt32):
              (KJS::GetterSetter::mark):
              (KJS::GetterSetter::toPrimitive):
              (KJS::GetterSetter::getPrimitiveNumber):
              (KJS::GetterSetter::toBoolean):
              (KJS::GetterSetter::toNumber):
              (KJS::GetterSetter::toString):
              (KJS::GetterSetter::toObject):
              (KJS::GetterSetter::getOwnPropertySlot):
              (KJS::GetterSetter::put):
              (KJS::GetterSetter::toThisObject):
              * kjs/internal.h:
              (KJS::JSString::JSString):
              (KJS::JSString::getStringPropertySlot):
              * kjs/nodes.cpp:
              (KJS::FuncDeclNode::makeFunction):
              (KJS::FuncExprNode::makeFunction):
              * kjs/nodes.h:
              * kjs/object.cpp:
              (KJS::JSObject::put):
              (KJS::JSObject::deleteProperty):
              (KJS::JSObject::defineGetter):
              (KJS::JSObject::defineSetter):
              (KJS::JSObject::lookupGetter):
              (KJS::JSObject::lookupSetter):
              (KJS::JSObject::fillGetterPropertySlot):
              * kjs/object.h:
              (KJS::):
              (KJS::GetterSetter::GetterSetter):
              * kjs/operations.cpp:
              (KJS::equal):
              (KJS::strictEqual):
              * kjs/property_map.cpp:
              (KJS::PropertyMap::containsGettersOrSetters):
              * kjs/regexp_object.cpp:
              (KJS::RegExpMatchesArray::getOwnPropertySlot):
              (KJS::RegExpMatchesArray::put):
              (KJS::RegExpMatchesArray::deleteProperty):
              (KJS::RegExpMatchesArray::getPropertyNames):
              (KJS::RegExpMatchesArray::RegExpMatchesArray):
              (KJS::RegExpMatchesArray::fillArrayInstance):
              * kjs/string_object.cpp:
              (KJS::StringInstance::StringInstance):
              (KJS::replace):
              (KJS::stringProtoFuncReplace):
              (KJS::stringProtoFuncToLowerCase):
              (KJS::stringProtoFuncToUpperCase):
              (KJS::stringProtoFuncToLocaleLowerCase):
              (KJS::stringProtoFuncToLocaleUpperCase):
              * kjs/string_object.h:
              (KJS::StringInstance::internalValue):
              * kjs/value.cpp:
              (KJS::JSCell::getNumber):
              (KJS::JSCell::getString):
              (KJS::JSCell::getObject):
              (KJS::jsString):
              (KJS::jsOwnedString):
              * kjs/value.h:
              (KJS::JSNumberCell::JSNumberCell):
              (KJS::jsNumberCell):
              (KJS::JSValue::uncheckedGetNumber):
              * profiler/Profiler.cpp:
              (KJS::createCallIdentifier):
              (KJS::createCallIdentifierFromFunctionImp):
      
      WebCore:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - use JS prefix and simpler names for basic JavaScriptCore types,
                to complement JSValue and JSObject
      
              * bindings/js/JSNavigatorCustom.cpp:
              (WebCore::needsYouTubeQuirk):
              * bindings/js/kjs_events.cpp:
              (WebCore::JSLazyEventListener::parseCode):
              * bridge/jni/jni_utility.cpp:
              (KJS::Bindings::convertArrayInstanceToJavaArray):
              (KJS::Bindings::convertValueToJValue):
              * bridge/qt/qt_runtime.cpp:
              (KJS::Bindings::valueRealType):
              (KJS::Bindings::convertValueToQVariant):
              (KJS::Bindings::QtConnectionObject::execute):
              * bridge/runtime_array.cpp:
      
      WebKit/mac:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - use JS prefix and simpler names for basic JavaScriptCore types,
                to complement JSValue and JSObject
      
              * WebView/WebView.mm:
              (aeDescFromJSValue):
      
      WebKit/win:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - use JS prefix and simpler names for basic JavaScriptCore types,
                to complement JSValue and JSObject
      
              * WebScriptCallFrame.cpp:
              (WebScriptCallFrame::functionName):
      
      WebKitTools:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              * Scripts/do-webcore-rename: Updated for the latest round of renaming.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      980c614d
    • alp@webkit.org's avatar
      Versioning. · 611be9e9
      alp@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      611be9e9
    • mjs@apple.com's avatar
      2008-06-15 Maciej Stachowiak <mjs@apple.com> · 33b7578c
      mjs@apple.com authored
              Reviewed by Alexey.
              
              - add emitUnaryOp, emitNullaryOp and emitUnaryOpNoDst; use them
              
              This removes some boilerplate code and also reduces the number of
              places that will need to be changed to do on-demand emit of
              loads (and thus support k operands).
      
              * VM/CodeGenerator.cpp:
              (KJS::CodeGenerator::emitUnaryOp):
              (KJS::CodeGenerator::emitNullaryOp):
              (KJS::CodeGenerator::emitUnaryOpNoDst):
              (KJS::CodeGenerator::emitPushScope):
              * VM/CodeGenerator.h:
              (KJS::CodeGenerator::emitNewObject):
              (KJS::CodeGenerator::emitNewArray):
              (KJS::CodeGenerator::emitNot):
              (KJS::CodeGenerator::emitBitNot):
              (KJS::CodeGenerator::emitToJSNumber):
              (KJS::CodeGenerator::emitNegate):
              (KJS::CodeGenerator::emitInstanceOf):
              (KJS::CodeGenerator::emitTypeOf):
              (KJS::CodeGenerator::emitIn):
              (KJS::CodeGenerator::emitReturn):
              (KJS::CodeGenerator::emitEnd):
              (KJS::CodeGenerator::emitGetPropertyNames):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33b7578c
    • darin@apple.com's avatar
      2008-06-15 Darin Adler <darin@apple.com> · fb32d42d
      darin@apple.com authored
              Reviewed by Mitz.
      
              - fix https://bugs.webkit.org/show_bug.cgi?id=19556
                REGRESSION (r34544): Crash while visiting bigglook.com
      
              This fix eliminates the crash, but the logic remaining seems a little strange.
              We create an IconRecord and then immediately destroy it. Worth taking another
              look at this later.
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::setIconDataForIconURL): Added code to remove the icon
              just as in the other cases where we might be holding the single reference to it.
              (WebCore::IconDatabase::setIconURLForPageURL): Fixed comment typo.
              (WebCore::IconDatabase::writeToDatabase): Removed unused local variable.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb32d42d
    • weinig@apple.com's avatar
      WebCore: · 3feb4c33
      weinig@apple.com authored
      2008-06-15  Darin Adler  <darin@apple.com>
      
              Reviewed and tweaked by Sam Weinig.
      
              Fix for <rdar://problem/5908591>
              https://bugs.webkit.org/show_bug.cgi?id=18743
      
              Makes DOMImplementation per-document.
      
              Test: http/tests/security/cross-frame-access-DOMImplementation.html
      
              * bindings/objc/DOMImplementationFront.cpp:
              (WebCore::DOMImplementationFront::getInterface):
              * bindings/objc/DOMImplementationFront.h:
              * dom/DOMImplementation.cpp:
              (WebCore::DOMImplementation::hasFeature):
              (WebCore::DOMImplementation::createDocumentType):
              (WebCore::DOMImplementation::getInterface):
              (WebCore::DOMImplementation::createDocument):
              (WebCore::DOMImplementation::createHTMLDocument):
              * dom/DOMImplementation.h:
              (WebCore::DOMImplementation::create):
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::implementation):
              * dom/Document.h:
              (WebCore::Document::create):
              (WebCore::Document::createXHTML):
              * dom/DocumentType.cpp:
              * dom/DocumentType.h:
              (WebCore::DocumentType::create):
              (WebCore::DocumentType::entities):
              (WebCore::DocumentType::notations):
              (WebCore::DocumentType::name):
              (WebCore::DocumentType::publicId):
              (WebCore::DocumentType::systemId):
              (WebCore::DocumentType::internalSubset):
              * dom/Node.cpp:
              (WebCore::Node::isSupported):
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::internalSubset):
              * html/HTMLDocument.cpp:
              (WebCore::HTMLDocument::HTMLDocument):
              * html/HTMLDocument.h:
              (WebCore::HTMLDocument::create):
              (WebCore::HTMLDocument::isHTMLDocument):
              * html/HTMLParser.cpp:
              (WebCore::HTMLParser::parseDoctypeToken):
              * html/HTMLViewSourceDocument.cpp:
              (WebCore::HTMLViewSourceDocument::HTMLViewSourceDocument):
              (WebCore::HTMLViewSourceDocument::createTokenizer):
              * html/HTMLViewSourceDocument.h:
              (WebCore::HTMLViewSourceDocument::create):
              * loader/CachedFont.cpp:
              (WebCore::CachedFont::ensureSVGFontData):
              * loader/FTPDirectoryDocument.cpp:
              (WebCore::FTPDirectoryDocument::FTPDirectoryDocument):
              * loader/FTPDirectoryDocument.h:
              (WebCore::FTPDirectoryDocument::create):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::begin):
              * loader/ImageDocument.cpp:
              (WebCore::ImageDocument::ImageDocument):
              * loader/ImageDocument.h:
              (WebCore::ImageDocument::create):
              (WebCore::ImageDocument::isImageDocument):
              * loader/PluginDocument.cpp:
              (WebCore::PluginDocument::PluginDocument):
              * loader/PluginDocument.h:
              (WebCore::PluginDocument::create):
              (WebCore::PluginDocument::isPluginDocument):
              * loader/TextDocument.cpp:
              (WebCore::TextTokenizer::checkBuffer):
              (WebCore::TextDocument::TextDocument):
              (WebCore::createTextTokenizer):
              * loader/TextDocument.h:
              (WebCore::TextDocument::create):
              * svg/SVGDocument.cpp:
              (WebCore::SVGDocument::SVGDocument):
              * svg/SVGDocument.h:
              (WebCore::SVGDocument::create):
              * svg/SVGElement.cpp:
              (WebCore::SVGElement::isSupported):
              * svg/SVGTests.cpp:
              (WebCore::SVGTests::isValid):
              * xml/DOMParser.cpp:
              (WebCore::DOMParser::parseFromString):
      
      LayoutTests:
      
      2008-06-15  Darin Adler  <darin@apple.com>
      
              Reviewed and tweaked by Sam Weinig.
      
              Test for <rdar://problem/5908591>
              https://bugs.webkit.org/show_bug.cgi?id=18743
      
              * http/tests/security/cross-frame-access-DOMImplementation-expected.txt: Added.
              * http/tests/security/cross-frame-access-DOMImplementation.html: Added.
              * http/tests/security/resources/cross-frame-iframe-for-DOMImplementation-test.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3feb4c33
    • mitz@apple.com's avatar
      Rubber-stamped by Sam Weinig. · 193d4d68
      mitz@apple.com authored
              - copy generic test results from r34449 to platform/win, because the Mac
                behavior is not shared by Windows.
      
              * platform/win/editing/selection/drag-text-delay-expected.txt: Copied from LayoutTests/editing/selection/drag-text-delay-expected.txt.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      193d4d68
    • mitz@apple.com's avatar
      - update Windows copy of generic test results for r34475 · 06bc7ec7
      mitz@apple.com authored
              * platform/win/editing/selection/move-left-right-expected.txt: Replaced with LayoutTests/editing/selection/move-left-right-expected.txt.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06bc7ec7
    • christian@webkit.org's avatar
      f0dedeae
    • christian@webkit.org's avatar
      Tiny documentation fix, s/capacity/limit · 9f65fde2
      christian@webkit.org authored
      Reviewed by Alp Toker.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f65fde2
    • cwzwarich@webkit.org's avatar
      2008-06-15 Cameron Zwarich <cwzwarich@uwaterloo.ca> · dd447ed0
      cwzwarich@webkit.org authored
              Reviewed by Maciej.
      
              Mac build fix.
      
              * WebCore.base.exp:
              * WebCore.order:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd447ed0
    • alp@webkit.org's avatar
      2008-06-15 Alp Toker <alp@nuanti.com> · 643f3eff
      alp@webkit.org authored
              Rubber-stamped by Maciej.
      
              Install 'jsc' application by default.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      643f3eff
    • mjs@apple.com's avatar
      2008-06-15 Maciej Stachowiak <mjs@apple.com> · 1a2baf1f
      mjs@apple.com authored
              Rubber stamped by Oliver.
              
              - fix WebKit solution for testkjs --> jsc rename
      
              * WebKit.vcproj/WebKit.sln:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a2baf1f
    • mjs@apple.com's avatar
      JavaScriptCore: · 13202588
      mjs@apple.com authored
      2008-06-15  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Oliver.
              
              - rename testkjs to jsc
      
              * GNUmakefile.am:
              * JavaScriptCore.vcproj/JavaScriptCore.sln:
              * JavaScriptCore.vcproj/jsc: Added.
              * JavaScriptCore.vcproj/jsc/jsc.vcproj: Copied from JavaScriptCore.vcproj/testkjs/testkjs.vcproj.
              * JavaScriptCore.vcproj/testkjs: Removed.
              * JavaScriptCore.vcproj/testkjs/testkjs.vcproj: Removed.
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * jscore.bkl:
              * kjs/Shell.cpp: Copied from kjs/testkjs.cpp.
              (main):
              (printUsageStatement):
              (jscmain):
              * kjs/jsc.pro: Copied from kjs/testkjs.pro.
              * kjs/testkjs.cpp: Removed.
              * kjs/testkjs.pro: Removed.
              * tests/mozilla/expected.html:
              * tests/mozilla/js1_2/Array/tostring_1.js:
              * tests/mozilla/js1_2/Array/tostring_2.js:
              * tests/mozilla/jsDriver.pl:
      
      WebKitTools:
      
      2008-06-15  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Oliver.
              
              - rename testkjs to jsc
      
              * Scripts/build-jsc: Copied from Scripts/build-testkjs.
              * Scripts/build-testkjs: Removed.
              * Scripts/run-javascriptcore-tests:
              * Scripts/run-jsc: Copied from Scripts/run-testkjs.
              * Scripts/run-sunspider:
              * Scripts/run-testkjs: Removed.
              * Scripts/sunspider-compare-results:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13202588
    • cwzwarich@webkit.org's avatar
      2008-06-15 Cameron Zwarich <cwzwarich@uwaterloo.ca> · 0ce29fde
      cwzwarich@webkit.org authored
              Reviewed by Maciej.
      
              Mac build fix.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * kjs/nodes.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ce29fde
    • cwzwarich@webkit.org's avatar
      2008-06-15 Cameron Zwarich <cwzwarich@uwaterloo.ca> · 7c15e709
      cwzwarich@webkit.org authored
              Reviewed by Maciej.
      
              Change the spelling of PrecMultiplicitave to PrecMultiplicative.
      
              * kjs/nodes.h:
              (KJS::):
              (KJS::MultNode::precedence):
              (KJS::DivNode::precedence):
              (KJS::ModNode::precedence):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c15e709
    • cwzwarich@webkit.org's avatar
      2008-06-15 Cameron Zwarich <cwzwarich@uwaterloo.ca> · fc13377a
      cwzwarich@webkit.org authored
              Reviewed by Maciej.
      
              Remove unused preprocessor macros related to exceptions in the old
              interpreter.
      
              * kjs/nodes.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc13377a
    • cwzwarich@webkit.org's avatar
      2008-06-15 Cameron Zwarich <cwzwarich@uwaterloo.ca> · 875318ae
      cwzwarich@webkit.org authored
              Reviewed by Maciej.
      
              Bug 19484: More instructions needs to use temporary registers
              <https://bugs.webkit.org/show_bug.cgi?id=19484>
      
              Fix codegen for all binary operations so that temporaries are used if
              necessary. This was done by making BinaryOpNode and ReverseBinaryOpNode
              subclasses of ExpressionNode, and eliminating the custom emitCode()
              methods for the individual node classes.
      
              This only adds 3 new instructions to SunSpider code, and there is no
              difference in SunSpider execution time.
      
              JavaScriptCore:
      
              * VM/CodeGenerator.cpp:
              (KJS::CodeGenerator::emitBitNot):
              (KJS::CodeGenerator::emitBinaryOp):
              * VM/CodeGenerator.h:
              * kjs/grammar.y:
              * kjs/nodes.cpp:
              (KJS::PreIncResolveNode::emitCode):
              (KJS::PreDecResolveNode::emitCode):
              (KJS::BinaryOpNode::emitCode):
              (KJS::ReverseBinaryOpNode::emitCode):
              (KJS::emitReadModifyAssignment):
              (KJS::CaseBlockNode::emitCodeForBlock):
              * kjs/nodes.h:
              (KJS::BinaryOpNode::BinaryOpNode):
              (KJS::ReverseBinaryOpNode::ReverseBinaryOpNode):
              (KJS::MultNode::):
              (KJS::DivNode::):
              (KJS::DivNode::precedence):
              (KJS::ModNode::):
              (KJS::ModNode::precedence):
              (KJS::AddNode::):
              (KJS::AddNode::precedence):
              (KJS::SubNode::):
              (KJS::SubNode::precedence):
              (KJS::LeftShiftNode::):
              (KJS::LeftShiftNode::precedence):
              (KJS::RightShiftNode::):
              (KJS::RightShiftNode::precedence):
              (KJS::UnsignedRightShiftNode::):
              (KJS::UnsignedRightShiftNode::precedence):
              (KJS::LessNode::):
              (KJS::LessNode::precedence):
              (KJS::GreaterNode::):
              (KJS::GreaterNode::precedence):
              (KJS::LessEqNode::):
              (KJS::LessEqNode::precedence):
              (KJS::GreaterEqNode::):
              (KJS::GreaterEqNode::precedence):
              (KJS::InstanceOfNode::):
              (KJS::InstanceOfNode::precedence):
              (KJS::InNode::):
              (KJS::InNode::precedence):
              (KJS::EqualNode::):
              (KJS::EqualNode::precedence):
              (KJS::NotEqualNode::):
              (KJS::NotEqualNode::precedence):
              (KJS::StrictEqualNode::):
              (KJS::StrictEqualNode::precedence):
              (KJS::NotStrictEqualNode::):
              (KJS::NotStrictEqualNode::precedence):
              (KJS::BitAndNode::):
              (KJS::BitAndNode::precedence):
              (KJS::BitOrNode::):
              (KJS::BitOrNode::precedence):
              (KJS::BitXOrNode::):
              (KJS::BitXOrNode::precedence):
              * kjs/nodes2string.cpp:
              (KJS::LessNode::streamTo):
              (KJS::GreaterNode::streamTo):
              (KJS::LessEqNode::streamTo):
              (KJS::GreaterEqNode::streamTo):
              (KJS::InstanceOfNode::streamTo):
              (KJS::InNode::streamTo):
              (KJS::EqualNode::streamTo):
              (KJS::NotEqualNode::streamTo):
              (KJS::StrictEqualNode::streamTo):
              (KJS::NotStrictEqualNode::streamTo):
              (KJS::BitAndNode::streamTo):
              (KJS::BitXOrNode::streamTo):
              (KJS::BitOrNode::streamTo):
      
              LayoutTests:
      
              * fast/js/codegen-temporaries-expected.txt:
              * fast/js/resources/codegen-temporaries.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      875318ae
    • darin@apple.com's avatar
      WebCore: · 92aaa2a0
      darin@apple.com authored
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/JSAudioConstructor.h:
              * bindings/js/JSCustomSQLStatementCallback.cpp:
              * bindings/js/JSCustomSQLStatementErrorCallback.cpp:
              * bindings/js/JSCustomSQLTransactionCallback.cpp:
              * bindings/js/JSCustomSQLTransactionErrorCallback.cpp:
              * bindings/js/JSCustomVoidCallback.cpp:
              * bindings/js/JSCustomXPathNSResolver.cpp:
              * bindings/js/JSDOMBinding.cpp: Copied from WebCore/bindings/js/kjs_binding.cpp.
              * bindings/js/JSDOMBinding.h: Copied from WebCore/bindings/js/kjs_binding.h.
              * bindings/js/JSDOMWindowBase.cpp:
              * bindings/js/JSDOMWindowBase.h:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDOMWindowShell.cpp:
              * bindings/js/JSDOMWindowShell.h:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSHTMLCollectionCustom.cpp:
              * bindings/js/JSHTMLFrameElementCustom.cpp:
              * bindings/js/JSHTMLFrameSetElementCustom.cpp:
              * bindings/js/JSHTMLIFrameElementCustom.cpp:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSImageConstructor.h:
              * bindings/js/JSLocationCustom.cpp:
              * bindings/js/JSNamedNodeMapCustom.cpp:
              * bindings/js/JSNamedNodesCollection.h:
              * bindings/js/JSNodeFilterCondition.cpp:
              * bindings/js/JSNodeFilterCustom.cpp:
              * bindings/js/JSRGBColor.h:
              * bindings/js/JSSVGPathSegCustom.cpp:
              * bindings/js/JSXMLHttpRequestConstructor.h:
              * bindings/js/JSXSLTProcessorConstructor.h:
              * bindings/js/JSXSLTProcessorCustom.cpp:
              * bindings/js/ScheduledAction.cpp:
              (WebCore::ScheduledAction::execute):
              * bindings/js/ScriptController.cpp: Copied from WebCore/bindings/js/kjs_proxy.cpp.
              * bindings/js/ScriptController.h: Copied from WebCore/bindings/js/kjs_proxy.h.
              * bindings/js/kjs_binding.cpp: Removed.
              * bindings/js/kjs_binding.h: Removed.
              * bindings/js/kjs_events.cpp:
              (WebCore::JSAbstractEventListener::handleEvent):
              * bindings/js/kjs_html.cpp:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_proxy.cpp: Removed.
              * bindings/js/kjs_proxy.h: Removed.
              * bindings/objc/DOMInternal.mm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bridge/jni/jni_jsobject.mm:
              * dom/Document.cpp:
              * dom/EventTarget.cpp:
              * dom/Node.cpp:
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::startElementNs):
              * history/CachedPage.cpp:
              (WebCore::CachedPage::CachedPage):
              (WebCore::CachedPage::restore):
              * html/HTMLPlugInElement.cpp:
              * html/HTMLScriptElement.cpp:
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::processToken):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::executeScript):
              * page/Frame.cpp:
              (WebCore::Frame::scriptProxy):
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/InspectorController.cpp:
              * page/JavaScriptDebugServer.cpp:
              * page/JavaScriptProfileNode.cpp:
              * page/Page.cpp:
              * page/gtk/FrameGtk.cpp:
              * page/mac/FrameMac.mm:
              * page/qt/FrameQt.cpp:
              * page/win/FrameWin.cpp:
              * plugins/PluginView.cpp:
              (WebCore::getString):
              * plugins/gtk/PluginViewGtk.cpp:
              * plugins/qt/PluginViewQt.cpp:
              * plugins/win/PluginViewWin.cpp:
              * svg/SVGDocumentExtensions.cpp:
              * xml/XMLHttpRequest.cpp:
      
      WebKit/gtk:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * WebCoreSupport/FrameLoaderClientGtk.cpp:
              * webkit/webkitwebframe.cpp:
      
      WebKit/mac:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * WebView/WebFrame.mm:
              * WebView/WebScriptDebugDelegate.mm:
              * WebView/WebView.mm:
      
      WebKit/qt:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * Api/qwebframe.cpp:
              (QWebFrame::evaluateJavaScript):
              * WebKit_pch.h:
      
      WebKit/win:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * WebFrame.cpp:
      
      WebKit/wx:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - new names for kjs_binding.h and kjs_proxy.h
      
              * WebView.cpp:
      
      WebKitTools:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              * Scripts/do-webcore-rename: Moved planned renames into a separate hash
              from the actual renames. Removed many renames that are either done or
              no longer planned.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92aaa2a0
    • darin@apple.com's avatar
      2008-06-14 Darin Adler <darin@apple.com> · 51d6b26b
      darin@apple.com authored
              Rubber stamped by Sam.
      
              - rename a bunch of local symbols within the regular expression code to
                follow our usual coding style, and do a few other name tweaks
      
              * pcre/pcre_compile.cpp:
              (CompileData::CompileData):
              (checkEscape):
              (readRepeatCounts):
              (compileBranch):
              (compileBracket):
              (calculateCompiledPatternLength):
              (returnError):
              (jsRegExpCompile):
              * pcre/pcre_exec.cpp:
              (MatchStack::MatchStack):
              (MatchStack::canUseStackBufferForNextFrame):
              (MatchStack::popCurrentFrame):
              (match):
              (tryFirstByteOptimization):
              (tryRequiredByteOptimization):
              (jsRegExpExecute):
              * pcre/pcre_internal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51d6b26b
    • darin@apple.com's avatar
      WebCore: · 3d8b64f1
      darin@apple.com authored
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - renamed HTMLGenericFormElement to HTMLFormControlElement
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * html/HTMLButtonElement.cpp:
              (WebCore::HTMLButtonElement::HTMLButtonElement):
              (WebCore::HTMLButtonElement::parseMappedAttribute):
              (WebCore::HTMLButtonElement::defaultEventHandler):
              * html/HTMLButtonElement.h:
              * html/HTMLFieldSetElement.cpp:
              (WebCore::HTMLFieldSetElement::HTMLFieldSetElement):
              * html/HTMLFieldSetElement.h:
              * html/HTMLFormCollection.cpp:
              (WebCore::HTMLFormCollection::item):
              (WebCore::HTMLFormCollection::getNamedFormItem):
              (WebCore::HTMLFormCollection::updateNameCache):
              * html/HTMLFormControlElement.cpp: Copied from WebCore/html/HTMLGenericFormElement.cpp.
              * html/HTMLFormControlElement.h: Copied from WebCore/html/HTMLGenericFormElement.h.
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::formData):
              (WebCore::HTMLFormElement::submit):
              (WebCore::HTMLFormElement::formElementIndex):
              (WebCore::HTMLFormElement::registerFormElement):
              (WebCore::HTMLFormElement::removeFormElement):
              (WebCore::HTMLFormElement::elementForAlias):
              (WebCore::HTMLFormElement::addElementAlias):
              (WebCore::HTMLFormElement::getNamedElements):
              (WebCore::HTMLFormElement::CheckedRadioButtons::addButton):
              (WebCore::HTMLFormElement::CheckedRadioButtons::removeButton):
              * html/HTMLFormElement.h:
              * html/HTMLGenericFormElement.cpp: Removed.
              * html/HTMLGenericFormElement.h: Removed.
              * html/HTMLInputElement.h:
              * html/HTMLIsIndexElement.cpp:
              (WebCore::HTMLIsIndexElement::parseMappedAttribute):
              * html/HTMLKeygenElement.cpp:
              (WebCore::HTMLKeygenElement::parseMappedAttribute):
              * html/HTMLLegendElement.cpp:
              (WebCore::HTMLLegendElement::HTMLLegendElement):
              * html/HTMLLegendElement.h:
              * html/HTMLOptGroupElement.cpp:
              (WebCore::HTMLOptGroupElement::HTMLOptGroupElement):
              (WebCore::HTMLOptGroupElement::insertBefore):
              (WebCore::HTMLOptGroupElement::replaceChild):
              (WebCore::HTMLOptGroupElement::removeChild):
              (WebCore::HTMLOptGroupElement::appendChild):
              (WebCore::HTMLOptGroupElement::removeChildren):
              (WebCore::HTMLOptGroupElement::childrenChanged):
              (WebCore::HTMLOptGroupElement::parseMappedAttribute):
              (WebCore::HTMLOptGroupElement::attach):
              (WebCore::HTMLOptGroupElement::detach):
              * html/HTMLOptGroupElement.h:
              * html/HTMLOptionElement.cpp:
              (WebCore::HTMLOptionElement::HTMLOptionElement):
              (WebCore::HTMLOptionElement::attach):
              (WebCore::HTMLOptionElement::detach):
              (WebCore::HTMLOptionElement::parseMappedAttribute):
              (WebCore::HTMLOptionElement::childrenChanged):
              (WebCore::HTMLOptionElement::disabled):
              (WebCore::HTMLOptionElement::insertedIntoDocument):
              * html/HTMLOptionElement.h:
              * html/HTMLSelectElement.h:
              * html/HTMLTextAreaElement.h:
              * page/Frame.cpp:
              (WebCore::scanForForm):
              (WebCore::Frame::currentForm):
              * page/mac/FrameMac.mm:
              * rendering/RenderFieldset.cpp:
              (WebCore::RenderFieldset::RenderFieldset):
              * rendering/RenderFieldset.h:
              * rendering/RenderLegend.cpp:
              (WebCore::RenderLegend::RenderLegend):
              * rendering/RenderLegend.h:
              * rendering/RenderTextControl.cpp:
              (WebCore::RenderTextControl::createInnerTextStyle):
              (WebCore::RenderTextControl::updateFromElement):
              (WebCore::RenderTextControl::subtreeHasChanged):
              (WebCore::RenderTextControl::selectionChanged):
      
      WebKit/mac:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - renamed HTMLGenericFormElement to HTMLFormControlElement
      
              * WebView/WebHTMLRepresentation.mm:
              (-[WebHTMLRepresentation elementWithName:inForm:]):
              (-[WebHTMLRepresentation controlsInForm:]):
      
      WebKit/win:
      
      2008-06-14  Darin Adler  <darin@apple.com>
      
              Rubber stamped by Sam.
      
              - renamed HTMLGenericFormElement to HTMLFormControlElement
      
              * WebFrame.cpp:
              (WebFrame::elementWithName):
              (WebFrame::controlsInForm):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d8b64f1
  2. 14 Jun, 2008 12 commits