1. 15 Aug, 2013 1 commit
    • fpizlo@apple.com's avatar
      Typed arrays should be rewritten · 0e0d9312
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119064
      
      .: 
      
      Reviewed by Oliver Hunt.
      
      Automake work courtesy of Zan Dobersek <zdobersek@igalia.com>.
      
      * Source/autotools/symbols.filter:
      
      Source/JavaScriptCore: 
      
      Reviewed by Oliver Hunt.
              
      Typed arrays were previously deficient in several major ways:
              
      - They were defined separately in WebCore and in the jsc shell. The two
        implementations were different, and the jsc shell one was basically wrong.
        The WebCore one was quite awful, also.
              
      - Typed arrays were not visible to the JIT except through some weird hooks.
        For example, the JIT could not ask "what is the Structure that this typed
        array would have if I just allocated it from this global object". Also,
        it was difficult to wire any of the typed array intrinsics, because most
        of the functionality wasn't visible anywhere in JSC.
              
      - Typed array allocation was brain-dead. Allocating a typed array involved
        two JS objects, two GC weak handles, and three malloc allocations.
              
      - Neutering. It involved keeping tabs on all native views but not the view
        wrappers, even though the native views can autoneuter just by asking the
        buffer if it was neutered anytime you touch them; while the JS view
        wrappers are the ones that you really want to reach out to.
              
      - Common case-ing. Most typed arrays have one buffer and one view, and
        usually nobody touches the buffer. Yet we created all of that stuff
        anyway, using data structures optimized for the case where you had a lot
        of views.
              
      - Semantic goofs. Typed arrays should, in the future, behave like ES
        features rather than DOM features, for example when it comes to exceptions.
        Firefox already does this and I agree with them.
              
      This patch cleanses our codebase of these sins:
              
      - Typed arrays are almost entirely defined in JSC. Only the lifecycle
        management of native references to buffers is left to WebCore.
              
      - Allocating a typed array requires either two GC allocations (a cell and a
        copied storage vector) or one GC allocation, a malloc allocation, and a
        weak handle (a cell and a malloc'd storage vector, plus a finalizer for the
        latter). The latter is only used for oversize arrays. Remember that before
        it was 7 allocations no matter what.
              
      - Typed arrays require just 4 words of overhead: Structure*, Butterfly*,
        mode/length, void* vector. Before it was a lot more than that - remember,
        there were five additional objects that did absolutely nothing for anybody.
              
      - Native views aren't tracked by the buffer, or by the wrappers. They are
        transient. In the future we'll probably switch to not even having them be
        malloc'd.
              
      - Native array buffers have an efficient way of tracking all of their JS view
        wrappers, both for neutering, and for lifecycle management. The GC
        special-cases native array buffers. This saves a bunch of grief; for example
        it means that a JS view wrapper can refer to its buffer via the butterfly,
        which would be dead by the time we went to finalize.
              
      - Typed array semantics now match Firefox, which also happens to be where the
        standards are going. The discussion on webkit-dev seemed to confirm that
        Chrome is also heading in this direction. This includes making
        Uint8ClampedArray not a subtype of Uint8Array, and getting rid of
        ArrayBufferView as a JS-visible construct.
              
      This is up to a 10x speed-up on programs that allocate a lot of typed arrays.
      It's a 1% speed-up on Octane. It also opens up a bunch of possibilities for
      further typed array optimizations in the JSC JITs, including inlining typed
      array allocation, inlining more of the accessors, reducing the cost of type
      checks, etc.
              
      An additional property of this patch is that typed arrays are mostly
      implemented using templates. This deduplicates a bunch of code, but does mean
      that we need some hacks for exporting s_info's of template classes. See
      JSGenericTypedArrayView.h and JSTypedArrays.cpp. Those hacks are fairly
      low-impact compared to code duplication.
              
      Automake work courtesy of Zan Dobersek <zdobersek@igalia.com>.
      
      * CMakeLists.txt:
      * DerivedSources.make:
      * GNUmakefile.list.am:
      * JSCTypedArrayStubs.h: Removed.
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * Target.pri:
      * bytecode/ByValInfo.h:
      (JSC::hasOptimizableIndexingForClassInfo):
      (JSC::jitArrayModeForClassInfo):
      (JSC::typedArrayTypeForJITArrayMode):
      * bytecode/SpeculatedType.cpp:
      (JSC::speculationFromClassInfo):
      * dfg/DFGArrayMode.cpp:
      (JSC::DFG::toTypedArrayType):
      * dfg/DFGArrayMode.h:
      (JSC::DFG::ArrayMode::typedArrayType):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::checkArray):
      (JSC::DFG::SpeculativeJIT::compileGetByValOnIntTypedArray):
      (JSC::DFG::SpeculativeJIT::compilePutByValForIntTypedArray):
      (JSC::DFG::SpeculativeJIT::compileGetByValOnFloatTypedArray):
      (JSC::DFG::SpeculativeJIT::compilePutByValForFloatTypedArray):
      (JSC::DFG::SpeculativeJIT::compileGetIndexedPropertyStorage):
      (JSC::DFG::SpeculativeJIT::compileGetArrayLength):
      * dfg/DFGSpeculativeJIT.h:
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGSpeculativeJIT64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      * heap/CopyToken.h:
      * heap/DeferGC.h:
      (JSC::DeferGCForAWhile::DeferGCForAWhile):
      (JSC::DeferGCForAWhile::~DeferGCForAWhile):
      * heap/GCIncomingRefCounted.h: Added.
      (JSC::GCIncomingRefCounted::GCIncomingRefCounted):
      (JSC::GCIncomingRefCounted::~GCIncomingRefCounted):
      (JSC::GCIncomingRefCounted::numberOfIncomingReferences):
      (JSC::GCIncomingRefCounted::incomingReferenceAt):
      (JSC::GCIncomingRefCounted::singletonFlag):
      (JSC::GCIncomingRefCounted::hasVectorOfCells):
      (JSC::GCIncomingRefCounted::hasAnyIncoming):
      (JSC::GCIncomingRefCounted::hasSingleton):
      (JSC::GCIncomingRefCounted::singleton):
      (JSC::GCIncomingRefCounted::vectorOfCells):
      * heap/GCIncomingRefCountedInlines.h: Added.
      (JSC::::addIncomingReference):
      (JSC::::filterIncomingReferences):
      * heap/GCIncomingRefCountedSet.h: Added.
      (JSC::GCIncomingRefCountedSet::size):
      * heap/GCIncomingRefCountedSetInlines.h: Added.
      (JSC::::GCIncomingRefCountedSet):
      (JSC::::~GCIncomingRefCountedSet):
      (JSC::::addReference):
      (JSC::::sweep):
      (JSC::::removeAll):
      (JSC::::removeDead):
      * heap/Heap.cpp:
      (JSC::Heap::addReference):
      (JSC::Heap::extraSize):
      (JSC::Heap::size):
      (JSC::Heap::capacity):
      (JSC::Heap::collect):
      (JSC::Heap::decrementDeferralDepth):
      (JSC::Heap::decrementDeferralDepthAndGCIfNeeded):
      * heap/Heap.h:
      * interpreter/CallFrame.h:
      (JSC::ExecState::dataViewTable):
      * jit/JIT.h:
      * jit/JITPropertyAccess.cpp:
      (JSC::JIT::privateCompileGetByVal):
      (JSC::JIT::privateCompilePutByVal):
      (JSC::JIT::emitIntTypedArrayGetByVal):
      (JSC::JIT::emitFloatTypedArrayGetByVal):
      (JSC::JIT::emitIntTypedArrayPutByVal):
      (JSC::JIT::emitFloatTypedArrayPutByVal):
      * jsc.cpp:
      (GlobalObject::finishCreation):
      * runtime/ArrayBuffer.cpp:
      (JSC::ArrayBuffer::transfer):
      * runtime/ArrayBuffer.h:
      (JSC::ArrayBuffer::createAdopted):
      (JSC::ArrayBuffer::ArrayBuffer):
      (JSC::ArrayBuffer::gcSizeEstimateInBytes):
      (JSC::ArrayBuffer::pin):
      (JSC::ArrayBuffer::unpin):
      (JSC::ArrayBufferContents::tryAllocate):
      * runtime/ArrayBufferView.cpp:
      (JSC::ArrayBufferView::ArrayBufferView):
      (JSC::ArrayBufferView::~ArrayBufferView):
      (JSC::ArrayBufferView::setNeuterable):
      * runtime/ArrayBufferView.h:
      (JSC::ArrayBufferView::isNeutered):
      (JSC::ArrayBufferView::buffer):
      (JSC::ArrayBufferView::baseAddress):
      (JSC::ArrayBufferView::byteOffset):
      (JSC::ArrayBufferView::verifySubRange):
      (JSC::ArrayBufferView::clampOffsetAndNumElements):
      (JSC::ArrayBufferView::calculateOffsetAndLength):
      * runtime/ClassInfo.h:
      * runtime/CommonIdentifiers.h:
      * runtime/DataView.cpp: Added.
      (JSC::DataView::DataView):
      (JSC::DataView::create):
      (JSC::DataView::wrap):
      * runtime/DataView.h: Added.
      (JSC::DataView::byteLength):
      (JSC::DataView::getType):
      (JSC::DataView::get):
      (JSC::DataView::set):
      * runtime/Float32Array.h:
      * runtime/Float64Array.h:
      * runtime/GenericTypedArrayView.h: Added.
      (JSC::GenericTypedArrayView::data):
      (JSC::GenericTypedArrayView::set):
      (JSC::GenericTypedArrayView::setRange):
      (JSC::GenericTypedArrayView::zeroRange):
      (JSC::GenericTypedArrayView::zeroFill):
      (JSC::GenericTypedArrayView::length):
      (JSC::GenericTypedArrayView::byteLength):
      (JSC::GenericTypedArrayView::item):
      (JSC::GenericTypedArrayView::checkInboundData):
      (JSC::GenericTypedArrayView::getType):
      * runtime/GenericTypedArrayViewInlines.h: Added.
      (JSC::::GenericTypedArrayView):
      (JSC::::create):
      (JSC::::createUninitialized):
      (JSC::::subarray):
      (JSC::::wrap):
      * runtime/IndexingHeader.h:
      (JSC::IndexingHeader::arrayBuffer):
      (JSC::IndexingHeader::setArrayBuffer):
      * runtime/Int16Array.h:
      * runtime/Int32Array.h:
      * runtime/Int8Array.h:
      * runtime/JSArrayBuffer.cpp: Added.
      (JSC::JSArrayBuffer::JSArrayBuffer):
      (JSC::JSArrayBuffer::finishCreation):
      (JSC::JSArrayBuffer::create):
      (JSC::JSArrayBuffer::createStructure):
      (JSC::JSArrayBuffer::getOwnPropertySlot):
      (JSC::JSArrayBuffer::getOwnPropertyDescriptor):
      (JSC::JSArrayBuffer::put):
      (JSC::JSArrayBuffer::defineOwnProperty):
      (JSC::JSArrayBuffer::deleteProperty):
      (JSC::JSArrayBuffer::getOwnNonIndexPropertyNames):
      * runtime/JSArrayBuffer.h: Added.
      (JSC::JSArrayBuffer::impl):
      (JSC::toArrayBuffer):
      * runtime/JSArrayBufferConstructor.cpp: Added.
      (JSC::JSArrayBufferConstructor::JSArrayBufferConstructor):
      (JSC::JSArrayBufferConstructor::finishCreation):
      (JSC::JSArrayBufferConstructor::create):
      (JSC::JSArrayBufferConstructor::createStructure):
      (JSC::constructArrayBuffer):
      (JSC::JSArrayBufferConstructor::getConstructData):
      (JSC::JSArrayBufferConstructor::getCallData):
      * runtime/JSArrayBufferConstructor.h: Added.
      * runtime/JSArrayBufferPrototype.cpp: Added.
      (JSC::arrayBufferProtoFuncSlice):
      (JSC::JSArrayBufferPrototype::JSArrayBufferPrototype):
      (JSC::JSArrayBufferPrototype::finishCreation):
      (JSC::JSArrayBufferPrototype::create):
      (JSC::JSArrayBufferPrototype::createStructure):
      * runtime/JSArrayBufferPrototype.h: Added.
      * runtime/JSArrayBufferView.cpp: Added.
      (JSC::JSArrayBufferView::ConstructionContext::ConstructionContext):
      (JSC::JSArrayBufferView::JSArrayBufferView):
      (JSC::JSArrayBufferView::finishCreation):
      (JSC::JSArrayBufferView::getOwnPropertySlot):
      (JSC::JSArrayBufferView::getOwnPropertyDescriptor):
      (JSC::JSArrayBufferView::put):
      (JSC::JSArrayBufferView::defineOwnProperty):
      (JSC::JSArrayBufferView::deleteProperty):
      (JSC::JSArrayBufferView::getOwnNonIndexPropertyNames):
      (JSC::JSArrayBufferView::finalize):
      * runtime/JSArrayBufferView.h: Added.
      (JSC::JSArrayBufferView::sizeOf):
      (JSC::JSArrayBufferView::ConstructionContext::operator!):
      (JSC::JSArrayBufferView::ConstructionContext::structure):
      (JSC::JSArrayBufferView::ConstructionContext::vector):
      (JSC::JSArrayBufferView::ConstructionContext::length):
      (JSC::JSArrayBufferView::ConstructionContext::mode):
      (JSC::JSArrayBufferView::ConstructionContext::butterfly):
      (JSC::JSArrayBufferView::mode):
      (JSC::JSArrayBufferView::vector):
      (JSC::JSArrayBufferView::length):
      (JSC::JSArrayBufferView::offsetOfVector):
      (JSC::JSArrayBufferView::offsetOfLength):
      (JSC::JSArrayBufferView::offsetOfMode):
      * runtime/JSArrayBufferViewInlines.h: Added.
      (JSC::JSArrayBufferView::slowDownAndWasteMemoryIfNecessary):
      (JSC::JSArrayBufferView::buffer):
      (JSC::JSArrayBufferView::impl):
      (JSC::JSArrayBufferView::neuter):
      (JSC::JSArrayBufferView::byteOffset):
      * runtime/JSCell.cpp:
      (JSC::JSCell::slowDownAndWasteMemory):
      (JSC::JSCell::getTypedArrayImpl):
      * runtime/JSCell.h:
      * runtime/JSDataView.cpp: Added.
      (JSC::JSDataView::JSDataView):
      (JSC::JSDataView::create):
      (JSC::JSDataView::createUninitialized):
      (JSC::JSDataView::set):
      (JSC::JSDataView::typedImpl):
      (JSC::JSDataView::getOwnPropertySlot):
      (JSC::JSDataView::getOwnPropertyDescriptor):
      (JSC::JSDataView::slowDownAndWasteMemory):
      (JSC::JSDataView::getTypedArrayImpl):
      (JSC::JSDataView::createStructure):
      * runtime/JSDataView.h: Added.
      * runtime/JSDataViewPrototype.cpp: Added.
      (JSC::JSDataViewPrototype::JSDataViewPrototype):
      (JSC::JSDataViewPrototype::create):
      (JSC::JSDataViewPrototype::createStructure):
      (JSC::JSDataViewPrototype::getOwnPropertySlot):
      (JSC::JSDataViewPrototype::getOwnPropertyDescriptor):
      (JSC::getData):
      (JSC::setData):
      (JSC::dataViewProtoFuncGetInt8):
      (JSC::dataViewProtoFuncGetInt16):
      (JSC::dataViewProtoFuncGetInt32):
      (JSC::dataViewProtoFuncGetUint8):
      (JSC::dataViewProtoFuncGetUint16):
      (JSC::dataViewProtoFuncGetUint32):
      (JSC::dataViewProtoFuncGetFloat32):
      (JSC::dataViewProtoFuncGetFloat64):
      (JSC::dataViewProtoFuncSetInt8):
      (JSC::dataViewProtoFuncSetInt16):
      (JSC::dataViewProtoFuncSetInt32):
      (JSC::dataViewProtoFuncSetUint8):
      (JSC::dataViewProtoFuncSetUint16):
      (JSC::dataViewProtoFuncSetUint32):
      (JSC::dataViewProtoFuncSetFloat32):
      (JSC::dataViewProtoFuncSetFloat64):
      * runtime/JSDataViewPrototype.h: Added.
      * runtime/JSFloat32Array.h: Added.
      * runtime/JSFloat64Array.h: Added.
      * runtime/JSGenericTypedArrayView.h: Added.
      (JSC::JSGenericTypedArrayView::byteLength):
      (JSC::JSGenericTypedArrayView::byteSize):
      (JSC::JSGenericTypedArrayView::typedVector):
      (JSC::JSGenericTypedArrayView::canGetIndexQuickly):
      (JSC::JSGenericTypedArrayView::canSetIndexQuickly):
      (JSC::JSGenericTypedArrayView::getIndexQuicklyAsNativeValue):
      (JSC::JSGenericTypedArrayView::getIndexQuicklyAsDouble):
      (JSC::JSGenericTypedArrayView::getIndexQuickly):
      (JSC::JSGenericTypedArrayView::setIndexQuicklyToNativeValue):
      (JSC::JSGenericTypedArrayView::setIndexQuicklyToDouble):
      (JSC::JSGenericTypedArrayView::setIndexQuickly):
      (JSC::JSGenericTypedArrayView::canAccessRangeQuickly):
      (JSC::JSGenericTypedArrayView::typedImpl):
      (JSC::JSGenericTypedArrayView::createStructure):
      (JSC::JSGenericTypedArrayView::info):
      (JSC::toNativeTypedView):
      * runtime/JSGenericTypedArrayViewConstructor.h: Added.
      * runtime/JSGenericTypedArrayViewConstructorInlines.h: Added.
      (JSC::::JSGenericTypedArrayViewConstructor):
      (JSC::::finishCreation):
      (JSC::::create):
      (JSC::::createStructure):
      (JSC::constructGenericTypedArrayView):
      (JSC::::getConstructData):
      (JSC::::getCallData):
      * runtime/JSGenericTypedArrayViewInlines.h: Added.
      (JSC::::JSGenericTypedArrayView):
      (JSC::::create):
      (JSC::::createUninitialized):
      (JSC::::validateRange):
      (JSC::::setWithSpecificType):
      (JSC::::set):
      (JSC::::getOwnPropertySlot):
      (JSC::::getOwnPropertyDescriptor):
      (JSC::::put):
      (JSC::::defineOwnProperty):
      (JSC::::deleteProperty):
      (JSC::::getOwnPropertySlotByIndex):
      (JSC::::putByIndex):
      (JSC::::deletePropertyByIndex):
      (JSC::::getOwnNonIndexPropertyNames):
      (JSC::::getOwnPropertyNames):
      (JSC::::visitChildren):
      (JSC::::copyBackingStore):
      (JSC::::slowDownAndWasteMemory):
      (JSC::::getTypedArrayImpl):
      * runtime/JSGenericTypedArrayViewPrototype.h: Added.
      * runtime/JSGenericTypedArrayViewPrototypeInlines.h: Added.
      (JSC::genericTypedArrayViewProtoFuncSet):
      (JSC::genericTypedArrayViewProtoFuncSubarray):
      (JSC::::JSGenericTypedArrayViewPrototype):
      (JSC::::finishCreation):
      (JSC::::create):
      (JSC::::createStructure):
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::reset):
      (JSC::JSGlobalObject::visitChildren):
      * runtime/JSGlobalObject.h:
      (JSC::JSGlobalObject::arrayBufferPrototype):
      (JSC::JSGlobalObject::arrayBufferStructure):
      (JSC::JSGlobalObject::typedArrayStructure):
      * runtime/JSInt16Array.h: Added.
      * runtime/JSInt32Array.h: Added.
      * runtime/JSInt8Array.h: Added.
      * runtime/JSTypedArrayConstructors.cpp: Added.
      * runtime/JSTypedArrayConstructors.h: Added.
      * runtime/JSTypedArrayPrototypes.cpp: Added.
      * runtime/JSTypedArrayPrototypes.h: Added.
      * runtime/JSTypedArrays.cpp: Added.
      * runtime/JSTypedArrays.h: Added.
      * runtime/JSUint16Array.h: Added.
      * runtime/JSUint32Array.h: Added.
      * runtime/JSUint8Array.h: Added.
      * runtime/JSUint8ClampedArray.h: Added.
      * runtime/Operations.h:
      * runtime/Options.h:
      * runtime/SimpleTypedArrayController.cpp: Added.
      (JSC::SimpleTypedArrayController::SimpleTypedArrayController):
      (JSC::SimpleTypedArrayController::~SimpleTypedArrayController):
      (JSC::SimpleTypedArrayController::toJS):
      * runtime/SimpleTypedArrayController.h: Added.
      * runtime/Structure.h:
      (JSC::Structure::couldHaveIndexingHeader):
      * runtime/StructureInlines.h:
      (JSC::Structure::hasIndexingHeader):
      * runtime/TypedArrayAdaptors.h: Added.
      (JSC::IntegralTypedArrayAdaptor::toNative):
      (JSC::IntegralTypedArrayAdaptor::toJSValue):
      (JSC::IntegralTypedArrayAdaptor::toDouble):
      (JSC::FloatTypedArrayAdaptor::toNative):
      (JSC::FloatTypedArrayAdaptor::toJSValue):
      (JSC::FloatTypedArrayAdaptor::toDouble):
      (JSC::Uint8ClampedAdaptor::toNative):
      (JSC::Uint8ClampedAdaptor::toJSValue):
      (JSC::Uint8ClampedAdaptor::toDouble):
      (JSC::Uint8ClampedAdaptor::clamp):
      * runtime/TypedArrayController.cpp: Added.
      (JSC::TypedArrayController::TypedArrayController):
      (JSC::TypedArrayController::~TypedArrayController):
      * runtime/TypedArrayController.h: Added.
      * runtime/TypedArrayDescriptor.h: Removed.
      * runtime/TypedArrayInlines.h: Added.
      * runtime/TypedArrayType.cpp: Added.
      (JSC::classInfoForType):
      (WTF::printInternal):
      * runtime/TypedArrayType.h: Added.
      (JSC::toIndex):
      (JSC::isTypedView):
      (JSC::elementSize):
      (JSC::isInt):
      (JSC::isFloat):
      (JSC::isSigned):
      (JSC::isClamped):
      * runtime/TypedArrays.h: Added.
      * runtime/Uint16Array.h:
      * runtime/Uint32Array.h:
      * runtime/Uint8Array.h:
      * runtime/Uint8ClampedArray.h:
      * runtime/VM.cpp:
      (JSC::VM::VM):
      (JSC::VM::~VM):
      * runtime/VM.h:
      
      Source/WebCore: 
      
      Reviewed by Oliver Hunt.
      
      Typed arrays are now implemented in JavaScriptCore, and WebCore is merely a
      client of them. There is only one layering violation: WebCore installs a
      WebCoreTypedArrayController on VM, which makes the
      ArrayBuffer<->JSArrayBuffer relationship resemble DOM wrappers. By default,
      JSC makes the ownership go one way; the JSArrayBuffer keeps the ArrayBuffer
      alive but if ArrayBuffer is kept alive from native code then the
      JSArrayByffer may die. WebCoreTypedArrayController will keep the
      JSArrayBuffer alive if the ArrayBuffer is in the opaque root set.
              
      To make non-JSDOMWrappers behave like DOM wrappers, a bunch of code is
      changed to make most references to wrappers refer to JSObject* rather than
      JSDOMWrapper*.
              
      Array buffer views are now transient; the JS array buffer view wrappers
      don't own them or keep them alive. This required a bunch of changes to make
      bindings code use RefPtr<ArrayBufferView> to hold onto their views.
              
      Also there is a bunch of new code to make JSC-provided array buffers and
      views obey the toJS/to<ClassName> idiom for wrapping and unwrapping.
              
      Finally, the DataView API is now completely different: the JSDataView
      provides the same user-visible JS API but using its own internal magic; the
      C++ code that uses DataView now uses a rather different API that is not
      aware of usual DOM semantics, since it's in JSC and not WebCore. It's
      equally useful for all of WebCore's purposes, but some code had to change
      to adapt the new conventions.
              
      Some tests have been changed or rebased due to changes in behavior, that
      bring us into conformance with where the standards are going and allow us to
      match Firefox behavior.
      
      Automake work and some additional GTK changes courtesy of
      Zan Dobersek <zdobersek@igalia.com>.
              
      Additional Qt changes courtesy of Arunprasad Rajkumar <arurajku@cisco.com>.
      
      * CMakeLists.txt:
      * DerivedSources.make:
      * ForwardingHeaders/runtime/DataView.h: Added.
      * ForwardingHeaders/runtime/JSArrayBuffer.h: Added.
      * ForwardingHeaders/runtime/JSArrayBufferView.h: Added.
      * ForwardingHeaders/runtime/JSDataView.h: Added.
      * ForwardingHeaders/runtime/JSTypedArrays.h: Added.
      * ForwardingHeaders/runtime/TypedArrayController.h: Added.
      * ForwardingHeaders/runtime/TypedArrayInlines.h: Added.
      * ForwardingHeaders/runtime/TypedArrays.h: Added.
      * GNUmakefile.list.am:
      * Modules/webaudio/RealtimeAnalyser.h:
      * Target.pri:
      * UseJSC.cmake:
      * WebCore.exp.in:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/DOMWrapperWorld.h:
      * bindings/js/JSArrayBufferCustom.cpp: Removed.
      * bindings/js/JSArrayBufferViewHelper.h: Removed.
      * bindings/js/JSAudioContextCustom.cpp:
      * bindings/js/JSBindingsAllInOne.cpp:
      * bindings/js/JSBlobCustom.cpp:
      * bindings/js/JSCSSRuleCustom.cpp:
      (WebCore::toJS):
      * bindings/js/JSCSSValueCustom.cpp:
      (WebCore::toJS):
      * bindings/js/JSCryptoCustom.cpp:
      (WebCore::JSCrypto::getRandomValues):
      * bindings/js/JSDOMBinding.h:
      (WebCore::wrapperOwner):
      (WebCore::wrapperContext):
      (WebCore::getInlineCachedWrapper):
      (WebCore::setInlineCachedWrapper):
      (WebCore::clearInlineCachedWrapper):
      (WebCore::getCachedWrapper):
      (WebCore::cacheWrapper):
      (WebCore::uncacheWrapper):
      (WebCore::wrap):
      (WebCore::toJS):
      (WebCore::toArrayBufferView):
      (WebCore::toInt8Array):
      (WebCore::toInt16Array):
      (WebCore::toInt32Array):
      (WebCore::toUint8Array):
      (WebCore::toUint8ClampedArray):
      (WebCore::toUint16Array):
      (WebCore::toUint32Array):
      (WebCore::toFloat32Array):
      (WebCore::toFloat64Array):
      (WebCore::toDataView):
      * bindings/js/JSDataViewCustom.cpp: Removed.
      * bindings/js/JSDictionary.cpp:
      * bindings/js/JSDictionary.h:
      * bindings/js/JSDocumentCustom.cpp:
      (WebCore::JSDocument::location):
      (WebCore::toJS):
      * bindings/js/JSEventCustom.cpp:
      (WebCore::toJS):
      * bindings/js/JSFileReaderCustom.cpp:
      * bindings/js/JSHTMLCollectionCustom.cpp:
      (WebCore::toJS):
      * bindings/js/JSHTMLTemplateElementCustom.cpp:
      (WebCore::JSHTMLTemplateElement::content):
      * bindings/js/JSImageDataCustom.cpp:
      (WebCore::toJS):
      * bindings/js/JSInjectedScriptHostCustom.cpp:
      * bindings/js/JSMessageEventCustom.cpp:
      * bindings/js/JSMessagePortCustom.cpp:
      * bindings/js/JSSVGPathSegCustom.cpp:
      (WebCore::toJS):
      * bindings/js/JSStyleSheetCustom.cpp:
      (WebCore::toJS):
      * bindings/js/JSTrackCustom.cpp:
      (WebCore::toJS):
      * bindings/js/JSWebGLRenderingContextCustom.cpp:
      * bindings/js/JSXMLHttpRequestCustom.cpp:
      (WebCore::JSXMLHttpRequest::send):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::SerializedScriptValue::transferArrayBuffers):
      * bindings/js/WebCoreJSClientData.h:
      (WebCore::initNormalWorldClientData):
      * bindings/js/WebCoreTypedArrayController.cpp: Added.
      (WebCore::WebCoreTypedArrayController::WebCoreTypedArrayController):
      (WebCore::WebCoreTypedArrayController::~WebCoreTypedArrayController):
      (WebCore::WebCoreTypedArrayController::toJS):
      (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::isReachableFromOpaqueRoots):
      (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::finalize):
      * bindings/js/WebCoreTypedArrayController.h: Added.
      (WebCore::WebCoreTypedArrayController::wrapperOwner):
      * bindings/scripts/CodeGenerator.pm:
      (ForAllParents):
      (ParseInterface):
      (SkipIncludeHeader):
      (IsTypedArrayType):
      (IsWrapperType):
      * bindings/scripts/CodeGeneratorJS.pm:
      (AddIncludesForType):
      (GenerateHeader):
      (GenerateImplementation):
      (GenerateParametersCheck):
      (GetNativeType):
      (JSValueToNative):
      (NativeToJSValue):
      (GenerateConstructorDefinition):
      (GenerateConstructorHelperMethods):
      * fileapi/WebKitBlobBuilder.cpp:
      (WebCore::BlobBuilder::append):
      * fileapi/WebKitBlobBuilder.h:
      * html/canvas/ArrayBuffer.idl: Removed.
      * html/canvas/ArrayBufferView.idl: Removed.
      * html/canvas/DataView.cpp: Removed.
      * html/canvas/DataView.h: Removed.
      * html/canvas/DataView.idl: Removed.
      * html/canvas/Float32Array.idl: Removed.
      * html/canvas/Float64Array.idl: Removed.
      * html/canvas/Int16Array.idl: Removed.
      * html/canvas/Int32Array.idl: Removed.
      * html/canvas/Int8Array.idl: Removed.
      * html/canvas/Uint16Array.idl: Removed.
      * html/canvas/Uint32Array.idl: Removed.
      * html/canvas/Uint8Array.idl: Removed.
      * html/canvas/Uint8ClampedArray.idl: Removed.
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore::WebGLRenderingContext::readPixels):
      (WebCore::WebGLRenderingContext::validateTexFuncData):
      * page/Crypto.cpp:
      * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
      (WebCore::MediaPlayerPrivateAVFoundationObjC::shouldWaitForLoadingOfResource):
      (WebCore::MediaPlayerPrivateAVFoundationObjC::extractKeyURIKeyIDAndCertificateFromInitData):
      * platform/graphics/filters/FECustomFilter.h:
      * platform/graphics/filters/FEGaussianBlur.cpp:
      * platform/graphics/filters/FilterEffect.cpp:
      * testing/MockCDM.cpp:
      
      Source/WebKit2: 
      
      Reviewed by Oliver Hunt.
              
      You don't need to include JSUint8Array anymore if you just want to
      unwrap one; JSDOMBinding gives you all of the things you need.
      
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      
      Source/WTF: 
      
      Reviewed by Oliver Hunt.
              
      - Added the notion of a reference counted object that can be marked Deferred,
        which is like a special-purpose upref.
              
      - Added a common byte flipper.
      
      Automake work courtesy of Zan Dobersek <zdobersek@igalia.com>.
      
      * GNUmakefile.list.am:
      * WTF.xcodeproj/project.pbxproj:
      * wtf/DeferrableRefCounted.h: Added.
      (WTF::DeferrableRefCountedBase::ref):
      (WTF::DeferrableRefCountedBase::hasOneRef):
      (WTF::DeferrableRefCountedBase::refCount):
      (WTF::DeferrableRefCountedBase::isDeferred):
      (WTF::DeferrableRefCountedBase::DeferrableRefCountedBase):
      (WTF::DeferrableRefCountedBase::~DeferrableRefCountedBase):
      (WTF::DeferrableRefCountedBase::derefBase):
      (WTF::DeferrableRefCountedBase::setIsDeferredBase):
      (WTF::DeferrableRefCounted::deref):
      (WTF::DeferrableRefCounted::setIsDeferred):
      (WTF::DeferrableRefCounted::DeferrableRefCounted):
      (WTF::DeferrableRefCounted::~DeferrableRefCounted):
      * wtf/FlipBytes.h: Added.
      (WTF::needToFlipBytesIfLittleEndian):
      (WTF::flipBytes):
      (WTF::flipBytesIfLittleEndian):
      
      LayoutTests: 
      
      Reviewed by Oliver Hunt.
      
      * fast/canvas/webgl/array-set-invalid-arguments-expected.txt:
      * fast/canvas/webgl/array-set-out-of-bounds-expected.txt:
      * fast/canvas/webgl/array-unit-tests-expected.txt:
      * fast/canvas/webgl/array-unit-tests.html:
      * fast/canvas/webgl/data-view-crash-expected.txt:
      * fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js:
      (checkView):
      * fast/dom/call-a-constructor-as-a-function-expected.txt:
      * fast/dom/call-a-constructor-as-a-function.html:
      * fast/js/constructor-length.html:
      * fast/js/global-constructors-attributes-dedicated-worker-expected.txt:
      * fast/js/global-constructors-attributes-expected.txt:
      * fast/js/global-constructors-attributes-shared-worker-expected.txt:
      * fast/js/regress/ArrayBuffer-Int8Array-alloc-expected.txt: Added.
      * fast/js/regress/ArrayBuffer-Int8Array-alloc-huge-long-lived-expected.txt: Added.
      * fast/js/regress/ArrayBuffer-Int8Array-alloc-huge-long-lived.html: Added.
      * fast/js/regress/ArrayBuffer-Int8Array-alloc-large-long-lived-expected.txt: Added.
      * fast/js/regress/ArrayBuffer-Int8Array-alloc-large-long-lived.html: Added.
      * fast/js/regress/ArrayBuffer-Int8Array-alloc-long-lived-buffer-expected.txt: Added.
      * fast/js/regress/ArrayBuffer-Int8Array-alloc-long-lived-buffer.html: Added.
      * fast/js/regress/ArrayBuffer-Int8Array-alloc-long-lived-expected.txt: Added.
      * fast/js/regress/ArrayBuffer-Int8Array-alloc-long-lived.html: Added.
      * fast/js/regress/ArrayBuffer-Int8Array-alloc.html: Added.
      * fast/js/regress/Int32Array-Int8Array-view-alloc-expected.txt: Added.
      * fast/js/regress/Int32Array-Int8Array-view-alloc.html: Added.
      * fast/js/regress/Int32Array-alloc-expected.txt: Added.
      * fast/js/regress/Int32Array-alloc-huge-expected.txt: Added.
      * fast/js/regress/Int32Array-alloc-huge-long-lived-expected.txt: Added.
      * fast/js/regress/Int32Array-alloc-huge-long-lived.html: Added.
      * fast/js/regress/Int32Array-alloc-huge.html: Added.
      * fast/js/regress/Int32Array-alloc-large-expected.txt: Added.
      * fast/js/regress/Int32Array-alloc-large-long-lived-expected.txt: Added.
      * fast/js/regress/Int32Array-alloc-large-long-lived.html: Added.
      * fast/js/regress/Int32Array-alloc-large.html: Added.
      * fast/js/regress/Int32Array-alloc-long-lived-expected.txt: Added.
      * fast/js/regress/Int32Array-alloc-long-lived.html: Added.
      * fast/js/regress/Int32Array-alloc.html: Added.
      * fast/js/regress/script-tests/ArrayBuffer-Int8Array-alloc-huge-long-lived.js: Added.
      * fast/js/regress/script-tests/ArrayBuffer-Int8Array-alloc-large-long-lived.js: Added.
      * fast/js/regress/script-tests/ArrayBuffer-Int8Array-alloc-long-lived-buffer.js: Added.
      * fast/js/regress/script-tests/ArrayBuffer-Int8Array-alloc-long-lived.js: Added.
      * fast/js/regress/script-tests/ArrayBuffer-Int8Array-alloc.js: Added.
      * fast/js/regress/script-tests/Int32Array-Int8Array-view-alloc.js: Added.
      * fast/js/regress/script-tests/Int32Array-alloc-huge-long-lived.js: Added.
      * fast/js/regress/script-tests/Int32Array-alloc-huge.js: Added.
      * fast/js/regress/script-tests/Int32Array-alloc-large-long-lived.js: Added.
      * fast/js/regress/script-tests/Int32Array-alloc-large.js: Added.
      * fast/js/regress/script-tests/Int32Array-alloc-long-lived.js: Added.
      * fast/js/regress/script-tests/Int32Array-alloc.js: Added.
      * platform/mac/fast/js/constructor-length-expected.txt:
      * webgl/resources/webgl_test_files/conformance/typedarrays/array-unit-tests.html:
      * webgl/resources/webgl_test_files/conformance/typedarrays/data-view-test.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e0d9312
  2. 05 Aug, 2013 1 commit
    • oliver@apple.com's avatar
      Move TypedArray implementation into JSC · df606084
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119489
      
      Reviewed by Filip Pizlo.
      
      Source/JavaScriptCore:
      
      Move TypedArray implementation into JSC in advance of re-implementation
      
      * GNUmakefile.list.am:
      * JSCTypedArrayStubs.h:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * runtime/ArrayBuffer.cpp: Renamed from Source/WTF/wtf/ArrayBuffer.cpp.
      (JSC::ArrayBuffer::transfer):
      (JSC::ArrayBuffer::addView):
      (JSC::ArrayBuffer::removeView):
      * runtime/ArrayBuffer.h: Renamed from Source/WTF/wtf/ArrayBuffer.h.
      (JSC::ArrayBufferContents::ArrayBufferContents):
      (JSC::ArrayBufferContents::data):
      (JSC::ArrayBufferContents::sizeInBytes):
      (JSC::ArrayBufferContents::transfer):
      (JSC::ArrayBufferContents::copyTo):
      (JSC::ArrayBuffer::isNeutered):
      (JSC::ArrayBuffer::~ArrayBuffer):
      (JSC::ArrayBuffer::clampValue):
      (JSC::ArrayBuffer::create):
      (JSC::ArrayBuffer::createUninitialized):
      (JSC::ArrayBuffer::ArrayBuffer):
      (JSC::ArrayBuffer::data):
      (JSC::ArrayBuffer::byteLength):
      (JSC::ArrayBuffer::slice):
      (JSC::ArrayBuffer::sliceImpl):
      (JSC::ArrayBuffer::clampIndex):
      (JSC::ArrayBufferContents::tryAllocate):
      (JSC::ArrayBufferContents::~ArrayBufferContents):
      * runtime/ArrayBufferView.cpp: Renamed from Source/WTF/wtf/ArrayBufferView.cpp.
      (JSC::ArrayBufferView::ArrayBufferView):
      (JSC::ArrayBufferView::~ArrayBufferView):
      (JSC::ArrayBufferView::neuter):
      * runtime/ArrayBufferView.h: Renamed from Source/WTF/wtf/ArrayBufferView.h.
      (JSC::ArrayBufferView::buffer):
      (JSC::ArrayBufferView::baseAddress):
      (JSC::ArrayBufferView::byteOffset):
      (JSC::ArrayBufferView::setNeuterable):
      (JSC::ArrayBufferView::isNeuterable):
      (JSC::ArrayBufferView::verifySubRange):
      (JSC::ArrayBufferView::clampOffsetAndNumElements):
      (JSC::ArrayBufferView::setImpl):
      (JSC::ArrayBufferView::setRangeImpl):
      (JSC::ArrayBufferView::zeroRangeImpl):
      (JSC::ArrayBufferView::calculateOffsetAndLength):
      * runtime/Float32Array.h: Renamed from Source/WTF/wtf/Float32Array.h.
      (JSC::Float32Array::set):
      (JSC::Float32Array::getType):
      (JSC::Float32Array::create):
      (JSC::Float32Array::createUninitialized):
      (JSC::Float32Array::Float32Array):
      (JSC::Float32Array::subarray):
      * runtime/Float64Array.h: Renamed from Source/WTF/wtf/Float64Array.h.
      (JSC::Float64Array::set):
      (JSC::Float64Array::getType):
      (JSC::Float64Array::create):
      (JSC::Float64Array::createUninitialized):
      (JSC::Float64Array::Float64Array):
      (JSC::Float64Array::subarray):
      * runtime/Int16Array.h: Renamed from Source/WTF/wtf/Int16Array.h.
      (JSC::Int16Array::getType):
      (JSC::Int16Array::create):
      (JSC::Int16Array::createUninitialized):
      (JSC::Int16Array::Int16Array):
      (JSC::Int16Array::subarray):
      * runtime/Int32Array.h: Renamed from Source/WTF/wtf/Int32Array.h.
      (JSC::Int32Array::getType):
      (JSC::Int32Array::create):
      (JSC::Int32Array::createUninitialized):
      (JSC::Int32Array::Int32Array):
      (JSC::Int32Array::subarray):
      * runtime/Int8Array.h: Renamed from Source/WTF/wtf/Int8Array.h.
      (JSC::Int8Array::getType):
      (JSC::Int8Array::create):
      (JSC::Int8Array::createUninitialized):
      (JSC::Int8Array::Int8Array):
      (JSC::Int8Array::subarray):
      * runtime/IntegralTypedArrayBase.h: Renamed from Source/WTF/wtf/IntegralTypedArrayBase.h.
      (JSC::IntegralTypedArrayBase::set):
      (JSC::IntegralTypedArrayBase::IntegralTypedArrayBase):
      * runtime/TypedArrayBase.h: Renamed from Source/WTF/wtf/TypedArrayBase.h.
      (JSC::TypedArrayBase::data):
      (JSC::TypedArrayBase::set):
      (JSC::TypedArrayBase::setRange):
      (JSC::TypedArrayBase::zeroRange):
      (JSC::TypedArrayBase::length):
      (JSC::TypedArrayBase::byteLength):
      (JSC::TypedArrayBase::item):
      (JSC::TypedArrayBase::checkInboundData):
      (JSC::TypedArrayBase::TypedArrayBase):
      (JSC::TypedArrayBase::create):
      (JSC::TypedArrayBase::createUninitialized):
      (JSC::TypedArrayBase::subarrayImpl):
      (JSC::TypedArrayBase::neuter):
      * runtime/Uint16Array.h: Renamed from Source/WTF/wtf/Uint16Array.h.
      (JSC::Uint16Array::getType):
      (JSC::Uint16Array::create):
      (JSC::Uint16Array::createUninitialized):
      (JSC::Uint16Array::Uint16Array):
      (JSC::Uint16Array::subarray):
      * runtime/Uint32Array.h: Renamed from Source/WTF/wtf/Uint32Array.h.
      (JSC::Uint32Array::getType):
      (JSC::Uint32Array::create):
      (JSC::Uint32Array::createUninitialized):
      (JSC::Uint32Array::Uint32Array):
      (JSC::Uint32Array::subarray):
      * runtime/Uint8Array.h: Renamed from Source/WTF/wtf/Uint8Array.h.
      (JSC::Uint8Array::getType):
      (JSC::Uint8Array::create):
      (JSC::Uint8Array::createUninitialized):
      (JSC::Uint8Array::Uint8Array):
      (JSC::Uint8Array::subarray):
      * runtime/Uint8ClampedArray.h: Renamed from Source/WTF/wtf/Uint8ClampedArray.h.
      (JSC::Uint8ClampedArray::getType):
      (JSC::Uint8ClampedArray::create):
      (JSC::Uint8ClampedArray::createUninitialized):
      (JSC::Uint8ClampedArray::zeroFill):
      (JSC::Uint8ClampedArray::set):
      (JSC::Uint8ClampedArray::Uint8ClampedArray):
      (JSC::Uint8ClampedArray::subarray):
      * runtime/VM.h:
      
      Source/WebCore:
      
      Update WebCore for new location of TypedArray implementation.
      
      * ForwardingHeaders/runtime/ArrayBuffer.h: Added.
      * ForwardingHeaders/runtime/ArrayBufferView.h: Added.
      * ForwardingHeaders/runtime/Float32Array.h: Added.
      * ForwardingHeaders/runtime/Float64Array.h: Added.
      * ForwardingHeaders/runtime/Int16Array.h: Added.
      * ForwardingHeaders/runtime/Int32Array.h: Added.
      * ForwardingHeaders/runtime/Int8Array.h: Added.
      * ForwardingHeaders/runtime/IntegralTypedArrayBase.h: Added.
      * ForwardingHeaders/runtime/TypedArrayBase.h: Added.
      * ForwardingHeaders/runtime/Uint16Array.h: Added.
      * ForwardingHeaders/runtime/Uint32Array.h: Added.
      * ForwardingHeaders/runtime/Uint8Array.h: Added.
      * ForwardingHeaders/runtime/Uint8ClampedArray.h: Added.
      * Modules/webaudio/AnalyserNode.h:
      (WebCore::AnalyserNode::getFloatFrequencyData):
      (WebCore::AnalyserNode::getByteFrequencyData):
      (WebCore::AnalyserNode::getByteTimeDomainData):
      * Modules/webaudio/AsyncAudioDecoder.cpp:
      * Modules/webaudio/AsyncAudioDecoder.h:
      (WebCore::AsyncAudioDecoder::DecodingTask::audioData):
      * Modules/webaudio/AudioBuffer.h:
      * Modules/webaudio/AudioContext.cpp:
      * Modules/webaudio/AudioParam.h:
      * Modules/webaudio/AudioParamTimeline.h:
      * Modules/webaudio/PeriodicWave.h:
      * Modules/webaudio/RealtimeAnalyser.cpp:
      * Modules/webaudio/RealtimeAnalyser.h:
      * Modules/webaudio/ScriptProcessorNode.cpp:
      * Modules/webaudio/WaveShaperProcessor.h:
      * Modules/websockets/ThreadableWebSocketChannel.h:
      * Modules/websockets/WebSocket.cpp:
      * Modules/websockets/WebSocket.h:
      * Modules/websockets/WebSocketChannel.cpp:
      * Modules/websockets/WebSocketChannel.h:
      * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
      * Modules/websockets/WorkerThreadableWebSocketChannel.h:
      * WebCore.exp.in:
      * bindings/js/JSArrayBufferCustom.cpp:
      * bindings/js/JSArrayBufferViewHelper.h:
      * bindings/js/JSAudioContextCustom.cpp:
      * bindings/js/JSCryptoCustom.cpp:
      * bindings/js/JSDictionary.h:
      * bindings/js/JSFileReaderCustom.cpp:
      * bindings/js/JSWebGLRenderingContextCustom.cpp:
      * bindings/js/JSXMLHttpRequestCustom.cpp:
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::SerializedScriptValue::transferArrayBuffers):
      * bindings/js/SerializedScriptValue.h:
      * bindings/scripts/CodeGeneratorJS.pm:
      (AddIncludesForType):
      (GenerateHeader):
      (NativeToJSValue):
      * dom/MessageEvent.h:
      * fileapi/FileReader.cpp:
      * fileapi/FileReader.h:
      * fileapi/FileReaderLoader.cpp:
      * fileapi/FileReaderLoader.h:
      * fileapi/FileReaderSync.cpp:
      * fileapi/FileReaderSync.h:
      * fileapi/WebKitBlobBuilder.cpp:
      * fileapi/WebKitBlobBuilder.h:
      * html/HTMLMediaElement.cpp:
      * html/ImageData.h:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/CanvasRenderingContext2D.cpp:
      * html/canvas/DataView.h:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/canvas/WebGLBuffer.h:
      (WebCore::WebGLBuffer::elementArrayBuffer):
      * html/canvas/WebGLGetInfo.cpp:
      * html/canvas/WebGLGetInfo.h:
      * html/canvas/WebGLRenderingContext.cpp:
      * html/canvas/WebGLRenderingContext.h:
      * inspector/InspectorMemoryAgent.cpp:
      * page/Crypto.cpp:
      * page/Crypto.h:
      * platform/graphics/GraphicsContext3D.cpp:
      * platform/graphics/ImageBuffer.h:
      * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
      * platform/graphics/cg/ImageBufferDataCG.h:
      * platform/graphics/filters/FEBlend.cpp:
      * platform/graphics/filters/FEColorMatrix.cpp:
      * platform/graphics/filters/FEComponentTransfer.cpp:
      * platform/graphics/filters/FEComposite.cpp:
      * platform/graphics/filters/FEConvolveMatrix.cpp:
      * platform/graphics/filters/FECustomFilter.cpp:
      * platform/graphics/filters/FEDisplacementMap.cpp:
      * platform/graphics/filters/FEDropShadow.cpp:
      * platform/graphics/filters/FEGaussianBlur.cpp:
      * platform/graphics/filters/FELighting.h:
      * platform/graphics/filters/FEMorphology.cpp:
      * platform/graphics/filters/FETurbulence.cpp:
      * platform/graphics/filters/FilterEffect.cpp:
      * platform/graphics/filters/FilterEffect.h:
      * platform/graphics/mac/GraphicsContext3DMac.mm:
      * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
      * testing/Internals.h:
      * xml/XMLHttpRequest.cpp:
      * xml/XMLHttpRequest.h:
      (WebCore::XMLHttpRequest::optionalResponseArrayBuffer):
      
      Source/WTF:
      
      Remove TypedArray implementation from WTF
      
      * GNUmakefile.list.am:
      * WTF.xcodeproj/project.pbxproj:
      * wtf/Forward.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df606084
  3. 28 Jan, 2013 1 commit
    • abarth@webkit.org's avatar
      [v8] Security feature: JavaScript Bindings hardening · 7929995e
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106608
      
      Source/WebCore: 
      
      The patch adds a check at wrapper creation time to enuse that the
      object being wrapped is not already free, to the extent that we know
      the information about the type of the object as provided in the IDL.
      
      Patch by Tom Sepez <tsepez@chromium.org> on 2013-01-28
      Reviewed by Adam Barth.
      
      Patch is correct if existing tests pass without new crashes.
      
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateImplementation):
      (GenerateToV8Converters):
      (GetNativeTypeForConversions):
      (GetGnuVTableRefForInterface):
      (GetGnuVTableNameForInterface):
      (GetGnuMangledNameForInterface):
      (GetGnuVTableOffsetForType):
      (GetWinVTableRefForInterface):
      (GetWinVTableNameForInterface):
      (GetWinMangledNameForInterface):
      (GetNamespaceForInterface):
      (GetImplementationLacksVTableForInterface):
      (GetV8SkipVTableValidationForInterface):
      Update code generation to add object validity tests under the control
      of the ENABLE_BINDING_INTEGRITY option.
              
      * Modules/filesystem/DirectoryReader.idl:
      * Modules/filesystem/DirectoryReaderSync.idl:
      * Modules/filesystem/EntryArray.idl:
      * Modules/filesystem/EntryArraySync.idl:
      * Modules/filesystem/Metadata.idl:
      * Modules/gamepad/Gamepad.idl:
      * Modules/gamepad/GamepadList.idl:
      * Modules/geolocation/Geoposition.idl:
      * Modules/geolocation/PositionError.idl:
      * Modules/indexeddb/IDBFactory.idl:
      * Modules/indexeddb/IDBIndex.idl:
      * Modules/indexeddb/IDBKeyRange.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/mediastream/RTCStatsElement.idl:
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/quota/StorageInfo.idl:
      * Modules/speech/SpeechGrammar.idl:
      * Modules/speech/SpeechGrammarList.idl:
      * Modules/speech/SpeechRecognitionAlternative.idl:
      * Modules/speech/SpeechRecognitionResult.idl:
      * Modules/speech/SpeechRecognitionResultList.idl:
      * Modules/webaudio/AudioBuffer.idl:
      * Modules/webaudio/AudioDestinationNode.idl:
      * Modules/webaudio/AudioListener.idl:
      * Modules/webaudio/AudioSourceNode.idl:
      * Modules/webaudio/WaveTable.idl:
      * Modules/webdatabase/SQLError.idl:
      * Modules/webdatabase/SQLException.idl:
      * Modules/webdatabase/SQLResultSet.idl:
      * Modules/webdatabase/SQLResultSetRowList.idl:
      * Modules/webdatabase/SQLTransaction.idl:
      * Modules/webdatabase/SQLTransactionSync.idl:
      * bindings/scripts/IDLAttributes.txt:
      * css/CSSPrimitiveValue.idl:
      * css/CSSRule.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSValue.idl:
      * css/CSSValueList.idl:
      * css/Counter.idl:
      * css/MediaList.idl:
      * css/MediaQueryList.idl:
      * css/RGBColor.idl:
      * css/Rect.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSFilterValue.idl:
      * css/WebKitCSSMixFunctionValue.idl:
      * css/WebKitCSSTransformValue.idl:
      * dom/ClientRect.idl:
      * dom/ClientRectList.idl:
      * dom/Clipboard.idl:
      * dom/DOMCoreException.idl:
      * dom/DOMError.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMNamedFlowCollection.idl:
      * dom/DOMStringList.idl:
      * dom/DOMStringMap.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DocumentFragment.idl:
      * dom/Element.idl:
      * dom/Entity.idl:
      * dom/Event.idl:
      * dom/EventException.idl:
      * dom/MessageChannel.idl:
      * dom/MouseEvent.idl:
      * dom/MutationObserver.idl:
      * dom/MutationRecord.idl:
      * dom/NamedNodeMap.idl:
      * dom/NodeFilter.idl:
      * dom/NodeIterator.idl:
      * dom/NodeList.idl:
      * dom/Range.idl:
      * dom/RangeException.idl:
      * dom/Touch.idl:
      * dom/TouchList.idl:
      * dom/TreeWalker.idl:
      * fileapi/FileError.idl:
      * fileapi/FileException.idl:
      * fileapi/FileList.idl:
      * html/DOMFormData.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDialogElement.idl:
      * html/HTMLDivElement.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLImageElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLSpanElement.idl:
      * html/HTMLUnknownElement.idl:
      * html/ImageData.idl:
      * html/MediaError.idl:
      * html/MediaKeyError.idl:
      * html/TimeRanges.idl:
      * html/ValidityState.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/CanvasGradient.idl:
      * html/canvas/CanvasPattern.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/canvas/WebGLActiveInfo.idl:
      * html/canvas/WebGLShaderPrecisionFormat.idl:
      * html/track/TextTrack.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackCueList.idl:
      * inspector/InjectedScriptHost.idl:
      * inspector/InspectorFrontendHost.idl:
      * inspector/JavaScriptCallFrame.idl:
      * page/Coordinates.idl:
      * page/Crypto.idl:
      * page/MemoryInfo.idl:
      * page/PagePopupController.idl:
      * page/PerformanceEntryList.idl:
      * page/SpeechInputResult.idl:
      * page/SpeechInputResultList.idl:
      * page/WebKitPoint.idl:
      * svg/SVGAnimatedAngle.idl:
      * svg/SVGAnimatedBoolean.idl:
      * svg/SVGAnimatedEnumeration.idl:
      * svg/SVGAnimatedInteger.idl:
      * svg/SVGAnimatedLength.idl:
      * svg/SVGAnimatedLengthList.idl:
      * svg/SVGAnimatedNumber.idl:
      * svg/SVGAnimatedNumberList.idl:
      * svg/SVGAnimatedPreserveAspectRatio.idl:
      * svg/SVGAnimatedRect.idl:
      * svg/SVGAnimatedString.idl:
      * svg/SVGAnimatedTransformList.idl:
      * svg/SVGColor.idl:
      * svg/SVGException.idl:
      * svg/SVGPaint.idl:
      * svg/SVGPathSeg.idl:
      * svg/SVGRenderingIntent.idl:
      * svg/SVGUnitTypes.idl:
      * svg/SVGZoomAndPan.idl:
      * testing/MallocStatistics.idl:
      * testing/TypeConversions.idl:
      * workers/WorkerLocation.idl:
      * xml/DOMParser.idl:
      * xml/XMLHttpRequestException.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathException.idl:
      * xml/XPathExpression.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      * xml/XSLTProcessor.idl:
      Add exceptions to binding integrity checks to IDL.
      
      Source/WebKit/chromium: 
      
      Patch by Tom Sepez <tsepez@chromium.org> on 2013-01-28
      Reviewed by Adam Barth.
      
      * features.gypi:
      Added ENABLE_BINDING_INTEGRITY option.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7929995e
  4. 21 Dec, 2012 1 commit
    • kbr@google.com's avatar
      Expose ArrayBufferView constructor on DOMWindow · 8357d7ff
      kbr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=105605
      
      Reviewed by Sam Weinig.
      
      Source/WebCore:
      
      Update IDL to track recent spec change exposing ArrayBufferView
      constructor on DOMWindow for instanceof checks. There are no
      constructors exposed in the Web IDL, however, so calling it via
      operator new throws TypeError.
      
      Test (updated): fast/canvas/webgl/array-unit-tests.html
      
      * html/canvas/ArrayBufferView.idl:
          Removed OmitConstructor attribute.
      * page/DOMWindow.idl:
          Exposed ArrayBufferView constructor function attribute.
      
      LayoutTests:
      
      Updated test from Khronos repository.
      
      * fast/canvas/webgl/array-unit-tests-expected.txt:
      * fast/canvas/webgl/array-unit-tests.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138393 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8357d7ff
  5. 12 Oct, 2012 2 commits
    • commit-queue@webkit.org's avatar
      [WebKit IDL] move extended attributes to left of interface, exception... · a4d60d13
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99012
      
      Patch by Takashi Sakamoto <tasak@google.com> on 2012-10-12
      Reviewed by Kentaro Hara.
      
      According to WebIDL spec, moved all extended attributes to the left
      of interface / attribute / readonly attribute / exception.
      
      No new tests. I ran run-bindings-tests and all tests passed.
      
      * Modules/battery/BatteryManager.idl:
      * Modules/battery/NavigatorBattery.idl:
      * Modules/filesystem/DOMFileSystem.idl:
      * Modules/filesystem/DOMFileSystemSync.idl:
      * Modules/filesystem/DOMWindowFileSystem.idl:
      * Modules/filesystem/DataTransferItemFileSystem.idl:
      * Modules/filesystem/DirectoryEntry.idl:
      * Modules/filesystem/DirectoryEntrySync.idl:
      * Modules/filesystem/DirectoryReader.idl:
      * Modules/filesystem/DirectoryReaderSync.idl:
      * Modules/filesystem/EntriesCallback.idl:
      * Modules/filesystem/Entry.idl:
      * Modules/filesystem/EntryArray.idl:
      * Modules/filesystem/EntryArraySync.idl:
      * Modules/filesystem/EntryCallback.idl:
      * Modules/filesystem/EntrySync.idl:
      * Modules/filesystem/ErrorCallback.idl:
      * Modules/filesystem/FileCallback.idl:
      * Modules/filesystem/FileEntry.idl:
      * Modules/filesystem/FileEntrySync.idl:
      * Modules/filesystem/FileSystemCallback.idl:
      * Modules/filesystem/FileWriter.idl:
      * Modules/filesystem/FileWriterCallback.idl:
      * Modules/filesystem/FileWriterSync.idl:
      * Modules/filesystem/HTMLInputElementFileSystem.idl:
      * Modules/filesystem/Metadata.idl:
      * Modules/filesystem/MetadataCallback.idl:
      * Modules/filesystem/WorkerContextFileSystem.idl:
      * Modules/gamepad/Gamepad.idl:
      * Modules/gamepad/GamepadList.idl:
      * Modules/gamepad/NavigatorGamepad.idl:
      * Modules/geolocation/Geolocation.idl:
      * Modules/geolocation/Geoposition.idl:
      * Modules/geolocation/NavigatorGeolocation.idl:
      * Modules/geolocation/PositionCallback.idl:
      * Modules/geolocation/PositionError.idl:
      * Modules/geolocation/PositionErrorCallback.idl:
      * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
      * Modules/indexeddb/IDBAny.idl:
      * Modules/indexeddb/IDBCursor.idl:
      * Modules/indexeddb/IDBCursorWithValue.idl:
      * Modules/indexeddb/IDBDatabase.idl:
      * Modules/indexeddb/IDBDatabaseException.idl:
      * Modules/indexeddb/IDBFactory.idl:
      * Modules/indexeddb/IDBIndex.idl:
      * Modules/indexeddb/IDBKey.idl:
      * Modules/indexeddb/IDBKeyRange.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/indexeddb/IDBOpenDBRequest.idl:
      * Modules/indexeddb/IDBRequest.idl:
      * Modules/indexeddb/IDBTransaction.idl:
      * Modules/indexeddb/IDBUpgradeNeededEvent.idl:
      * Modules/indexeddb/IDBVersionChangeEvent.idl:
      * Modules/indexeddb/IDBVersionChangeRequest.idl:
      * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
      * Modules/intents/DOMWindowIntents.idl:
      * Modules/intents/DeliveredIntent.idl:
      * Modules/intents/NavigatorIntents.idl:
      * Modules/mediasource/MediaSource.idl:
      * Modules/mediasource/SourceBuffer.idl:
      * Modules/mediasource/SourceBufferList.idl:
      * Modules/mediastream/DOMWindowMediaStream.idl:
      * Modules/mediastream/IceCallback.idl:
      * Modules/mediastream/IceCandidate.idl:
      * Modules/mediastream/LocalMediaStream.idl:
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamEvent.idl:
      * Modules/mediastream/MediaStreamList.idl:
      * Modules/mediastream/MediaStreamTrack.idl:
      * Modules/mediastream/MediaStreamTrackEvent.idl:
      * Modules/mediastream/MediaStreamTrackList.idl:
      * Modules/mediastream/NavigatorMediaStream.idl:
      * Modules/mediastream/NavigatorUserMediaError.idl:
      * Modules/mediastream/NavigatorUserMediaErrorCallback.idl:
      * Modules/mediastream/NavigatorUserMediaSuccessCallback.idl:
      * Modules/mediastream/PeerConnection00.idl:
      * Modules/mediastream/RTCErrorCallback.idl:
      * Modules/mediastream/RTCIceCandidate.idl:
      * Modules/mediastream/RTCIceCandidateEvent.idl:
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCSessionDescription.idl:
      * Modules/mediastream/RTCSessionDescriptionCallback.idl:
      * Modules/mediastream/RTCStatsCallback.idl:
      * Modules/mediastream/RTCStatsElement.idl:
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/mediastream/RTCStatsResponse.idl:
      * Modules/mediastream/SessionDescription.idl:
      * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
      * Modules/networkinfo/NavigatorNetworkInfoConnection.idl:
      * Modules/networkinfo/NetworkInfoConnection.idl:
      * Modules/notifications/DOMWindowNotifications.idl:
      * Modules/notifications/Notification.idl:
      * Modules/notifications/NotificationCenter.idl:
      * Modules/notifications/NotificationPermissionCallback.idl:
      * Modules/notifications/WorkerContextNotifications.idl:
      * Modules/proximity/DeviceProximityEvent.idl:
      * Modules/quota/DOMWindowQuota.idl:
      * Modules/quota/StorageInfo.idl:
      * Modules/quota/StorageInfoErrorCallback.idl:
      * Modules/quota/StorageInfoQuotaCallback.idl:
      * Modules/quota/StorageInfoUsageCallback.idl:
      * Modules/speech/DOMWindowSpeech.idl:
      * Modules/speech/SpeechGrammar.idl:
      * Modules/speech/SpeechGrammarList.idl:
      * Modules/speech/SpeechRecognition.idl:
      * Modules/speech/SpeechRecognitionAlternative.idl:
      * Modules/speech/SpeechRecognitionError.idl:
      * Modules/speech/SpeechRecognitionEvent.idl:
      * Modules/speech/SpeechRecognitionResult.idl:
      * Modules/speech/SpeechRecognitionResultList.idl:
      * Modules/vibration/NavigatorVibration.idl:
      * Modules/webaudio/AudioBuffer.idl:
      * Modules/webaudio/AudioBufferCallback.idl:
      * Modules/webaudio/AudioBufferSourceNode.idl:
      * Modules/webaudio/AudioChannelMerger.idl:
      * Modules/webaudio/AudioChannelSplitter.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/AudioDestinationNode.idl:
      * Modules/webaudio/AudioGain.idl:
      * Modules/webaudio/AudioGainNode.idl:
      * Modules/webaudio/AudioListener.idl:
      * Modules/webaudio/AudioNode.idl:
      * Modules/webaudio/AudioPannerNode.idl:
      * Modules/webaudio/AudioParam.idl:
      * Modules/webaudio/AudioProcessingEvent.idl:
      * Modules/webaudio/AudioSourceNode.idl:
      * Modules/webaudio/BiquadFilterNode.idl:
      * Modules/webaudio/ConvolverNode.idl:
      * Modules/webaudio/DOMWindowWebAudio.idl:
      * Modules/webaudio/DelayNode.idl:
      * Modules/webaudio/DynamicsCompressorNode.idl:
      * Modules/webaudio/JavaScriptAudioNode.idl:
      * Modules/webaudio/MediaElementAudioSourceNode.idl:
      * Modules/webaudio/MediaStreamAudioSourceNode.idl:
      * Modules/webaudio/OfflineAudioCompletionEvent.idl:
      * Modules/webaudio/Oscillator.idl:
      * Modules/webaudio/RealtimeAnalyserNode.idl:
      * Modules/webaudio/WaveShaperNode.idl:
      * Modules/webaudio/WaveTable.idl:
      * Modules/webdatabase/DOMWindowWebDatabase.idl:
      * Modules/webdatabase/Database.idl:
      * Modules/webdatabase/DatabaseCallback.idl:
      * Modules/webdatabase/DatabaseSync.idl:
      * Modules/webdatabase/SQLError.idl:
      * Modules/webdatabase/SQLException.idl:
      * Modules/webdatabase/SQLResultSet.idl:
      * Modules/webdatabase/SQLResultSetRowList.idl:
      * Modules/webdatabase/SQLStatementCallback.idl:
      * Modules/webdatabase/SQLStatementErrorCallback.idl:
      * Modules/webdatabase/SQLTransaction.idl:
      * Modules/webdatabase/SQLTransactionCallback.idl:
      * Modules/webdatabase/SQLTransactionErrorCallback.idl:
      * Modules/webdatabase/SQLTransactionSync.idl:
      * Modules/webdatabase/SQLTransactionSyncCallback.idl:
      * Modules/webdatabase/WorkerContextWebDatabase.idl:
      * Modules/websockets/CloseEvent.idl:
      * Modules/websockets/DOMWindowWebSocket.idl:
      * Modules/websockets/WebSocket.idl:
      * Modules/websockets/WorkerContextWebSocket.idl:
      * bindings/scripts/test/TestCallback.idl:
      * bindings/scripts/test/TestCustomNamedGetter.idl:
      * bindings/scripts/test/TestDomainSecurity.idl:
      * bindings/scripts/test/TestEventConstructor.idl:
      * bindings/scripts/test/TestEventTarget.idl:
      * bindings/scripts/test/TestInterface.idl:
      * bindings/scripts/test/TestNamedConstructor.idl:
      * bindings/scripts/test/TestNode.idl:
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
      * bindings/scripts/test/TestSupplemental.idl:
      * bindings/scripts/test/TestTypedArray.idl:
      * css/CSSCharsetRule.idl:
      * css/CSSImportRule.idl:
      * css/CSSPageRule.idl:
      * css/CSSRule.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleRule.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSUnknownRule.idl:
      * css/CSSValue.idl:
      * css/CSSValueList.idl:
      * css/MediaList.idl:
      * css/MediaQueryListListener.idl:
      * css/StyleMedia.idl:
      * css/StyleSheet.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSFilterValue.idl:
      * css/WebKitCSSKeyframesRule.idl:
      * css/WebKitCSSMatrix.idl:
      * css/WebKitCSSRegionRule.idl:
      * css/WebKitCSSTransformValue.idl:
      * dom/Attr.idl:
      * dom/BeforeLoadEvent.idl:
      * dom/CharacterData.idl:
      * dom/ClientRectList.idl:
      * dom/Clipboard.idl:
      * dom/CustomEvent.idl:
      * dom/DOMCoreException.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMNamedFlowCollection.idl:
      * dom/DOMStringList.idl:
      * dom/DOMStringMap.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DeviceMotionEvent.idl:
      * dom/DeviceOrientationEvent.idl:
      * dom/Document.idl:
      * dom/DocumentType.idl:
      * dom/Element.idl:
      * dom/Entity.idl:
      * dom/ErrorEvent.idl:
      * dom/Event.idl:
      * dom/EventException.idl:
      * dom/EventListener.idl:
      * dom/EventTarget.idl:
      * dom/HashChangeEvent.idl:
      * dom/MessageChannel.idl:
      * dom/MessageEvent.idl:
      * dom/MessagePort.idl:
      * dom/MouseEvent.idl:
      * dom/MutationCallback.idl:
      * dom/MutationObserver.idl:
      * dom/MutationRecord.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeIterator.idl:
      * dom/NodeList.idl:
      * dom/Notation.idl:
      * dom/OverflowEvent.idl:
      * dom/PageTransitionEvent.idl:
      * dom/PopStateEvent.idl:
      * dom/ProcessingInstruction.idl:
      * dom/ProgressEvent.idl:
      * dom/PropertyNodeList.idl:
      * dom/RangeException.idl:
      * dom/RequestAnimationFrameCallback.idl:
      * dom/ShadowRoot.idl:
      * dom/StringCallback.idl:
      * dom/Touch.idl:
      * dom/TouchEvent.idl:
      * dom/TouchList.idl:
      * dom/TreeWalker.idl:
      * dom/WebKitAnimationEvent.idl:
      * dom/WebKitNamedFlow.idl:
      * dom/WebKitTransitionEvent.idl:
      * editing/DOMTransaction.idl:
      * editing/UndoManager.idl:
      * fileapi/Blob.idl:
      * fileapi/File.idl:
      * fileapi/FileError.idl:
      * fileapi/FileException.idl:
      * fileapi/FileList.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * html/DOMFormData.idl:
      * html/DOMSettableTokenList.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAnchorElement.idl:
      * html/HTMLAppletElement.idl:
      * html/HTMLAreaElement.idl:
      * html/HTMLAudioElement.idl:
      * html/HTMLBRElement.idl:
      * html/HTMLBaseElement.idl:
      * html/HTMLBaseFontElement.idl:
      * html/HTMLBodyElement.idl:
      * html/HTMLButtonElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDListElement.idl:
      * html/HTMLDataListElement.idl:
      * html/HTMLDetailsElement.idl:
      * html/HTMLDialogElement.idl:
      * html/HTMLDirectoryElement.idl:
      * html/HTMLDivElement.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLEmbedElement.idl:
      * html/HTMLFieldSetElement.idl:
      * html/HTMLFontElement.idl:
      * html/HTMLFormElement.idl:
      * html/HTMLFrameElement.idl:
      * html/HTMLFrameSetElement.idl:
      * html/HTMLHRElement.idl:
      * html/HTMLHeadElement.idl:
      * html/HTMLHeadingElement.idl:
      * html/HTMLHtmlElement.idl:
      * html/HTMLIFrameElement.idl:
      * html/HTMLImageElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLIntentElement.idl:
      * html/HTMLKeygenElement.idl:
      * html/HTMLLIElement.idl:
      * html/HTMLLabelElement.idl:
      * html/HTMLLegendElement.idl:
      * html/HTMLLinkElement.idl:
      * html/HTMLMapElement.idl:
      * html/HTMLMarqueeElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLMenuElement.idl:
      * html/HTMLMetaElement.idl:
      * html/HTMLMeterElement.idl:
      * html/HTMLModElement.idl:
      * html/HTMLOListElement.idl:
      * html/HTMLObjectElement.idl:
      * html/HTMLOptGroupElement.idl:
      * html/HTMLOptionElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLOutputElement.idl:
      * html/HTMLParagraphElement.idl:
      * html/HTMLParamElement.idl:
      * html/HTMLPreElement.idl:
      * html/HTMLProgressElement.idl:
      * html/HTMLPropertiesCollection.idl:
      * html/HTMLQuoteElement.idl:
      * html/HTMLScriptElement.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLSourceElement.idl:
      * html/HTMLStyleElement.idl:
      * html/HTMLTableCaptionElement.idl:
      * html/HTMLTableCellElement.idl:
      * html/HTMLTableColElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/HTMLTitleElement.idl:
      * html/HTMLTrackElement.idl:
      * html/HTMLUListElement.idl:
      * html/HTMLVideoElement.idl:
      * html/ImageData.idl:
      * html/MediaController.idl:
      * html/MediaError.idl:
      * html/MediaKeyError.idl:
      * html/MediaKeyEvent.idl:
      * html/MicroDataItemValue.idl:
      * html/RadioNodeList.idl:
      * html/TimeRanges.idl:
      * html/ValidityState.idl:
      * html/VoidCallback.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/CanvasRenderingContext.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/DataView.idl:
      * html/canvas/EXTTextureFilterAnisotropic.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESStandardDerivatives.idl:
      * html/canvas/OESTextureFloat.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/canvas/WebGLActiveInfo.idl:
      * html/canvas/WebGLBuffer.idl:
      * html/canvas/WebGLCompressedTextureS3TC.idl:
      * html/canvas/WebGLContextAttributes.idl:
      * html/canvas/WebGLContextEvent.idl:
      * html/canvas/WebGLDebugRendererInfo.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLDepthTexture.idl:
      * html/canvas/WebGLFramebuffer.idl:
      * html/canvas/WebGLLoseContext.idl:
      * html/canvas/WebGLProgram.idl:
      * html/canvas/WebGLRenderbuffer.idl:
      * html/canvas/WebGLRenderingContext.idl:
      * html/canvas/WebGLShader.idl:
      * html/canvas/WebGLShaderPrecisionFormat.idl:
      * html/canvas/WebGLTexture.idl:
      * html/canvas/WebGLUniformLocation.idl:
      * html/canvas/WebGLVertexArrayObjectOES.idl:
      * html/shadow/HTMLContentElement.idl:
      * html/shadow/HTMLShadowElement.idl:
      * html/track/TextTrack.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackCueList.idl:
      * html/track/TextTrackList.idl:
      * html/track/TrackEvent.idl:
      * inspector/InjectedScriptHost.idl:
      * inspector/InspectorFrontendHost.idl:
      * inspector/JavaScriptCallFrame.idl:
      * inspector/ScriptProfile.idl:
      * inspector/ScriptProfileNode.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * page/AbstractView.idl:
      * page/BarInfo.idl:
      * page/Console.idl:
      * page/Coordinates.idl:
      * page/Crypto.idl:
      * page/DOMSecurityPolicy.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/DOMWindowPagePopup.idl:
      * page/EventSource.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/MemoryInfo.idl:
      * page/Navigator.idl:
      * page/PagePopupController.idl:
      * page/Performance.idl:
      * page/PerformanceEntry.idl:
      * page/PerformanceEntryList.idl:
      * page/PerformanceNavigation.idl:
      * page/PerformanceResourceTiming.idl:
      * page/PerformanceTiming.idl:
      * page/Screen.idl:
      * page/SpeechInputEvent.idl:
      * page/SpeechInputResult.idl:
      * page/SpeechInputResultList.idl:
      * page/WebKitAnimation.idl:
      * page/WebKitAnimationList.idl:
      * page/WebKitPoint.idl:
      * page/WorkerNavigator.idl:
      * plugins/DOMMimeType.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPlugin.idl:
      * plugins/DOMPluginArray.idl:
      * storage/Storage.idl:
      * storage/StorageEvent.idl:
      * svg/ElementTimeControl.idl:
      * svg/SVGAElement.idl:
      * svg/SVGAltGlyphDefElement.idl:
      * svg/SVGAltGlyphElement.idl:
      * svg/SVGAltGlyphItemElement.idl:
      * svg/SVGAngle.idl:
      * svg/SVGAnimateColorElement.idl:
      * svg/SVGAnimateElement.idl:
      * svg/SVGAnimateMotionElement.idl:
      * svg/SVGAnimateTransformElement.idl:
      * svg/SVGAnimatedAngle.idl:
      * svg/SVGAnimatedBoolean.idl:
      * svg/SVGAnimatedEnumeration.idl:
      * svg/SVGAnimatedInteger.idl:
      * svg/SVGAnimatedLength.idl:
      * svg/SVGAnimatedLengthList.idl:
      * svg/SVGAnimatedNumber.idl:
      * svg/SVGAnimatedNumberList.idl:
      * svg/SVGAnimatedPreserveAspectRatio.idl:
      * svg/SVGAnimatedRect.idl:
      * svg/SVGAnimatedString.idl:
      * svg/SVGAnimatedTransformList.idl:
      * svg/SVGAnimationElement.idl:
      * svg/SVGCircleElement.idl:
      * svg/SVGClipPathElement.idl:
      * svg/SVGColor.idl:
      * svg/SVGComponentTransferFunctionElement.idl:
      * svg/SVGCursorElement.idl:
      * svg/SVGDefsElement.idl:
      * svg/SVGDescElement.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElement.idl:
      * svg/SVGElementInstance.idl:
      * svg/SVGElementInstanceList.idl:
      * svg/SVGEllipseElement.idl:
      * svg/SVGException.idl:
      * svg/SVGExternalResourcesRequired.idl:
      * svg/SVGFEBlendElement.idl:
      * svg/SVGFEColorMatrixElement.idl:
      * svg/SVGFEComponentTransferElement.idl:
      * svg/SVGFECompositeElement.idl:
      * svg/SVGFEConvolveMatrixElement.idl:
      * svg/SVGFEDiffuseLightingElement.idl:
      * svg/SVGFEDisplacementMapElement.idl:
      * svg/SVGFEDistantLightElement.idl:
      * svg/SVGFEDropShadowElement.idl:
      * svg/SVGFEFloodElement.idl:
      * svg/SVGFEFuncAElement.idl:
      * svg/SVGFEFuncBElement.idl:
      * svg/SVGFEFuncGElement.idl:
      * svg/SVGFEFuncRElement.idl:
      * svg/SVGFEGaussianBlurElement.idl:
      * svg/SVGFEImageElement.idl:
      * svg/SVGFEMergeElement.idl:
      * svg/SVGFEMergeNodeElement.idl:
      * svg/SVGFEMorphologyElement.idl:
      * svg/SVGFEOffsetElement.idl:
      * svg/SVGFEPointLightElement.idl:
      * svg/SVGFESpecularLightingElement.idl:
      * svg/SVGFESpotLightElement.idl:
      * svg/SVGFETileElement.idl:
      * svg/SVGFETurbulenceElement.idl:
      * svg/SVGFilterElement.idl:
      * svg/SVGFilterPrimitiveStandardAttributes.idl:
      * svg/SVGFitToViewBox.idl:
      * svg/SVGFontElement.idl:
      * svg/SVGFontFaceElement.idl:
      * svg/SVGFontFaceFormatElement.idl:
      * svg/SVGFontFaceNameElement.idl:
      * svg/SVGFontFaceSrcElement.idl:
      * svg/SVGFontFaceUriElement.idl:
      * svg/SVGForeignObjectElement.idl:
      * svg/SVGGElement.idl:
      * svg/SVGGlyphElement.idl:
      * svg/SVGGlyphRefElement.idl:
      * svg/SVGGradientElement.idl:
      * svg/SVGHKernElement.idl:
      * svg/SVGImageElement.idl:
      * svg/SVGLangSpace.idl:
      * svg/SVGLength.idl:
      * svg/SVGLengthList.idl:
      * svg/SVGLineElement.idl:
      * svg/SVGLinearGradientElement.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGMPathElement.idl:
      * svg/SVGMarkerElement.idl:
      * svg/SVGMaskElement.idl:
      * svg/SVGMatrix.idl:
      * svg/SVGMetadataElement.idl:
      * svg/SVGMissingGlyphElement.idl:
      * svg/SVGNumber.idl:
      * svg/SVGNumberList.idl:
      * svg/SVGPaint.idl:
      * svg/SVGPathElement.idl:
      * svg/SVGPathSeg.idl:
      * svg/SVGPathSegArcAbs.idl:
      * svg/SVGPathSegArcRel.idl:
      * svg/SVGPathSegClosePath.idl:
      * svg/SVGPathSegCurvetoCubicAbs.idl:
      * svg/SVGPathSegCurvetoCubicRel.idl:
      * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
      * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
      * svg/SVGPathSegCurvetoQuadraticAbs.idl:
      * svg/SVGPathSegCurvetoQuadraticRel.idl:
      * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
      * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
      * svg/SVGPathSegLinetoAbs.idl:
      * svg/SVGPathSegLinetoHorizontalAbs.idl:
      * svg/SVGPathSegLinetoHorizontalRel.idl:
      * svg/SVGPathSegLinetoRel.idl:
      * svg/SVGPathSegLinetoVerticalAbs.idl:
      * svg/SVGPathSegLinetoVerticalRel.idl:
      * svg/SVGPathSegList.idl:
      * svg/SVGPathSegMovetoAbs.idl:
      * svg/SVGPathSegMovetoRel.idl:
      * svg/SVGPatternElement.idl:
      * svg/SVGPoint.idl:
      * svg/SVGPointList.idl:
      * svg/SVGPolygonElement.idl:
      * svg/SVGPolylineElement.idl:
      * svg/SVGPreserveAspectRatio.idl:
      * svg/SVGRadialGradientElement.idl:
      * svg/SVGRect.idl:
      * svg/SVGRectElement.idl:
      * svg/SVGRenderingIntent.idl:
      * svg/SVGSVGElement.idl:
      * svg/SVGScriptElement.idl:
      * svg/SVGSetElement.idl:
      * svg/SVGStopElement.idl:
      * svg/SVGStringList.idl:
      * svg/SVGStylable.idl:
      * svg/SVGStyleElement.idl:
      * svg/SVGSwitchElement.idl:
      * svg/SVGSymbolElement.idl:
      * svg/SVGTRefElement.idl:
      * svg/SVGTSpanElement.idl:
      * svg/SVGTests.idl:
      * svg/SVGTextContentElement.idl:
      * svg/SVGTextElement.idl:
      * svg/SVGTextPathElement.idl:
      * svg/SVGTextPositioningElement.idl:
      * svg/SVGTitleElement.idl:
      * svg/SVGTransform.idl:
      * svg/SVGTransformList.idl:
      * svg/SVGTransformable.idl:
      * svg/SVGURIReference.idl:
      * svg/SVGUnitTypes.idl:
      * svg/SVGUseElement.idl:
      * svg/SVGVKernElement.idl:
      * svg/SVGViewElement.idl:
      * svg/SVGViewSpec.idl:
      * svg/SVGZoomAndPan.idl:
      * svg/SVGZoomEvent.idl:
      * testing/InternalSettings.idl:
      * testing/Internals.idl:
      * testing/MallocStatistics.idl:
      * workers/AbstractWorker.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/SharedWorker.idl:
      * workers/SharedWorkerContext.idl:
      * workers/Worker.idl:
      * workers/WorkerContext.idl:
      * workers/WorkerLocation.idl:
      * xml/DOMParser.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLHttpRequestException.idl:
      * xml/XMLHttpRequestProgressEvent.idl:
      * xml/XMLHttpRequestUpload.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathException.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      * xml/XSLTProcessor.idl:
      Moved extended attributes.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4d60d13
    • commit-queue@webkit.org's avatar
      [WebKit IDL] remove all module from idl files. · cab10cea
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99007
      
      Patch by Takashi Sakamoto <tasak@google.com> on 2012-10-11
      Reviewed by Kentaro Hara.
      
      Since current WebIDL spec doesn't support "module", remove
      module from all idl files.
      
      No new tests. I ran run-bindings-tests and no error was reported.
      
      Source/WebCore:
      
      * Modules/battery/BatteryManager.idl:
      * Modules/battery/NavigatorBattery.idl:
      * Modules/filesystem/DOMFileSystem.idl:
      * Modules/filesystem/DOMFileSystemSync.idl:
      * Modules/filesystem/DOMWindowFileSystem.idl:
      * Modules/filesystem/DataTransferItemFileSystem.idl:
      * Modules/filesystem/DirectoryEntry.idl:
      * Modules/filesystem/DirectoryEntrySync.idl:
      * Modules/filesystem/DirectoryReader.idl:
      * Modules/filesystem/DirectoryReaderSync.idl:
      * Modules/filesystem/EntriesCallback.idl:
      * Modules/filesystem/Entry.idl:
      * Modules/filesystem/EntryArray.idl:
      * Modules/filesystem/EntryArraySync.idl:
      * Modules/filesystem/EntryCallback.idl:
      * Modules/filesystem/EntrySync.idl:
      * Modules/filesystem/ErrorCallback.idl:
      * Modules/filesystem/FileCallback.idl:
      * Modules/filesystem/FileEntry.idl:
      * Modules/filesystem/FileEntrySync.idl:
      * Modules/filesystem/FileSystemCallback.idl:
      * Modules/filesystem/FileWriter.idl:
      * Modules/filesystem/FileWriterCallback.idl:
      * Modules/filesystem/FileWriterSync.idl:
      * Modules/filesystem/HTMLInputElementFileSystem.idl:
      * Modules/filesystem/Metadata.idl:
      * Modules/filesystem/MetadataCallback.idl:
      * Modules/filesystem/WorkerContextFileSystem.idl:
      * Modules/gamepad/Gamepad.idl:
      * Modules/gamepad/GamepadList.idl:
      * Modules/gamepad/NavigatorGamepad.idl:
      * Modules/geolocation/Geolocation.idl:
      * Modules/geolocation/Geoposition.idl:
      * Modules/geolocation/NavigatorGeolocation.idl:
      * Modules/geolocation/PositionCallback.idl:
      * Modules/geolocation/PositionError.idl:
      * Modules/geolocation/PositionErrorCallback.idl:
      * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
      * Modules/indexeddb/IDBAny.idl:
      * Modules/indexeddb/IDBCursor.idl:
      * Modules/indexeddb/IDBCursorWithValue.idl:
      * Modules/indexeddb/IDBDatabase.idl:
      * Modules/indexeddb/IDBDatabaseException.idl:
      * Modules/indexeddb/IDBFactory.idl:
      * Modules/indexeddb/IDBIndex.idl:
      * Modules/indexeddb/IDBKey.idl:
      * Modules/indexeddb/IDBKeyRange.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/indexeddb/IDBOpenDBRequest.idl:
      * Modules/indexeddb/IDBRequest.idl:
      * Modules/indexeddb/IDBTransaction.idl:
      * Modules/indexeddb/IDBUpgradeNeededEvent.idl:
      * Modules/indexeddb/IDBVersionChangeEvent.idl:
      * Modules/indexeddb/IDBVersionChangeRequest.idl:
      * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
      * Modules/intents/DOMWindowIntents.idl:
      * Modules/intents/DeliveredIntent.idl:
      * Modules/intents/Intent.idl:
      * Modules/intents/IntentResultCallback.idl:
      * Modules/intents/NavigatorIntents.idl:
      * Modules/mediasource/MediaSource.idl:
      * Modules/mediasource/SourceBuffer.idl:
      * Modules/mediasource/SourceBufferList.idl:
      * Modules/mediastream/DOMWindowMediaStream.idl:
      * Modules/mediastream/IceCallback.idl:
      * Modules/mediastream/IceCandidate.idl:
      * Modules/mediastream/LocalMediaStream.idl:
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamEvent.idl:
      * Modules/mediastream/MediaStreamList.idl:
      * Modules/mediastream/MediaStreamTrack.idl:
      * Modules/mediastream/MediaStreamTrackEvent.idl:
      * Modules/mediastream/MediaStreamTrackList.idl:
      * Modules/mediastream/NavigatorMediaStream.idl:
      * Modules/mediastream/NavigatorUserMediaError.idl:
      * Modules/mediastream/NavigatorUserMediaErrorCallback.idl:
      * Modules/mediastream/NavigatorUserMediaSuccessCallback.idl:
      * Modules/mediastream/PeerConnection00.idl:
      * Modules/mediastream/RTCErrorCallback.idl:
      * Modules/mediastream/RTCIceCandidate.idl:
      * Modules/mediastream/RTCIceCandidateEvent.idl:
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCSessionDescription.idl:
      * Modules/mediastream/RTCSessionDescriptionCallback.idl:
      * Modules/mediastream/RTCStatsCallback.idl:
      * Modules/mediastream/RTCStatsElement.idl:
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/mediastream/RTCStatsResponse.idl:
      * Modules/mediastream/SessionDescription.idl:
      * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
      * Modules/networkinfo/NavigatorNetworkInfoConnection.idl:
      * Modules/networkinfo/NetworkInfoConnection.idl:
      * Modules/notifications/DOMWindowNotifications.idl:
      * Modules/notifications/Notification.idl:
      * Modules/notifications/NotificationCenter.idl:
      * Modules/notifications/NotificationPermissionCallback.idl:
      * Modules/notifications/WorkerContextNotifications.idl:
      * Modules/proximity/DeviceProximityEvent.idl:
      * Modules/quota/DOMWindowQuota.idl:
      * Modules/quota/StorageInfo.idl:
      * Modules/quota/StorageInfoErrorCallback.idl:
      * Modules/quota/StorageInfoQuotaCallback.idl:
      * Modules/quota/StorageInfoUsageCallback.idl:
      * Modules/speech/DOMWindowSpeech.idl:
      * Modules/speech/SpeechGrammar.idl:
      * Modules/speech/SpeechGrammarList.idl:
      * Modules/speech/SpeechRecognition.idl:
      * Modules/speech/SpeechRecognitionAlternative.idl:
      * Modules/speech/SpeechRecognitionError.idl:
      * Modules/speech/SpeechRecognitionEvent.idl:
      * Modules/speech/SpeechRecognitionResult.idl:
      * Modules/speech/SpeechRecognitionResultList.idl:
      * Modules/vibration/NavigatorVibration.idl:
      * Modules/webaudio/AudioBuffer.idl:
      * Modules/webaudio/AudioBufferCallback.idl:
      * Modules/webaudio/AudioBufferSourceNode.idl:
      * Modules/webaudio/AudioChannelMerger.idl:
      * Modules/webaudio/AudioChannelSplitter.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/AudioDestinationNode.idl:
      * Modules/webaudio/AudioGain.idl:
      * Modules/webaudio/AudioGainNode.idl:
      * Modules/webaudio/AudioListener.idl:
      * Modules/webaudio/AudioNode.idl:
      * Modules/webaudio/AudioPannerNode.idl:
      * Modules/webaudio/AudioParam.idl:
      * Modules/webaudio/AudioProcessingEvent.idl:
      * Modules/webaudio/AudioSourceNode.idl:
      * Modules/webaudio/BiquadFilterNode.idl:
      * Modules/webaudio/ConvolverNode.idl:
      * Modules/webaudio/DOMWindowWebAudio.idl:
      * Modules/webaudio/DelayNode.idl:
      * Modules/webaudio/DynamicsCompressorNode.idl:
      * Modules/webaudio/JavaScriptAudioNode.idl:
      * Modules/webaudio/MediaElementAudioSourceNode.idl:
      * Modules/webaudio/MediaStreamAudioSourceNode.idl:
      * Modules/webaudio/OfflineAudioCompletionEvent.idl:
      * Modules/webaudio/Oscillator.idl:
      * Modules/webaudio/RealtimeAnalyserNode.idl:
      * Modules/webaudio/WaveShaperNode.idl:
      * Modules/webaudio/WaveTable.idl:
      * Modules/webdatabase/DOMWindowWebDatabase.idl:
      * Modules/webdatabase/Database.idl:
      * Modules/webdatabase/DatabaseCallback.idl:
      * Modules/webdatabase/DatabaseSync.idl:
      * Modules/webdatabase/SQLError.idl:
      * Modules/webdatabase/SQLException.idl:
      * Modules/webdatabase/SQLResultSet.idl:
      * Modules/webdatabase/SQLResultSetRowList.idl:
      * Modules/webdatabase/SQLStatementCallback.idl:
      * Modules/webdatabase/SQLStatementErrorCallback.idl:
      * Modules/webdatabase/SQLTransaction.idl:
      * Modules/webdatabase/SQLTransactionCallback.idl:
      * Modules/webdatabase/SQLTransactionErrorCallback.idl:
      * Modules/webdatabase/SQLTransactionSync.idl:
      * Modules/webdatabase/SQLTransactionSyncCallback.idl:
      * Modules/webdatabase/WorkerContextWebDatabase.idl:
      * Modules/websockets/CloseEvent.idl:
      * Modules/websockets/DOMWindowWebSocket.idl:
      * Modules/websockets/WebSocket.idl:
      * Modules/websockets/WorkerContextWebSocket.idl:
      * bindings/scripts/test/TestCallback.idl:
      * bindings/scripts/test/TestCustomNamedGetter.idl:
      * bindings/scripts/test/TestDomainSecurity.idl:
      * bindings/scripts/test/TestEventConstructor.idl:
      * bindings/scripts/test/TestEventTarget.idl:
      * bindings/scripts/test/TestException.idl:
      * bindings/scripts/test/TestInterface.idl:
      * bindings/scripts/test/TestMediaQueryListListener.idl:
      * bindings/scripts/test/TestNamedConstructor.idl:
      * bindings/scripts/test/TestNode.idl:
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
      * bindings/scripts/test/TestSupplemental.idl:
      * bindings/scripts/test/TestTypedArray.idl:
      * css/CSSCharsetRule.idl:
      * css/CSSFontFaceRule.idl:
      * css/CSSImportRule.idl:
      * css/CSSMediaRule.idl:
      * css/CSSPageRule.idl:
      * css/CSSPrimitiveValue.idl:
      * css/CSSRule.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleRule.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSUnknownRule.idl:
      * css/CSSValue.idl:
      * css/CSSValueList.idl:
      * css/Counter.idl:
      * css/MediaList.idl:
      * css/MediaQueryList.idl:
      * css/MediaQueryListListener.idl:
      * css/RGBColor.idl:
      * css/Rect.idl:
      * css/StyleMedia.idl:
      * css/StyleSheet.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSFilterValue.idl:
      * css/WebKitCSSKeyframeRule.idl:
      * css/WebKitCSSKeyframesRule.idl:
      * css/WebKitCSSMatrix.idl:
      * css/WebKitCSSRegionRule.idl:
      * css/WebKitCSSTransformValue.idl:
      * dom/Attr.idl:
      * dom/BeforeLoadEvent.idl:
      * dom/CDATASection.idl:
      * dom/CharacterData.idl:
      * dom/ClientRect.idl:
      * dom/ClientRectList.idl:
      * dom/Clipboard.idl:
      * dom/Comment.idl:
      * dom/CompositionEvent.idl:
      * dom/CustomEvent.idl:
      * dom/DOMCoreException.idl:
      * dom/DOMError.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMNamedFlowCollection.idl:
      * dom/DOMStringList.idl:
      * dom/DOMStringMap.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DeviceMotionEvent.idl:
      * dom/DeviceOrientationEvent.idl:
      * dom/Document.idl:
      * dom/DocumentFragment.idl:
      * dom/DocumentType.idl:
      * dom/Element.idl:
      * dom/Entity.idl:
      * dom/EntityReference.idl:
      * dom/ErrorEvent.idl:
      * dom/Event.idl:
      * dom/EventException.idl:
      * dom/EventListener.idl:
      * dom/EventTarget.idl:
      * dom/HashChangeEvent.idl:
      * dom/KeyboardEvent.idl:
      * dom/MessageChannel.idl:
      * dom/MessageEvent.idl:
      * dom/MessagePort.idl:
      * dom/MouseEvent.idl:
      * dom/MutationCallback.idl:
      * dom/MutationEvent.idl:
      * dom/MutationObserver.idl:
      * dom/MutationRecord.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeIterator.idl:
      * dom/NodeList.idl:
      * dom/Notation.idl:
      * dom/OverflowEvent.idl:
      * dom/PageTransitionEvent.idl:
      * dom/PopStateEvent.idl:
      * dom/ProcessingInstruction.idl:
      * dom/ProgressEvent.idl:
      * dom/PropertyNodeList.idl:
      * dom/Range.idl:
      * dom/RangeException.idl:
      * dom/RequestAnimationFrameCallback.idl:
      * dom/ShadowRoot.idl:
      * dom/StringCallback.idl:
      * dom/Text.idl:
      * dom/TextEvent.idl:
      * dom/Touch.idl:
      * dom/TouchEvent.idl:
      * dom/TouchList.idl:
      * dom/TreeWalker.idl:
      * dom/UIEvent.idl:
      * dom/WebKitAnimationEvent.idl:
      * dom/WebKitNamedFlow.idl:
      * dom/WebKitTransitionEvent.idl:
      * dom/WheelEvent.idl:
      * editing/DOMTransaction.idl:
      * editing/UndoManager.idl:
      * fileapi/Blob.idl:
      * fileapi/File.idl:
      * fileapi/FileError.idl:
      * fileapi/FileException.idl:
      * fileapi/FileList.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * html/DOMFormData.idl:
      * html/DOMSettableTokenList.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAnchorElement.idl:
      * html/HTMLAppletElement.idl:
      * html/HTMLAreaElement.idl:
      * html/HTMLAudioElement.idl:
      * html/HTMLBRElement.idl:
      * html/HTMLBaseElement.idl:
      * html/HTMLBaseFontElement.idl:
      * html/HTMLBodyElement.idl:
      * html/HTMLButtonElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDListElement.idl:
      * html/HTMLDataListElement.idl:
      * html/HTMLDetailsElement.idl:
      * html/HTMLDialogElement.idl:
      * html/HTMLDirectoryElement.idl:
      * html/HTMLDivElement.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLEmbedElement.idl:
      * html/HTMLFieldSetElement.idl:
      * html/HTMLFontElement.idl:
      * html/HTMLFormElement.idl:
      * html/HTMLFrameElement.idl:
      * html/HTMLFrameSetElement.idl:
      * html/HTMLHRElement.idl:
      * html/HTMLHeadElement.idl:
      * html/HTMLHeadingElement.idl:
      * html/HTMLHtmlElement.idl:
      * html/HTMLIFrameElement.idl:
      * html/HTMLImageElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLIntentElement.idl:
      * html/HTMLKeygenElement.idl:
      * html/HTMLLIElement.idl:
      * html/HTMLLabelElement.idl:
      * html/HTMLLegendElement.idl:
      * html/HTMLLinkElement.idl:
      * html/HTMLMapElement.idl:
      * html/HTMLMarqueeElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLMenuElement.idl:
      * html/HTMLMetaElement.idl:
      * html/HTMLMeterElement.idl:
      * html/HTMLModElement.idl:
      * html/HTMLOListElement.idl:
      * html/HTMLObjectElement.idl:
      * html/HTMLOptGroupElement.idl:
      * html/HTMLOptionElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLOutputElement.idl:
      * html/HTMLParagraphElement.idl:
      * html/HTMLParamElement.idl:
      * html/HTMLPreElement.idl:
      * html/HTMLProgressElement.idl:
      * html/HTMLPropertiesCollection.idl:
      * html/HTMLQuoteElement.idl:
      * html/HTMLScriptElement.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLSourceElement.idl:
      * html/HTMLSpanElement.idl:
      * html/HTMLStyleElement.idl:
      * html/HTMLTableCaptionElement.idl:
      * html/HTMLTableCellElement.idl:
      * html/HTMLTableColElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/HTMLTitleElement.idl:
      * html/HTMLTrackElement.idl:
      * html/HTMLUListElement.idl:
      * html/HTMLUnknownElement.idl:
      * html/HTMLVideoElement.idl:
      * html/ImageData.idl:
      * html/MediaController.idl:
      * html/MediaError.idl:
      * html/MediaKeyError.idl:
      * html/MediaKeyEvent.idl:
      * html/MicroDataItemValue.idl:
      * html/RadioNodeList.idl:
      * html/TextMetrics.idl:
      * html/TimeRanges.idl:
      * html/ValidityState.idl:
      * html/VoidCallback.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/CanvasGradient.idl:
      * html/canvas/CanvasPattern.idl:
      * html/canvas/CanvasRenderingContext.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/DataView.idl:
      * html/canvas/EXTTextureFilterAnisotropic.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESStandardDerivatives.idl:
      * html/canvas/OESTextureFloat.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/canvas/WebGLActiveInfo.idl:
      * html/canvas/WebGLBuffer.idl:
      * html/canvas/WebGLCompressedTextureS3TC.idl:
      * html/canvas/WebGLContextAttributes.idl:
      * html/canvas/WebGLContextEvent.idl:
      * html/canvas/WebGLDebugRendererInfo.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLDepthTexture.idl:
      * html/canvas/WebGLFramebuffer.idl:
      * html/canvas/WebGLLoseContext.idl:
      * html/canvas/WebGLProgram.idl:
      * html/canvas/WebGLRenderbuffer.idl:
      * html/canvas/WebGLRenderingContext.idl:
      * html/canvas/WebGLShader.idl:
      * html/canvas/WebGLShaderPrecisionFormat.idl:
      * html/canvas/WebGLTexture.idl:
      * html/canvas/WebGLUniformLocation.idl:
      * html/canvas/WebGLVertexArrayObjectOES.idl:
      * html/shadow/HTMLContentElement.idl:
      * html/shadow/HTMLShadowElement.idl:
      * html/track/TextTrack.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackCueList.idl:
      * html/track/TextTrackList.idl:
      * html/track/TrackEvent.idl:
      * inspector/InjectedScriptHost.idl:
      * inspector/InspectorFrontendHost.idl:
      * inspector/JavaScriptCallFrame.idl:
      * inspector/ScriptProfile.idl:
      * inspector/ScriptProfileNode.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * page/AbstractView.idl:
      * page/BarInfo.idl:
      * page/Console.idl:
      * page/Coordinates.idl:
      * page/Crypto.idl:
      * page/DOMSecurityPolicy.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/DOMWindowPagePopup.idl:
      * page/EventSource.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/MemoryInfo.idl:
      * page/Navigator.idl:
      * page/PagePopupController.idl:
      * page/Performance.idl:
      * page/PerformanceEntry.idl:
      * page/PerformanceEntryList.idl:
      * page/PerformanceNavigation.idl:
      * page/PerformanceResourceTiming.idl:
      * page/PerformanceTiming.idl:
      * page/Screen.idl:
      * page/SpeechInputEvent.idl:
      * page/SpeechInputResult.idl:
      * page/SpeechInputResultList.idl:
      * page/WebKitAnimation.idl:
      * page/WebKitAnimationList.idl:
      * page/WebKitPoint.idl:
      * page/WorkerNavigator.idl:
      * plugins/DOMMimeType.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPlugin.idl:
      * plugins/DOMPluginArray.idl:
      * storage/Storage.idl:
      * storage/StorageEvent.idl:
      * svg/ElementTimeControl.idl:
      * svg/SVGAElement.idl:
      * svg/SVGAltGlyphDefElement.idl:
      * svg/SVGAltGlyphElement.idl:
      * svg/SVGAltGlyphItemElement.idl:
      * svg/SVGAngle.idl:
      * svg/SVGAnimateColorElement.idl:
      * svg/SVGAnimateElement.idl:
      * svg/SVGAnimateMotionElement.idl:
      * svg/SVGAnimateTransformElement.idl:
      * svg/SVGAnimatedAngle.idl:
      * svg/SVGAnimatedBoolean.idl:
      * svg/SVGAnimatedEnumeration.idl:
      * svg/SVGAnimatedInteger.idl:
      * svg/SVGAnimatedLength.idl:
      * svg/SVGAnimatedLengthList.idl:
      * svg/SVGAnimatedNumber.idl:
      * svg/SVGAnimatedNumberList.idl:
      * svg/SVGAnimatedPreserveAspectRatio.idl:
      * svg/SVGAnimatedRect.idl:
      * svg/SVGAnimatedString.idl:
      * svg/SVGAnimatedTransformList.idl:
      * svg/SVGAnimationElement.idl:
      * svg/SVGCircleElement.idl:
      * svg/SVGClipPathElement.idl:
      * svg/SVGColor.idl:
      * svg/SVGComponentTransferFunctionElement.idl:
      * svg/SVGCursorElement.idl:
      * svg/SVGDefsElement.idl:
      * svg/SVGDescElement.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElement.idl:
      * svg/SVGElementInstance.idl:
      * svg/SVGElementInstanceList.idl:
      * svg/SVGEllipseElement.idl:
      * svg/SVGException.idl:
      * svg/SVGExternalResourcesRequired.idl:
      * svg/SVGFEBlendElement.idl:
      * svg/SVGFEColorMatrixElement.idl:
      * svg/SVGFEComponentTransferElement.idl:
      * svg/SVGFECompositeElement.idl:
      * svg/SVGFEConvolveMatrixElement.idl:
      * svg/SVGFEDiffuseLightingElement.idl:
      * svg/SVGFEDisplacementMapElement.idl:
      * svg/SVGFEDistantLightElement.idl:
      * svg/SVGFEDropShadowElement.idl:
      * svg/SVGFEFloodElement.idl:
      * svg/SVGFEFuncAElement.idl:
      * svg/SVGFEFuncBElement.idl:
      * svg/SVGFEFuncGElement.idl:
      * svg/SVGFEFuncRElement.idl:
      * svg/SVGFEGaussianBlurElement.idl:
      * svg/SVGFEImageElement.idl:
      * svg/SVGFEMergeElement.idl:
      * svg/SVGFEMergeNodeElement.idl:
      * svg/SVGFEMorphologyElement.idl:
      * svg/SVGFEOffsetElement.idl:
      * svg/SVGFEPointLightElement.idl:
      * svg/SVGFESpecularLightingElement.idl:
      * svg/SVGFESpotLightElement.idl:
      * svg/SVGFETileElement.idl:
      * svg/SVGFETurbulenceElement.idl:
      * svg/SVGFilterElement.idl:
      * svg/SVGFilterPrimitiveStandardAttributes.idl:
      * svg/SVGFitToViewBox.idl:
      * svg/SVGFontElement.idl:
      * svg/SVGFontFaceElement.idl:
      * svg/SVGFontFaceFormatElement.idl:
      * svg/SVGFontFaceNameElement.idl:
      * svg/SVGFontFaceSrcElement.idl:
      * svg/SVGFontFaceUriElement.idl:
      * svg/SVGForeignObjectElement.idl:
      * svg/SVGGElement.idl:
      * svg/SVGGlyphElement.idl:
      * svg/SVGGlyphRefElement.idl:
      * svg/SVGGradientElement.idl:
      * svg/SVGHKernElement.idl:
      * svg/SVGImageElement.idl:
      * svg/SVGLangSpace.idl:
      * svg/SVGLength.idl:
      * svg/SVGLengthList.idl:
      * svg/SVGLineElement.idl:
      * svg/SVGLinearGradientElement.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGMPathElement.idl:
      * svg/SVGMarkerElement.idl:
      * svg/SVGMaskElement.idl:
      * svg/SVGMatrix.idl:
      * svg/SVGMetadataElement.idl:
      * svg/SVGMissingGlyphElement.idl:
      * svg/SVGNumber.idl:
      * svg/SVGNumberList.idl:
      * svg/SVGPaint.idl:
      * svg/SVGPathElement.idl:
      * svg/SVGPathSeg.idl:
      * svg/SVGPathSegArcAbs.idl:
      * svg/SVGPathSegArcRel.idl:
      * svg/SVGPathSegClosePath.idl:
      * svg/SVGPathSegCurvetoCubicAbs.idl:
      * svg/SVGPathSegCurvetoCubicRel.idl:
      * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
      * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
      * svg/SVGPathSegCurvetoQuadraticAbs.idl:
      * svg/SVGPathSegCurvetoQuadraticRel.idl:
      * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
      * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
      * svg/SVGPathSegLinetoAbs.idl:
      * svg/SVGPathSegLinetoHorizontalAbs.idl:
      * svg/SVGPathSegLinetoHorizontalRel.idl:
      * svg/SVGPathSegLinetoRel.idl:
      * svg/SVGPathSegLinetoVerticalAbs.idl:
      * svg/SVGPathSegLinetoVerticalRel.idl:
      * svg/SVGPathSegList.idl:
      * svg/SVGPathSegMovetoAbs.idl:
      * svg/SVGPathSegMovetoRel.idl:
      * svg/SVGPatternElement.idl:
      * svg/SVGPoint.idl:
      * svg/SVGPointList.idl:
      * svg/SVGPolygonElement.idl:
      * svg/SVGPolylineElement.idl:
      * svg/SVGPreserveAspectRatio.idl:
      * svg/SVGRadialGradientElement.idl:
      * svg/SVGRect.idl:
      * svg/SVGRectElement.idl:
      * svg/SVGRenderingIntent.idl:
      * svg/SVGSVGElement.idl:
      * svg/SVGScriptElement.idl:
      * svg/SVGSetElement.idl:
      * svg/SVGStopElement.idl:
      * svg/SVGStringList.idl:
      * svg/SVGStylable.idl:
      * svg/SVGStyleElement.idl:
      * svg/SVGSwitchElement.idl:
      * svg/SVGSymbolElement.idl:
      * svg/SVGTRefElement.idl:
      * svg/SVGTSpanElement.idl:
      * svg/SVGTests.idl:
      * svg/SVGTextContentElement.idl:
      * svg/SVGTextElement.idl:
      * svg/SVGTextPathElement.idl:
      * svg/SVGTextPositioningElement.idl:
      * svg/SVGTitleElement.idl:
      * svg/SVGTransform.idl:
      * svg/SVGTransformList.idl:
      * svg/SVGTransformable.idl:
      * svg/SVGURIReference.idl:
      * svg/SVGUnitTypes.idl:
      * svg/SVGUseElement.idl:
      * svg/SVGVKernElement.idl:
      * svg/SVGViewElement.idl:
      * svg/SVGViewSpec.idl:
      * svg/SVGZoomAndPan.idl:
      * svg/SVGZoomEvent.idl:
      * testing/InternalSettings.idl:
      * testing/Internals.idl:
      * testing/MallocStatistics.idl:
      * workers/AbstractWorker.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/SharedWorker.idl:
      * workers/SharedWorkerContext.idl:
      * workers/Worker.idl:
      * workers/WorkerContext.idl:
      * workers/WorkerLocation.idl:
      * xml/DOMParser.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLHttpRequestException.idl:
      * xml/XMLHttpRequestProgressEvent.idl:
      * xml/XMLHttpRequestUpload.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathException.idl:
      * xml/XPathExpression.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      * xml/XSLTProcessor.idl:
      Removed "module".
      
      Tools:
      
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarker.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarkerRange.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/GCController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/TextInputController.idl:
      Removed "module".
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cab10cea
  6. 13 Feb, 2012 1 commit
    • haraken@chromium.org's avatar
      Add [CustomToJSObject] to interfaces which have custom toJS() and toV8() · 09118523
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78489
      
      Reviewed by Adam Barth.
      
      This is the final step to remove hard-coding from HasCustomToV8Implementation()
      in CodeGeneratorV8.pm. This patch replaces [JSCustomToJS] with [CustomToJSObject]
      for interfaces which have custom toJS() and custom toV8().
      
      No tests. No change in behavior.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeader):
      
      * bindings/scripts/test/TestTypedArray.idl:
      * css/CSSRule.idl:
      * css/CSSValue.idl:
      * css/StyleSheet.idl:
      * dom/Document.idl:
      * dom/Event.idl:
      * dom/Node.idl:
      * fileapi/Blob.idl:
      * fileapi/Entry.idl:
      * fileapi/EntrySync.idl:
      * html/HTMLCollection.idl:
      * html/ImageData.idl:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/DataView.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * storage/IDBAny.idl:
      * storage/IDBKey.idl:
      * svg/SVGPathSeg.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09118523
  7. 04 Feb, 2012 1 commit
    • haraken@chromium.org's avatar
      Add the "JS" prefix to JSC specific IDL attributes · 72b14d6f
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77693
      
      Reviewed by Darin Adler.
      
      Some JSC specific IDLs do not have "JS" prefix, e.g. [CustomIsReachable].
      It might be OK since JSC is the main JavaScript engine in WebKit, but
      distinguishing IDLs widely used in WebKit and IDLs used in JSC only would help
      people understand the role of IDLs.
      
      This patch renames the following JSC specific IDLs:
      
          CustomFinalize => JSCustomFinalize
          CustomIsReachable => JSCustomIsReachable
          CustomMarkFunction => JSCustomMarkFunction
          CustomToJS => JSCustomToJS
          CustomNativeConverter => JSCustomToNativeObject (Note: For naming consistency with [JSCustomToJS])
          GenerateIsReachable => JSGenerateIsReachable
          GenerateToJS => JSGenerateToJS
          NoStaticTables => JSNoStaticTables
          WindowEventListener => JSWindowEventListener
          InlineGetOwnPropertySlot => JSInlineGetOwnPropertySlot
          DelegatingPrototypePutFunction => JSCustomPrototypePutDelegate
      
      No tests. No changes in behavior.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateGetOwnPropertySlotBody):
      (GenerateGetOwnPropertyDescriptorBody):
      (GenerateHeader):
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorV8.pm:
      (HasCustomToV8Implementation):
      
      * bindings/scripts/test/TestTypedArray.idl: No change in run-bindings-tests results.
      
      * css/CSSRule.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSValue.idl:
      * css/MediaList.idl:
      * css/MediaQueryListListener.idl:
      * css/StyleMedia.idl:
      * css/StyleSheet.idl:
      * css/StyleSheetList.idl:
      * dom/Attr.idl:
      * dom/DOMCoreException.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMStringMap.idl:
      * dom/Document.idl:
      * dom/Element.idl:
      * dom/ErrorEvent.idl:
      * dom/Event.idl:
      * dom/EventException.idl:
      * dom/EventListener.idl:
      * dom/MessageChannel.idl:
      * dom/MessageEvent.idl:
      * dom/MessagePort.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeIterator.idl:
      * dom/NodeList.idl:
      * dom/TreeWalker.idl:
      * dom/WebKitNamedFlow.idl:
      * fileapi/Blob.idl:
      * fileapi/DOMFileSystem.idl:
      * fileapi/DOMFileSystemSync.idl:
      * fileapi/DirectoryEntry.idl:
      * fileapi/DirectoryEntrySync.idl:
      * fileapi/DirectoryReader.idl:
      * fileapi/DirectoryReaderSync.idl:
      * fileapi/Entry.idl:
      * fileapi/EntryArray.idl:
      * fileapi/EntryArraySync.idl:
      * fileapi/EntrySync.idl:
      * fileapi/File.idl:
      * fileapi/FileEntry.idl:
      * fileapi/FileEntrySync.idl:
      * fileapi/FileError.idl:
      * fileapi/FileException.idl:
      * fileapi/FileList.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * fileapi/FileWriter.idl:
      * fileapi/Metadata.idl:
      * fileapi/OperationNotAllowedException.idl:
      * fileapi/WebKitBlobBuilder.idl:
      * html/DOMFormData.idl:
      * html/DOMSettableTokenList.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLBodyElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLFrameSetElement.idl:
      * html/ImageData.idl:
      * html/MediaController.idl:
      * html/TextTrack.idl:
      * html/TextTrackCue.idl:
      * html/VoidCallback.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/CanvasRenderingContext.idl:
      * html/canvas/DataView.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESStandardDerivatives.idl:
      * html/canvas/OESTextureFloat.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/canvas/WebGLCompressedTextures.idl:
      * html/canvas/WebGLDebugRendererInfo.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLLoseContext.idl:
      * html/canvas/WebGLRenderingContext.idl:
      * html/track/TextTrackList.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * mediastream/LocalMediaStream.idl:
      * page/BarInfo.idl:
      * page/Console.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/EventSource.idl:
      * page/Geolocation.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/Navigator.idl:
      * page/Screen.idl:
      * page/WorkerNavigator.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPluginArray.idl:
      * storage/Database.idl:
      * storage/DatabaseSync.idl:
      * storage/IDBAny.idl:
      * storage/IDBKey.idl:
      * storage/SQLError.idl:
      * storage/SQLException.idl:
      * storage/SQLResultSet.idl:
      * storage/SQLResultSetRowList.idl:
      * storage/SQLTransaction.idl:
      * storage/SQLTransactionSync.idl:
      * storage/Storage.idl:
      * svg/SVGElementInstance.idl:
      * svg/SVGPathSeg.idl:
      * webaudio/AudioBufferCallback.idl:
      * webaudio/AudioBufferSourceNode.idl:
      * webaudio/AudioContext.idl:
      * webaudio/AudioDestinationNode.idl:
      * webaudio/AudioGain.idl:
      * webaudio/AudioGainNode.idl:
      * webaudio/AudioPannerNode.idl:
      * webaudio/AudioProcessingEvent.idl:
      * webaudio/BiquadFilterNode.idl:
      * webaudio/ConvolverNode.idl:
      * webaudio/DelayNode.idl:
      * webaudio/DynamicsCompressorNode.idl:
      * webaudio/HighPass2FilterNode.idl:
      * webaudio/JavaScriptAudioNode.idl:
      * webaudio/LowPass2FilterNode.idl:
      * webaudio/MediaElementAudioSourceNode.idl:
      * webaudio/OfflineAudioCompletionEvent.idl:
      * webaudio/RealtimeAnalyserNode.idl:
      * webaudio/WaveShaperNode.idl:
      * websockets/CloseEvent.idl:
      * websockets/WebSocket.idl:
      * workers/AbstractWorker.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/SharedWorker.idl:
      * workers/SharedWorkerContext.idl:
      * workers/Worker.idl:
      * workers/WorkerContext.idl:
      * workers/WorkerLocation.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLHttpRequestException.idl:
      * xml/XMLHttpRequestProgressEvent.idl:
      * xml/XMLHttpRequestUpload.idl:
      * xml/XPathResult.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72b14d6f
  8. 20 Jun, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-06-20 Mark Pilgrim <pilgrim@chromium.org> · 11d6047e
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              Remove LegacyDefaultOptionalArguments flag from IDL files where it would not change behavior
              https://bugs.webkit.org/show_bug.cgi?id=62904
      
              After bug 62750, there are many IDL files that contain the new
              LegacyDefaultOptionalArguments flag that don't actually need it.
              Some examples:
      
                  - the IDL file contains no functions
                  - the IDL file contains only functions with no arguments
                  - the IDL file contains functions, *all* of which use the
                    [RequiresAllArguments=raise] extended attribute
      
              This patch simplifies such IDL files by removing the
              LegacyDefaultOptionalArguments flag and (if needed) removing the
              [RequiresAllArguments=raise] extended attribute from each function
              declaration. This patch does not make any required arguments optional
              or any optional arguments required. It changes no behavior at all.
      
              No new tests needed, all existing tests pass.
      
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/test/TestInterface.idl:
              * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
              * css/CSSCharsetRule.idl:
              * css/CSSFontFaceRule.idl:
              * css/CSSImportRule.idl:
              * css/CSSPageRule.idl:
              * css/CSSRule.idl:
              * css/CSSStyleRule.idl:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.idl:
              * css/Counter.idl:
              * css/RGBColor.idl:
              * css/Rect.idl:
              * css/StyleSheet.idl:
              * css/WebKitCSSKeyframeRule.idl:
              * css/WebKitCSSTransformValue.idl:
              * dom/Attr.idl:
              * dom/CDATASection.idl:
              * dom/ClientRect.idl:
              * dom/Comment.idl:
              * dom/DOMCoreException.idl:
              * dom/DOMStringMap.idl:
              * dom/DocumentType.idl:
              * dom/Entity.idl:
              * dom/EntityReference.idl:
              * dom/EventException.idl:
              * dom/GeneratedStream.idl:
              * dom/MessageChannel.idl:
              * dom/NodeIterator.idl:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.idl:
              * dom/RangeException.idl:
              * dom/Touch.idl:
              * dom/TreeWalker.idl:
              * fileapi/DOMFileSystem.idl:
              * fileapi/DOMFileSystemSync.idl:
              * fileapi/DirectoryReaderSync.idl:
              * fileapi/File.idl:
              * fileapi/FileEntrySync.idl:
              * fileapi/FileError.idl:
              * fileapi/FileException.idl:
              * fileapi/Metadata.idl:
              * fileapi/OperationNotAllowedException.idl:
              * fileapi/WebKitFlags.idl:
              * html/DOMSettableTokenList.idl:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.idl:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.idl:
              * html/HTMLDListElement.idl:
              * html/HTMLDataListElement.idl:
              * html/HTMLDetailsElement.idl:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLEmbedElement.idl:
              * html/HTMLFontElement.idl:
              * html/HTMLFormElement.idl:
              * html/HTMLFrameElement.idl:
              * html/HTMLFrameSetElement.idl:
              * html/HTMLHRElement.idl:
              * html/HTMLHeadElement.idl:
              * html/HTMLHeadingElement.idl:
              * html/HTMLHtmlElement.idl:
              * html/HTMLIFrameElement.idl:
              * html/HTMLImageElement.idl:
              * html/HTMLIsIndexElement.idl:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.idl:
              * html/HTMLMeterElement.idl:
              * html/HTMLModElement.idl:
              * html/HTMLOListElement.idl:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.idl:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.idl:
              * html/HTMLPreElement.idl:
              * html/HTMLProgressElement.idl:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.idl:
              * html/HTMLSourceElement.idl:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.idl:
              * html/HTMLTitleElement.idl:
              * html/HTMLTrackElement.idl:
              * html/HTMLUListElement.idl:
              * html/ImageData.idl:
              * html/MediaError.idl:
              * html/SpellcheckRange.idl:
              * html/TextMetrics.idl:
              * html/ValidityState.idl:
              * html/VoidCallback.idl:
              * html/canvas/ArrayBuffer.idl:
              * html/canvas/ArrayBufferView.idl:
              * html/canvas/CanvasPattern.idl:
              * html/canvas/CanvasPixelArray.idl:
              * html/canvas/CanvasRenderingContext.idl:
              * html/canvas/DataView.idl:
              * html/canvas/OESStandardDerivatives.idl:
              * html/canvas/OESTextureFloat.idl:
              * html/canvas/WebGLActiveInfo.idl:
              * html/canvas/WebGLBuffer.idl:
              * html/canvas/WebGLContextAttributes.idl:
              * html/canvas/WebGLFramebuffer.idl:
              * html/canvas/WebGLProgram.idl:
              * html/canvas/WebGLRenderbuffer.idl:
              * html/canvas/WebGLShader.idl:
              * html/canvas/WebGLTexture.idl:
              * html/canvas/WebGLUniformLocation.idl:
              * html/canvas/WebGLVertexArrayObjectOES.idl:
              * html/canvas/WebKitLoseContext.idl:
              * inspector/ScriptProfile.idl:
              * inspector/ScriptProfileNode.idl:
              * page/AbstractView.idl:
              * page/BarInfo.idl:
              * page/Coordinates.idl:
              * page/Geoposition.idl:
              * page/MemoryInfo.idl:
              * page/NavigatorUserMediaError.idl:
              * page/Performance.idl:
              * page/PerformanceNavigation.idl:
              * page/PerformanceTiming.idl:
              * page/PositionError.idl:
              * page/Screen.idl:
              * page/SpeechInputEvent.idl:
              * page/SpeechInputResult.idl:
              * page/WebKitAnimation.idl:
              * page/WebKitPoint.idl:
              * page/WorkerNavigator.idl:
              * plugins/DOMMimeType.idl:
              * storage/Database.idl:
              * storage/DatabaseSync.idl:
              * storage/IDBAny.idl:
              * storage/IDBCursorWithValue.idl:
              * storage/IDBDatabaseError.idl:
              * storage/IDBDatabaseException.idl:
              * storage/IDBKey.idl:
              * storage/IDBVersionChangeEvent.idl:
              * storage/IDBVersionChangeRequest.idl:
              * storage/SQLError.idl:
              * storage/SQLException.idl:
              * storage/SQLResultSet.idl:
              * svg/SVGAElement.idl:
              * svg/SVGAltGlyphElement.idl:
              * svg/SVGAngle.idl:
              * svg/SVGAnimateColorElement.idl:
              * svg/SVGAnimateElement.idl:
              * svg/SVGAnimateMotionElement.idl:
              * svg/SVGAnimateTransformElement.idl:
              * svg/SVGAnimatedAngle.idl:
              * svg/SVGAnimatedBoolean.idl:
              * svg/SVGAnimatedEnumeration.idl:
              * svg/SVGAnimatedInteger.idl:
              * svg/SVGAnimatedLength.idl:
              * svg/SVGAnimatedLengthList.idl:
              * svg/SVGAnimatedNumber.idl:
              * svg/SVGAnimatedNumberList.idl:
              * svg/SVGAnimatedPreserveAspectRatio.idl:
              * svg/SVGAnimatedRect.idl:
              * svg/SVGAnimatedString.idl:
              * svg/SVGAnimatedTransformList.idl:
              * svg/SVGCircleElement.idl:
              * svg/SVGClipPathElement.idl:
              * svg/SVGColor.idl:
              * svg/SVGComponentTransferFunctionElement.idl:
              * svg/SVGCursorElement.idl:
              * svg/SVGDefsElement.idl:
              * svg/SVGDescElement.idl:
              * svg/SVGElement.idl:
              * svg/SVGEllipseElement.idl:
              * svg/SVGExternalResourcesRequired.idl:
              * svg/SVGFEBlendElement.idl:
              * svg/SVGFEColorMatrixElement.idl:
              * svg/SVGFEComponentTransferElement.idl:
              * svg/SVGFECompositeElement.idl:
              * svg/SVGFEConvolveMatrixElement.idl:
              * svg/SVGFEDiffuseLightingElement.idl:
              * svg/SVGFEDisplacementMapElement.idl:
              * svg/SVGFEDistantLightElement.idl:
              * svg/SVGFEFloodElement.idl:
              * svg/SVGFEFuncAElement.idl:
              * svg/SVGFEFuncBElement.idl:
              * svg/SVGFEFuncGElement.idl:
              * svg/SVGFEFuncRElement.idl:
              * svg/SVGFEImageElement.idl:
              * svg/SVGFEMergeElement.idl:
              * svg/SVGFEMergeNodeElement.idl:
              * svg/SVGFEOffsetElement.idl:
              * svg/SVGFEPointLightElement.idl:
              * svg/SVGFESpecularLightingElement.idl:
              * svg/SVGFESpotLightElement.idl:
              * svg/SVGFETileElement.idl:
              * svg/SVGFETurbulenceElement.idl:
              * svg/SVGFilterPrimitiveStandardAttributes.idl:
              * svg/SVGFitToViewBox.idl:
              * svg/SVGFontElement.idl:
              * svg/SVGFontFaceElement.idl:
              * svg/SVGFontFaceFormatElement.idl:
              * svg/SVGFontFaceNameElement.idl:
              * svg/SVGFontFaceSrcElement.idl:
              * svg/SVGFontFaceUriElement.idl:
              * svg/SVGForeignObjectElement.idl:
              * svg/SVGGElement.idl:
              * svg/SVGGlyphElement.idl:
              * svg/SVGGradientElement.idl:
              * svg/SVGHKernElement.idl:
              * svg/SVGImageElement.idl:
              * svg/SVGLangSpace.idl:
              * svg/SVGLength.idl:
              * svg/SVGLengthList.idl:
              * svg/SVGLineElement.idl:
              * svg/SVGLinearGradientElement.idl:
              * svg/SVGMPathElement.idl:
              * svg/SVGMaskElement.idl:
              * svg/SVGMatrix.idl:
              * svg/SVGMetadataElement.idl:
              * svg/SVGMissingGlyphElement.idl:
              * svg/SVGNumber.idl:
              * svg/SVGNumberList.idl:
              * svg/SVGPaint.idl:
              * svg/SVGPathSeg.idl:
              * svg/SVGPathSegArcAbs.idl:
              * svg/SVGPathSegArcRel.idl:
              * svg/SVGPathSegClosePath.idl:
              * svg/SVGPathSegCurvetoCubicAbs.idl:
              * svg/SVGPathSegCurvetoCubicRel.idl:
              * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
              * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
              * svg/SVGPathSegCurvetoQuadraticAbs.idl:
              * svg/SVGPathSegCurvetoQuadraticRel.idl:
              * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
              * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
              * svg/SVGPathSegLinetoAbs.idl:
              * svg/SVGPathSegLinetoHorizontalAbs.idl:
              * svg/SVGPathSegLinetoHorizontalRel.idl:
              * svg/SVGPathSegLinetoRel.idl:
              * svg/SVGPathSegLinetoVerticalAbs.idl:
              * svg/SVGPathSegLinetoVerticalRel.idl:
              * svg/SVGPathSegList.idl:
              * svg/SVGPathSegMovetoAbs.idl:
              * svg/SVGPathSegMovetoRel.idl:
              * svg/SVGPatternElement.idl:
              * svg/SVGPoint.idl:
              * svg/SVGPointList.idl:
              * svg/SVGPolygonElement.idl:
              * svg/SVGPolylineElement.idl:
              * svg/SVGPreserveAspectRatio.idl:
              * svg/SVGRadialGradientElement.idl:
              * svg/SVGRect.idl:
              * svg/SVGRectElement.idl:
              * svg/SVGRenderingIntent.idl:
              * svg/SVGScriptElement.idl:
              * svg/SVGSetElement.idl:
              * svg/SVGStopElement.idl:
              * svg/SVGStringList.idl:
              * svg/SVGSwitchElement.idl:
              * svg/SVGSymbolElement.idl:
              * svg/SVGTRefElement.idl:
              * svg/SVGTSpanElement.idl:
              * svg/SVGTextElement.idl:
              * svg/SVGTextPathElement.idl:
              * svg/SVGTextPositioningElement.idl:
              * svg/SVGTitleElement.idl:
              * svg/SVGTransform.idl:
              * svg/SVGTransformList.idl:
              * svg/SVGTransformable.idl:
              * svg/SVGURIReference.idl:
              * svg/SVGUnitTypes.idl:
              * svg/SVGUseElement.idl:
              * svg/SVGVKernElement.idl:
              * svg/SVGViewElement.idl:
              * svg/SVGViewSpec.idl:
              * svg/SVGZoomAndPan.idl:
              * svg/SVGZoomEvent.idl:
              * testing/Internals.idl:
              * webaudio/AudioChannelMerger.idl:
              * webaudio/AudioChannelSplitter.idl:
              * webaudio/AudioDestinationNode.idl:
              * webaudio/AudioGain.idl:
              * webaudio/AudioGainNode.idl:
              * webaudio/AudioProcessingEvent.idl:
              * webaudio/AudioSourceNode.idl:
              * webaudio/BiquadFilterNode.idl:
              * webaudio/ConvolverNode.idl:
              * webaudio/DelayNode.idl:
              * webaudio/DynamicsCompressorNode.idl:
              * webaudio/HighPass2FilterNode.idl:
              * webaudio/JavaScriptAudioNode.idl:
              * webaudio/LowPass2FilterNode.idl:
              * webaudio/OfflineAudioCompletionEvent.idl:
              * workers/SharedWorker.idl:
              * workers/SharedWorkerContext.idl:
              * workers/WorkerLocation.idl:
              * xml/XMLHttpRequestException.idl:
              * xml/XMLHttpRequestProgressEvent.idl:
              * xml/XPathException.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11d6047e
  9. 18 Jun, 2011 2 commits
    • commit-queue@webkit.org's avatar
      2011-06-18 Sheriff Bot <webkit.review.bot@gmail.com> · 1f406685
      commit-queue@webkit.org authored
              Unreviewed, rolling out r89189.
              http://trac.webkit.org/changeset/89189
              https://bugs.webkit.org/show_bug.cgi?id=62925
      
              It broke Qt build (Requested by Ossy_weekend on #webkit).
      
              * bindings/scripts/test/TestInterface.idl:
              * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
              * css/CSSCharsetRule.idl:
              * css/CSSFontFaceRule.idl:
              * css/CSSImportRule.idl:
              * css/CSSPageRule.idl:
              * css/CSSRule.idl:
              * css/CSSStyleRule.idl:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.idl:
              * css/Counter.idl:
              * css/RGBColor.idl:
              * css/Rect.idl:
              * css/StyleSheet.idl:
              * css/WebKitCSSKeyframeRule.idl:
              * css/WebKitCSSTransformValue.idl:
              * dom/Attr.idl:
              * dom/CDATASection.idl:
              * dom/ClientRect.idl:
              * dom/Comment.idl:
              * dom/DOMCoreException.idl:
              * dom/DOMStringMap.idl:
              * dom/DocumentType.idl:
              * dom/Entity.idl:
              * dom/EntityReference.idl:
              * dom/EventException.idl:
              * dom/GeneratedStream.idl:
              * dom/MessageChannel.idl:
              * dom/NodeIterator.idl:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.idl:
              * dom/RangeException.idl:
              * dom/Touch.idl:
              * dom/TreeWalker.idl:
              * fileapi/DOMFileSystem.idl:
              * fileapi/DOMFileSystemSync.idl:
              * fileapi/DirectoryReaderSync.idl:
              * fileapi/File.idl:
              * fileapi/FileEntrySync.idl:
              * fileapi/FileError.idl:
              * fileapi/FileException.idl:
              * fileapi/Metadata.idl:
              * fileapi/OperationNotAllowedException.idl:
              * fileapi/WebKitFlags.idl:
              * html/DOMSettableTokenList.idl:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.idl:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.idl:
              * html/HTMLDListElement.idl:
              * html/HTMLDataListElement.idl:
              * html/HTMLDetailsElement.idl:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLEmbedElement.idl:
              * html/HTMLFontElement.idl:
              * html/HTMLFormElement.idl:
              * html/HTMLFrameElement.idl:
              * html/HTMLFrameSetElement.idl:
              * html/HTMLHRElement.idl:
              * html/HTMLHeadElement.idl:
              * html/HTMLHeadingElement.idl:
              * html/HTMLHtmlElement.idl:
              * html/HTMLIFrameElement.idl:
              * html/HTMLImageElement.idl:
              * html/HTMLIsIndexElement.idl:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.idl:
              * html/HTMLMeterElement.idl:
              * html/HTMLModElement.idl:
              * html/HTMLOListElement.idl:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.idl:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.idl:
              * html/HTMLPreElement.idl:
              * html/HTMLProgressElement.idl:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.idl:
              * html/HTMLSourceElement.idl:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.idl:
              * html/HTMLTitleElement.idl:
              * html/HTMLTrackElement.idl:
              * html/HTMLUListElement.idl:
              * html/ImageData.idl:
              * html/MediaError.idl:
              * html/SpellcheckRange.idl:
              * html/TextMetrics.idl:
              * html/ValidityState.idl:
              * html/VoidCallback.idl:
              * html/canvas/ArrayBuffer.idl:
              * html/canvas/ArrayBufferView.idl:
              * html/canvas/CanvasPattern.idl:
              * html/canvas/CanvasPixelArray.idl:
              * html/canvas/CanvasRenderingContext.idl:
              * html/canvas/DataView.idl:
              * html/canvas/OESStandardDerivatives.idl:
              * html/canvas/OESTextureFloat.idl:
              * html/canvas/WebGLActiveInfo.idl:
              * html/canvas/WebGLBuffer.idl:
              * html/canvas/WebGLContextAttributes.idl:
              * html/canvas/WebGLFramebuffer.idl:
              * html/canvas/WebGLProgram.idl:
              * html/canvas/WebGLRenderbuffer.idl:
              * html/canvas/WebGLShader.idl:
              * html/canvas/WebGLTexture.idl:
              * html/canvas/WebGLUniformLocation.idl:
              * html/canvas/WebGLVertexArrayObjectOES.idl:
              * html/canvas/WebKitLoseContext.idl:
              * inspector/ScriptProfile.idl:
              * inspector/ScriptProfileNode.idl:
              * page/AbstractView.idl:
              * page/BarInfo.idl:
              * page/Coordinates.idl:
              * page/Geoposition.idl:
              * page/MemoryInfo.idl:
              * page/NavigatorUserMediaError.idl:
              * page/Performance.idl:
              * page/PerformanceNavigation.idl:
              * page/PerformanceTiming.idl:
              * page/PositionError.idl:
              * page/Screen.idl:
              * page/SpeechInputEvent.idl:
              * page/SpeechInputResult.idl:
              * page/WebKitAnimation.idl:
              * page/WebKitPoint.idl:
              * page/WorkerNavigator.idl:
              * plugins/DOMMimeType.idl:
              * storage/Database.idl:
              * storage/DatabaseSync.idl:
              * storage/IDBAny.idl:
              * storage/IDBCursorWithValue.idl:
              * storage/IDBDatabaseError.idl:
              * storage/IDBDatabaseException.idl:
              * storage/IDBKey.idl:
              * storage/IDBVersionChangeEvent.idl:
              * storage/IDBVersionChangeRequest.idl:
              * storage/SQLError.idl:
              * storage/SQLException.idl:
              * storage/SQLResultSet.idl:
              * svg/SVGAElement.idl:
              * svg/SVGAltGlyphElement.idl:
              * svg/SVGAngle.idl:
              * svg/SVGAnimateColorElement.idl:
              * svg/SVGAnimateElement.idl:
              * svg/SVGAnimateMotionElement.idl:
              * svg/SVGAnimateTransformElement.idl:
              * svg/SVGAnimatedAngle.idl:
              * svg/SVGAnimatedBoolean.idl:
              * svg/SVGAnimatedEnumeration.idl:
              * svg/SVGAnimatedInteger.idl:
              * svg/SVGAnimatedLength.idl:
              * svg/SVGAnimatedLengthList.idl:
              * svg/SVGAnimatedNumber.idl:
              * svg/SVGAnimatedNumberList.idl:
              * svg/SVGAnimatedPreserveAspectRatio.idl:
              * svg/SVGAnimatedRect.idl:
              * svg/SVGAnimatedString.idl:
              * svg/SVGAnimatedTransformList.idl:
              * svg/SVGCircleElement.idl:
              * svg/SVGClipPathElement.idl:
              * svg/SVGColor.idl:
              * svg/SVGComponentTransferFunctionElement.idl:
              * svg/SVGCursorElement.idl:
              * svg/SVGDefsElement.idl:
              * svg/SVGDescElement.idl:
              * svg/SVGElement.idl:
              * svg/SVGEllipseElement.idl:
              * svg/SVGExternalResourcesRequired.idl:
              * svg/SVGFEBlendElement.idl:
              * svg/SVGFEColorMatrixElement.idl:
              * svg/SVGFEComponentTransferElement.idl:
              * svg/SVGFECompositeElement.idl:
              * svg/SVGFEConvolveMatrixElement.idl:
              * svg/SVGFEDiffuseLightingElement.idl:
              * svg/SVGFEDisplacementMapElement.idl:
              * svg/SVGFEDistantLightElement.idl:
              * svg/SVGFEFloodElement.idl:
              * svg/SVGFEFuncAElement.idl:
              * svg/SVGFEFuncBElement.idl:
              * svg/SVGFEFuncGElement.idl:
              * svg/SVGFEFuncRElement.idl:
              * svg/SVGFEImageElement.idl:
              * svg/SVGFEMergeElement.idl:
              * svg/SVGFEMergeNodeElement.idl:
              * svg/SVGFEOffsetElement.idl:
              * svg/SVGFEPointLightElement.idl:
              * svg/SVGFESpecularLightingElement.idl:
              * svg/SVGFESpotLightElement.idl:
              * svg/SVGFETileElement.idl:
              * svg/SVGFETurbulenceElement.idl:
              * svg/SVGFilterPrimitiveStandardAttributes.idl:
              * svg/SVGFitToViewBox.idl:
              * svg/SVGFontElement.idl:
              * svg/SVGFontFaceElement.idl:
              * svg/SVGFontFaceFormatElement.idl:
              * svg/SVGFontFaceNameElement.idl:
              * svg/SVGFontFaceSrcElement.idl:
              * svg/SVGFontFaceUriElement.idl:
              * svg/SVGForeignObjectElement.idl:
              * svg/SVGGElement.idl:
              * svg/SVGGlyphElement.idl:
              * svg/SVGGradientElement.idl:
              * svg/SVGHKernElement.idl:
              * svg/SVGImageElement.idl:
              * svg/SVGLangSpace.idl:
              * svg/SVGLength.idl:
              * svg/SVGLengthList.idl:
              * svg/SVGLineElement.idl:
              * svg/SVGLinearGradientElement.idl:
              * svg/SVGMPathElement.idl:
              * svg/SVGMaskElement.idl:
              * svg/SVGMatrix.idl:
              * svg/SVGMetadataElement.idl:
              * svg/SVGMissingGlyphElement.idl:
              * svg/SVGNumber.idl:
              * svg/SVGNumberList.idl:
              * svg/SVGPaint.idl:
              * svg/SVGPathSeg.idl:
              * svg/SVGPathSegArcAbs.idl:
              * svg/SVGPathSegArcRel.idl:
              * svg/SVGPathSegClosePath.idl:
              * svg/SVGPathSegCurvetoCubicAbs.idl:
              * svg/SVGPathSegCurvetoCubicRel.idl:
              * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
              * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
              * svg/SVGPathSegCurvetoQuadraticAbs.idl:
              * svg/SVGPathSegCurvetoQuadraticRel.idl:
              * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
              * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
              * svg/SVGPathSegLinetoAbs.idl:
              * svg/SVGPathSegLinetoHorizontalAbs.idl:
              * svg/SVGPathSegLinetoHorizontalRel.idl:
              * svg/SVGPathSegLinetoRel.idl:
              * svg/SVGPathSegLinetoVerticalAbs.idl:
              * svg/SVGPathSegLinetoVerticalRel.idl:
              * svg/SVGPathSegList.idl:
              * svg/SVGPathSegMovetoAbs.idl:
              * svg/SVGPathSegMovetoRel.idl:
              * svg/SVGPatternElement.idl:
              * svg/SVGPoint.idl:
              * svg/SVGPointList.idl:
              * svg/SVGPolygonElement.idl:
              * svg/SVGPolylineElement.idl:
              * svg/SVGPreserveAspectRatio.idl:
              * svg/SVGRadialGradientElement.idl:
              * svg/SVGRect.idl:
              * svg/SVGRectElement.idl:
              * svg/SVGRenderingIntent.idl:
              * svg/SVGScriptElement.idl:
              * svg/SVGSetElement.idl:
              * svg/SVGStopElement.idl:
              * svg/SVGStringList.idl:
              * svg/SVGSwitchElement.idl:
              * svg/SVGSymbolElement.idl:
              * svg/SVGTRefElement.idl:
              * svg/SVGTSpanElement.idl:
              * svg/SVGTextElement.idl:
              * svg/SVGTextPathElement.idl:
              * svg/SVGTextPositioningElement.idl:
              * svg/SVGTitleElement.idl:
              * svg/SVGTransform.idl:
              * svg/SVGTransformList.idl:
              * svg/SVGTransformable.idl:
              * svg/SVGURIReference.idl:
              * svg/SVGUnitTypes.idl:
              * svg/SVGUseElement.idl:
              * svg/SVGVKernElement.idl:
              * svg/SVGViewElement.idl:
              * svg/SVGViewSpec.idl:
              * svg/SVGZoomAndPan.idl:
              * svg/SVGZoomEvent.idl:
              * testing/Internals.idl:
              * webaudio/AudioChannelMerger.idl:
              * webaudio/AudioChannelSplitter.idl:
              * webaudio/AudioDestinationNode.idl:
              * webaudio/AudioGain.idl:
              * webaudio/AudioGainNode.idl:
              * webaudio/AudioProcessingEvent.idl:
              * webaudio/AudioSourceNode.idl:
              * webaudio/BiquadFilterNode.idl:
              * webaudio/ConvolverNode.idl:
              * webaudio/DelayNode.idl:
              * webaudio/DynamicsCompressorNode.idl:
              * webaudio/HighPass2FilterNode.idl:
              * webaudio/JavaScriptAudioNode.idl:
              * webaudio/LowPass2FilterNode.idl:
              * webaudio/OfflineAudioCompletionEvent.idl:
              * workers/SharedWorker.idl:
              * workers/SharedWorkerContext.idl:
              * workers/WorkerLocation.idl:
              * xml/XMLHttpRequestException.idl:
              * xml/XMLHttpRequestProgressEvent.idl:
              * xml/XPathException.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89190 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f406685
    • commit-queue@webkit.org's avatar
      2011-06-17 Mark Pilgrim <pilgrim@chromium.org> · ae779b2e
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Remove LegacyDefaultOptionalArguments flag from IDL files where it would not change behavior
              https://bugs.webkit.org/show_bug.cgi?id=62904
      
              After bug 62750, there are many IDL files that contain the new
              LegacyDefaultOptionalArguments flag that don't actually need it.
              Some examples:
      
                  - the IDL file contains no functions
                  - the IDL file contains only functions with no arguments
                  - the IDL file contains functions, *all* of which use the
                    [RequiresAllArguments=raise] extended attribute
      
              This patch simplifies such IDL files by removing the
              LegacyDefaultOptionalArguments flag and (if needed) removing the
              [RequiresAllArguments=raise] extended attribute from each function
              declaration. This patch does not make any required arguments optional
              or any optional arguments required. It changes no behavior at all.
      
              No new tests needed, all existing tests pass.
      
              * bindings/scripts/test/TestInterface.idl:
              * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
              * css/CSSCharsetRule.idl:
              * css/CSSFontFaceRule.idl:
              * css/CSSImportRule.idl:
              * css/CSSPageRule.idl:
              * css/CSSRule.idl:
              * css/CSSStyleRule.idl:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.idl:
              * css/Counter.idl:
              * css/RGBColor.idl:
              * css/Rect.idl:
              * css/StyleSheet.idl:
              * css/WebKitCSSKeyframeRule.idl:
              * css/WebKitCSSTransformValue.idl:
              * dom/Attr.idl:
              * dom/CDATASection.idl:
              * dom/ClientRect.idl:
              * dom/Comment.idl:
              * dom/DOMCoreException.idl:
              * dom/DOMStringMap.idl:
              * dom/DocumentType.idl:
              * dom/Entity.idl:
              * dom/EntityReference.idl:
              * dom/EventException.idl:
              * dom/GeneratedStream.idl:
              * dom/MessageChannel.idl:
              * dom/NodeIterator.idl:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.idl:
              * dom/RangeException.idl:
              * dom/Touch.idl:
              * dom/TreeWalker.idl:
              * fileapi/DOMFileSystem.idl:
              * fileapi/DOMFileSystemSync.idl:
              * fileapi/DirectoryReaderSync.idl:
              * fileapi/File.idl:
              * fileapi/FileEntrySync.idl:
              * fileapi/FileError.idl:
              * fileapi/FileException.idl:
              * fileapi/Metadata.idl:
              * fileapi/OperationNotAllowedException.idl:
              * fileapi/WebKitFlags.idl:
              * html/DOMSettableTokenList.idl:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.idl:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.idl:
              * html/HTMLDListElement.idl:
              * html/HTMLDataListElement.idl:
              * html/HTMLDetailsElement.idl:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLEmbedElement.idl:
              * html/HTMLFontElement.idl:
              * html/HTMLFormElement.idl:
              * html/HTMLFrameElement.idl:
              * html/HTMLFrameSetElement.idl:
              * html/HTMLHRElement.idl:
              * html/HTMLHeadElement.idl:
              * html/HTMLHeadingElement.idl:
              * html/HTMLHtmlElement.idl:
              * html/HTMLIFrameElement.idl:
              * html/HTMLImageElement.idl:
              * html/HTMLIsIndexElement.idl:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.idl:
              * html/HTMLMeterElement.idl:
              * html/HTMLModElement.idl:
              * html/HTMLOListElement.idl:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.idl:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.idl:
              * html/HTMLPreElement.idl:
              * html/HTMLProgressElement.idl:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.idl:
              * html/HTMLSourceElement.idl:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.idl:
              * html/HTMLTitleElement.idl:
              * html/HTMLTrackElement.idl:
              * html/HTMLUListElement.idl:
              * html/ImageData.idl:
              * html/MediaError.idl:
              * html/SpellcheckRange.idl:
              * html/TextMetrics.idl:
              * html/ValidityState.idl:
              * html/VoidCallback.idl:
              * html/canvas/ArrayBuffer.idl:
              * html/canvas/ArrayBufferView.idl:
              * html/canvas/CanvasPattern.idl:
              * html/canvas/CanvasPixelArray.idl:
              * html/canvas/CanvasRenderingContext.idl:
              * html/canvas/DataView.idl:
              * html/canvas/OESStandardDerivatives.idl:
              * html/canvas/OESTextureFloat.idl:
              * html/canvas/WebGLActiveInfo.idl:
              * html/canvas/WebGLBuffer.idl:
              * html/canvas/WebGLContextAttributes.idl:
              * html/canvas/WebGLFramebuffer.idl:
              * html/canvas/WebGLProgram.idl:
              * html/canvas/WebGLRenderbuffer.idl:
              * html/canvas/WebGLShader.idl:
              * html/canvas/WebGLTexture.idl:
              * html/canvas/WebGLUniformLocation.idl:
              * html/canvas/WebGLVertexArrayObjectOES.idl:
              * html/canvas/WebKitLoseContext.idl:
              * inspector/ScriptProfile.idl:
              * inspector/ScriptProfileNode.idl:
              * page/AbstractView.idl:
              * page/BarInfo.idl:
              * page/Coordinates.idl:
              * page/Geoposition.idl:
              * page/MemoryInfo.idl:
              * page/NavigatorUserMediaError.idl:
              * page/Performance.idl:
              * page/PerformanceNavigation.idl:
              * page/PerformanceTiming.idl:
              * page/PositionError.idl:
              * page/Screen.idl:
              * page/SpeechInputEvent.idl:
              * page/SpeechInputResult.idl:
              * page/WebKitAnimation.idl:
              * page/WebKitPoint.idl:
              * page/WorkerNavigator.idl:
              * plugins/DOMMimeType.idl:
              * storage/Database.idl:
              * storage/DatabaseSync.idl:
              * storage/IDBAny.idl:
              * storage/IDBCursorWithValue.idl:
              * storage/IDBDatabaseError.idl:
              * storage/IDBDatabaseException.idl:
              * storage/IDBKey.idl:
              * storage/IDBVersionChangeEvent.idl:
              * storage/IDBVersionChangeRequest.idl:
              * storage/SQLError.idl:
              * storage/SQLException.idl:
              * storage/SQLResultSet.idl:
              * svg/SVGAElement.idl:
              * svg/SVGAltGlyphElement.idl:
              * svg/SVGAngle.idl:
              * svg/SVGAnimateColorElement.idl:
              * svg/SVGAnimateElement.idl:
              * svg/SVGAnimateMotionElement.idl:
              * svg/SVGAnimateTransformElement.idl:
              * svg/SVGAnimatedAngle.idl:
              * svg/SVGAnimatedBoolean.idl:
              * svg/SVGAnimatedEnumeration.idl:
              * svg/SVGAnimatedInteger.idl:
              * svg/SVGAnimatedLength.idl:
              * svg/SVGAnimatedLengthList.idl:
              * svg/SVGAnimatedNumber.idl:
              * svg/SVGAnimatedNumberList.idl:
              * svg/SVGAnimatedPreserveAspectRatio.idl:
              * svg/SVGAnimatedRect.idl:
              * svg/SVGAnimatedString.idl:
              * svg/SVGAnimatedTransformList.idl:
              * svg/SVGCircleElement.idl:
              * svg/SVGClipPathElement.idl:
              * svg/SVGColor.idl:
              * svg/SVGComponentTransferFunctionElement.idl:
              * svg/SVGCursorElement.idl:
              * svg/SVGDefsElement.idl:
              * svg/SVGDescElement.idl:
              * svg/SVGElement.idl:
              * svg/SVGEllipseElement.idl:
              * svg/SVGExternalResourcesRequired.idl:
              * svg/SVGFEBlendElement.idl:
              * svg/SVGFEColorMatrixElement.idl:
              * svg/SVGFEComponentTransferElement.idl:
              * svg/SVGFECompositeElement.idl:
              * svg/SVGFEConvolveMatrixElement.idl:
              * svg/SVGFEDiffuseLightingElement.idl:
              * svg/SVGFEDisplacementMapElement.idl:
              * svg/SVGFEDistantLightElement.idl:
              * svg/SVGFEFloodElement.idl:
              * svg/SVGFEFuncAElement.idl:
              * svg/SVGFEFuncBElement.idl:
              * svg/SVGFEFuncGElement.idl:
              * svg/SVGFEFuncRElement.idl:
              * svg/SVGFEImageElement.idl:
              * svg/SVGFEMergeElement.idl:
              * svg/SVGFEMergeNodeElement.idl:
              * svg/SVGFEOffsetElement.idl:
              * svg/SVGFEPointLightElement.idl:
              * svg/SVGFESpecularLightingElement.idl:
              * svg/SVGFESpotLightElement.idl:
              * svg/SVGFETileElement.idl:
              * svg/SVGFETurbulenceElement.idl:
              * svg/SVGFilterPrimitiveStandardAttributes.idl:
              * svg/SVGFitToViewBox.idl:
              * svg/SVGFontElement.idl:
              * svg/SVGFontFaceElement.idl:
              * svg/SVGFontFaceFormatElement.idl:
              * svg/SVGFontFaceNameElement.idl:
              * svg/SVGFontFaceSrcElement.idl:
              * svg/SVGFontFaceUriElement.idl:
              * svg/SVGForeignObjectElement.idl:
              * svg/SVGGElement.idl:
              * svg/SVGGlyphElement.idl:
              * svg/SVGGradientElement.idl:
              * svg/SVGHKernElement.idl:
              * svg/SVGImageElement.idl:
              * svg/SVGLangSpace.idl:
              * svg/SVGLength.idl:
              * svg/SVGLengthList.idl:
              * svg/SVGLineElement.idl:
              * svg/SVGLinearGradientElement.idl:
              * svg/SVGMPathElement.idl:
              * svg/SVGMaskElement.idl:
              * svg/SVGMatrix.idl:
              * svg/SVGMetadataElement.idl:
              * svg/SVGMissingGlyphElement.idl:
              * svg/SVGNumber.idl:
              * svg/SVGNumberList.idl:
              * svg/SVGPaint.idl:
              * svg/SVGPathSeg.idl:
              * svg/SVGPathSegArcAbs.idl:
              * svg/SVGPathSegArcRel.idl:
              * svg/SVGPathSegClosePath.idl:
              * svg/SVGPathSegCurvetoCubicAbs.idl:
              * svg/SVGPathSegCurvetoCubicRel.idl:
              * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
              * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
              * svg/SVGPathSegCurvetoQuadraticAbs.idl:
              * svg/SVGPathSegCurvetoQuadraticRel.idl:
              * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
              * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
              * svg/SVGPathSegLinetoAbs.idl:
              * svg/SVGPathSegLinetoHorizontalAbs.idl:
              * svg/SVGPathSegLinetoHorizontalRel.idl:
              * svg/SVGPathSegLinetoRel.idl:
              * svg/SVGPathSegLinetoVerticalAbs.idl:
              * svg/SVGPathSegLinetoVerticalRel.idl:
              * svg/SVGPathSegList.idl:
              * svg/SVGPathSegMovetoAbs.idl:
              * svg/SVGPathSegMovetoRel.idl:
              * svg/SVGPatternElement.idl:
              * svg/SVGPoint.idl:
              * svg/SVGPointList.idl:
              * svg/SVGPolygonElement.idl:
              * svg/SVGPolylineElement.idl:
              * svg/SVGPreserveAspectRatio.idl:
              * svg/SVGRadialGradientElement.idl:
              * svg/SVGRect.idl:
              * svg/SVGRectElement.idl:
              * svg/SVGRenderingIntent.idl:
              * svg/SVGScriptElement.idl:
              * svg/SVGSetElement.idl:
              * svg/SVGStopElement.idl:
              * svg/SVGStringList.idl:
              * svg/SVGSwitchElement.idl:
              * svg/SVGSymbolElement.idl:
              * svg/SVGTRefElement.idl:
              * svg/SVGTSpanElement.idl:
              * svg/SVGTextElement.idl:
              * svg/SVGTextPathElement.idl:
              * svg/SVGTextPositioningElement.idl:
              * svg/SVGTitleElement.idl:
              * svg/SVGTransform.idl:
              * svg/SVGTransformList.idl:
              * svg/SVGTransformable.idl:
              * svg/SVGURIReference.idl:
              * svg/SVGUnitTypes.idl:
              * svg/SVGUseElement.idl:
              * svg/SVGVKernElement.idl:
              * svg/SVGViewElement.idl:
              * svg/SVGViewSpec.idl:
              * svg/SVGZoomAndPan.idl:
              * svg/SVGZoomEvent.idl:
              * testing/Internals.idl:
              * webaudio/AudioChannelMerger.idl:
              * webaudio/AudioChannelSplitter.idl:
              * webaudio/AudioDestinationNode.idl:
              * webaudio/AudioGain.idl:
              * webaudio/AudioGainNode.idl:
              * webaudio/AudioProcessingEvent.idl:
              * webaudio/AudioSourceNode.idl:
              * webaudio/BiquadFilterNode.idl:
              * webaudio/ConvolverNode.idl:
              * webaudio/DelayNode.idl:
              * webaudio/DynamicsCompressorNode.idl:
              * webaudio/HighPass2FilterNode.idl:
              * webaudio/JavaScriptAudioNode.idl:
              * webaudio/LowPass2FilterNode.idl:
              * webaudio/OfflineAudioCompletionEvent.idl:
              * workers/SharedWorker.idl:
              * workers/SharedWorkerContext.idl:
              * workers/WorkerLocation.idl:
              * xml/XMLHttpRequestException.idl:
              * xml/XMLHttpRequestProgressEvent.idl:
              * xml/XPathException.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae779b2e
  10. 17 Jun, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-06-17 Mark Pilgrim <pilgrim@chromium.org> · 2b74ad96
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              Change IDL code generator to require all arguments by default
              https://bugs.webkit.org/show_bug.cgi?id=62750
      
              As per discussion on public-webapps, WebIDL is changing the default
              behavior to require all function arguments by default and raise an
              exception when an argument is missing. (This behavior is currently
              opt-in in WebKit's IDL system, on a function-by-function basis, with
              the "RequiresAllArguments=Raise" flag.) To order to match WebIDL as
              closely as possible, this patch adds an interface-level
              "LegacyDefaultOptionalArguments" flag and sets it on all existing IDL
              files (500+), then changes the code generator Perl scripts to behave
              the old way in the presence of the flag.
      
              No new tests required, all existing tests still pass.
      
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/scripts/test/TestCallback.idl:
              * bindings/scripts/test/TestInterface.idl:
              * bindings/scripts/test/TestMediaQueryListListener.idl:
              * bindings/scripts/test/TestObj.idl:
              * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
              * css/CSSCharsetRule.idl:
              * css/CSSFontFaceRule.idl:
              * css/CSSImportRule.idl:
              * css/CSSMediaRule.idl:
              * css/CSSPageRule.idl:
              * css/CSSPrimitiveValue.idl:
              * css/CSSRule.idl:
              * css/CSSRuleList.idl:
              * css/CSSStyleDeclaration.idl:
              * css/CSSStyleRule.idl:
              * css/CSSStyleSheet.idl:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.idl:
              * css/CSSValueList.idl:
              * css/Counter.idl:
              * css/MediaList.idl:
              * css/MediaQueryList.idl:
              * css/MediaQueryListListener.idl:
              * css/RGBColor.idl:
              * css/Rect.idl:
              * css/StyleMedia.idl:
              * css/StyleSheet.idl:
              * css/StyleSheetList.idl:
              * css/WebKitCSSKeyframeRule.idl:
              * css/WebKitCSSKeyframesRule.idl:
              * css/WebKitCSSMatrix.idl:
              * css/WebKitCSSTransformValue.idl:
              * dom/Attr.idl:
              * dom/BeforeLoadEvent.idl:
              * dom/BeforeProcessEvent.idl:
              * dom/CDATASection.idl:
              * dom/CharacterData.idl:
              * dom/ClientRect.idl:
              * dom/ClientRectList.idl:
              * dom/Clipboard.idl:
              * dom/Comment.idl:
              * dom/CompositionEvent.idl:
              * dom/CustomEvent.idl:
              * dom/DOMCoreException.idl:
              * dom/DOMImplementation.idl:
              * dom/DOMStringList.idl:
              * dom/DOMStringMap.idl:
              * dom/DataTransferItem.idl:
              * dom/DataTransferItems.idl:
              * dom/DeviceMotionEvent.idl:
              * dom/DeviceOrientationEvent.idl:
              * dom/Document.idl:
              * dom/DocumentFragment.idl:
              * dom/DocumentType.idl:
              * dom/Element.idl:
              * dom/Entity.idl:
              * dom/EntityReference.idl:
              * dom/ErrorEvent.idl:
              * dom/Event.idl:
              * dom/EventException.idl:
              * dom/EventListener.idl:
              * dom/EventTarget.idl:
              * dom/ExclusiveTrackList.idl:
              * dom/GeneratedStream.idl:
              * dom/HashChangeEvent.idl:
              * dom/KeyboardEvent.idl:
              * dom/MessageChannel.idl:
              * dom/MessageEvent.idl:
              * dom/MessagePort.idl:
              * dom/MouseEvent.idl:
              * dom/MultipleTrackList.idl:
              * dom/MutationEvent.idl:
              * dom/NamedNodeMap.idl:
              * dom/Node.idl:
              * dom/NodeFilter.idl:
              * dom/NodeIterator.idl:
              * dom/NodeList.idl:
              * dom/Notation.idl:
              * dom/OverflowEvent.idl:
              * dom/PageTransitionEvent.idl:
              * dom/PopStateEvent.idl:
              * dom/ProcessingInstruction.idl:
              * dom/ProgressEvent.idl:
              * dom/Range.idl:
              * dom/RangeException.idl:
              * dom/RequestAnimationFrameCallback.idl:
              * dom/Stream.idl:
              * dom/StreamEvent.idl:
              * dom/StreamList.idl:
              * dom/StringCallback.idl:
              * dom/Text.idl:
              * dom/TextEvent.idl:
              * dom/Touch.idl:
              * dom/TouchEvent.idl:
              * dom/TouchList.idl:
              * dom/TrackList.idl:
              * dom/TreeWalker.idl:
              * dom/UIEvent.idl:
              * dom/WebKitAnimationEvent.idl:
              * dom/WebKitTransitionEvent.idl:
              * dom/WheelEvent.idl:
              * fileapi/Blob.idl:
              * fileapi/DOMFileSystem.idl:
              * fileapi/DOMFileSystemSync.idl:
              * fileapi/DirectoryEntry.idl:
              * fileapi/DirectoryEntrySync.idl:
              * fileapi/DirectoryReader.idl:
              * fileapi/DirectoryReaderSync.idl:
              * fileapi/EntriesCallback.idl:
              * fileapi/Entry.idl:
              * fileapi/EntryArray.idl:
              * fileapi/EntryArraySync.idl:
              * fileapi/EntryCallback.idl:
              * fileapi/EntrySync.idl:
              * fileapi/ErrorCallback.idl:
              * fileapi/File.idl:
              * fileapi/FileCallback.idl:
              * fileapi/FileEntry.idl:
              * fileapi/FileEntrySync.idl:
              * fileapi/FileError.idl:
              * fileapi/FileException.idl:
              * fileapi/FileList.idl:
              * fileapi/FileReader.idl:
              * fileapi/FileReaderSync.idl:
              * fileapi/FileSystemCallback.idl:
              * fileapi/FileWriter.idl:
              * fileapi/FileWriterCallback.idl:
              * fileapi/FileWriterSync.idl:
              * fileapi/Metadata.idl:
              * fileapi/MetadataCallback.idl:
              * fileapi/OperationNotAllowedException.idl:
              * fileapi/WebKitBlobBuilder.idl:
              * fileapi/WebKitFlags.idl:
              * html/DOMFormData.idl:
              * html/DOMSettableTokenList.idl:
              * html/DOMTokenList.idl:
              * html/DOMURL.idl:
              * html/HTMLAllCollection.idl:
              * html/HTMLAnchorElement.idl:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.idl:
              * html/HTMLAudioElement.idl:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.idl:
              * html/HTMLButtonElement.idl:
              * html/HTMLCanvasElement.idl:
              * html/HTMLCollection.idl:
              * html/HTMLDListElement.idl:
              * html/HTMLDataListElement.idl:
              * html/HTMLDetailsElement.idl:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLDivElement.idl:
              * html/HTMLDocument.idl:
              * html/HTMLElement.idl:
              * html/HTMLEmbedElement.idl:
              * html/HTMLFieldSetElement.idl:
              * html/HTMLFontElement.idl:
              * html/HTMLFormElement.idl:
              * html/HTMLFrameElement.idl:
              * html/HTMLFrameSetElement.idl:
              * html/HTMLHRElement.idl:
              * html/HTMLHeadElement.idl:
              * html/HTMLHeadingElement.idl:
              * html/HTMLHtmlElement.idl:
              * html/HTMLIFrameElement.idl:
              * html/HTMLImageElement.idl:
              * html/HTMLInputElement.idl:
              * html/HTMLIsIndexElement.idl:
              * html/HTMLKeygenElement.idl:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMediaElement.idl:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.idl:
              * html/HTMLMeterElement.idl:
              * html/HTMLModElement.idl:
              * html/HTMLOListElement.idl:
              * html/HTMLObjectElement.idl:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.idl:
              * html/HTMLOptionsCollection.idl:
              * html/HTMLOutputElement.idl:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.idl:
              * html/HTMLPreElement.idl:
              * html/HTMLProgressElement.idl:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.idl:
              * html/HTMLSelectElement.idl:
              * html/HTMLSourceElement.idl:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.idl:
              * html/HTMLTableElement.idl:
              * html/HTMLTableRowElement.idl:
              * html/HTMLTableSectionElement.idl:
              * html/HTMLTextAreaElement.idl:
              * html/HTMLTitleElement.idl:
              * html/HTMLTrackElement.idl:
              * html/HTMLUListElement.idl:
              * html/HTMLVideoElement.idl:
              * html/ImageData.idl:
              * html/MediaError.idl:
              * html/SpellcheckRange.idl:
              * html/SpellcheckRangeList.idl:
              * html/TextMetrics.idl:
              * html/TimeRanges.idl:
              * html/ValidityState.idl:
              * html/VoidCallback.idl:
              * html/canvas/ArrayBuffer.idl:
              * html/canvas/ArrayBufferView.idl:
              * html/canvas/CanvasGradient.idl:
              * html/canvas/CanvasPattern.idl:
              * html/canvas/CanvasPixelArray.idl:
              * html/canvas/CanvasRenderingContext.idl:
              * html/canvas/CanvasRenderingContext2D.idl:
              * html/canvas/DataView.idl:
              * html/canvas/Float32Array.idl:
              * html/canvas/Float64Array.idl:
              * html/canvas/Int16Array.idl:
              * html/canvas/Int32Array.idl:
              * html/canvas/Int8Array.idl:
              * html/canvas/OESStandardDerivatives.idl:
              * html/canvas/OESTextureFloat.idl:
              * html/canvas/OESVertexArrayObject.idl:
              * html/canvas/Uint16Array.idl:
              * html/canvas/Uint32Array.idl:
              * html/canvas/Uint8Array.idl:
              * html/canvas/WebGLActiveInfo.idl:
              * html/canvas/WebGLBuffer.idl:
              * html/canvas/WebGLContextAttributes.idl:
              * html/canvas/WebGLContextEvent.idl:
              * html/canvas/WebGLFramebuffer.idl:
              * html/canvas/WebGLProgram.idl:
              * html/canvas/WebGLRenderbuffer.idl:
              * html/canvas/WebGLRenderingContext.idl:
              * html/canvas/WebGLShader.idl:
              * html/canvas/WebGLTexture.idl:
              * html/canvas/WebGLUniformLocation.idl:
              * html/canvas/WebGLVertexArrayObjectOES.idl:
              * html/canvas/WebKitLoseContext.idl:
              * inspector/InjectedScriptHost.idl:
              * inspector/InspectorFrontendHost.idl:
              * inspector/JavaScriptCallFrame.idl:
              * inspector/ScriptProfile.idl:
              * inspector/ScriptProfileNode.idl:
              * loader/appcache/DOMApplicationCache.idl:
              * notifications/Notification.idl:
              * notifications/NotificationCenter.idl:
              * page/AbstractView.idl:
              * page/BarInfo.idl:
              * page/Console.idl:
              * page/Coordinates.idl:
              * page/Crypto.idl:
              * page/DOMSelection.idl:
              * page/DOMWindow.idl:
              * page/EventSource.idl:
              * page/Geolocation.idl:
              * page/Geoposition.idl:
              * page/History.idl:
              * page/Location.idl:
              * page/MemoryInfo.idl:
              * page/Navigator.idl:
              * page/NavigatorUserMediaError.idl:
              * page/NavigatorUserMediaErrorCallback.idl:
              * page/NavigatorUserMediaSuccessCallback.idl:
              * page/Performance.idl:
              * page/PerformanceNavigation.idl:
              * page/PerformanceTiming.idl:
              * page/PositionCallback.idl:
              * page/PositionError.idl:
              * page/PositionErrorCallback.idl:
              * page/Screen.idl:
              * page/SpeechInputEvent.idl:
              * page/SpeechInputResult.idl:
              * page/SpeechInputResultList.idl:
              * page/WebKitAnimation.idl:
              * page/WebKitAnimationList.idl:
              * page/WebKitPoint.idl:
              * page/WorkerNavigator.idl:
              * plugins/DOMMimeType.idl:
              * plugins/DOMMimeTypeArray.idl:
              * plugins/DOMPlugin.idl:
              * plugins/DOMPluginArray.idl:
              * storage/Database.idl:
              * storage/DatabaseCallback.idl:
              * storage/DatabaseSync.idl:
              * storage/IDBAny.idl:
              * storage/IDBCursor.idl:
              * storage/IDBCursorWithValue.idl:
              * storage/IDBDatabase.idl:
              * storage/IDBDatabaseError.idl:
              * storage/IDBDatabaseException.idl:
              * storage/IDBFactory.idl:
              * storage/IDBIndex.idl:
              * storage/IDBKey.idl:
              * storage/IDBKeyRange.idl:
              * storage/IDBObjectStore.idl:
              * storage/IDBRequest.idl:
              * storage/IDBTransaction.idl:
              * storage/IDBVersionChangeEvent.idl:
              * storage/IDBVersionChangeRequest.idl:
              * storage/SQLError.idl:
              * storage/SQLException.idl:
              * storage/SQLResultSet.idl:
              * storage/SQLResultSetRowList.idl:
              * storage/SQLStatementCallback.idl:
              * storage/SQLStatementErrorCallback.idl:
              * storage/SQLTransaction.idl:
              * storage/SQLTransactionCallback.idl:
              * storage/SQLTransactionErrorCallback.idl:
              * storage/SQLTransactionSync.idl:
              * storage/SQLTransactionSyncCallback.idl:
              * storage/Storage.idl:
              * storage/StorageEvent.idl:
              * storage/StorageInfo.idl:
              * storage/StorageInfoErrorCallback.idl:
              * storage/StorageInfoQuotaCallback.idl:
              * storage/StorageInfoUsageCallback.idl:
              * svg/ElementTimeControl.idl:
              * svg/SVGAElement.idl:
              * svg/SVGAltGlyphElement.idl:
              * svg/SVGAngle.idl:
              * svg/SVGAnimateColorElement.idl:
              * svg/SVGAnimateElement.idl:
              * svg/SVGAnimateMotionElement.idl:
              * svg/SVGAnimateTransformElement.idl:
              * svg/SVGAnimatedAngle.idl:
              * svg/SVGAnimatedBoolean.idl:
              * svg/SVGAnimatedEnumeration.idl:
              * svg/SVGAnimatedInteger.idl:
              * svg/SVGAnimatedLength.idl:
              * svg/SVGAnimatedLengthList.idl:
              * svg/SVGAnimatedNumber.idl:
              * svg/SVGAnimatedNumberList.idl:
              * svg/SVGAnimatedPreserveAspectRatio.idl:
              * svg/SVGAnimatedRect.idl:
              * svg/SVGAnimatedString.idl:
              * svg/SVGAnimatedTransformList.idl:
              * svg/SVGAnimationElement.idl:
              * svg/SVGCircleElement.idl:
              * svg/SVGClipPathElement.idl:
              * svg/SVGColor.idl:
              * svg/SVGComponentTransferFunctionElement.idl:
              * svg/SVGCursorElement.idl:
              * svg/SVGDefsElement.idl:
              * svg/SVGDescElement.idl:
              * svg/SVGDocument.idl:
              * svg/SVGElement.idl:
              * svg/SVGElementInstance.idl:
              * svg/SVGElementInstanceList.idl:
              * svg/SVGEllipseElement.idl:
              * svg/SVGException.idl:
              * svg/SVGExternalResourcesRequired.idl:
              * svg/SVGFEBlendElement.idl:
              * svg/SVGFEColorMatrixElement.idl:
              * svg/SVGFEComponentTransferElement.idl:
              * svg/SVGFECompositeElement.idl:
              * svg/SVGFEConvolveMatrixElement.idl:
              * svg/SVGFEDiffuseLightingElement.idl:
              * svg/SVGFEDisplacementMapElement.idl:
              * svg/SVGFEDistantLightElement.idl:
              * svg/SVGFEDropShadowElement.idl:
              * svg/SVGFEFloodElement.idl:
              * svg/SVGFEFuncAElement.idl:
              * svg/SVGFEFuncBElement.idl:
              * svg/SVGFEFuncGElement.idl:
              * svg/SVGFEFuncRElement.idl:
              * svg/SVGFEGaussianBlurElement.idl:
              * svg/SVGFEImageElement.idl:
              * svg/SVGFEMergeElement.idl:
              * svg/SVGFEMergeNodeElement.idl:
              * svg/SVGFEMorphologyElement.idl:
              * svg/SVGFEOffsetElement.idl:
              * svg/SVGFEPointLightElement.idl:
              * svg/SVGFESpecularLightingElement.idl:
              * svg/SVGFESpotLightElement.idl:
              * svg/SVGFETileElement.idl:
              * svg/SVGFETurbulenceElement.idl:
              * svg/SVGFilterElement.idl:
              * svg/SVGFilterPrimitiveStandardAttributes.idl:
              * svg/SVGFitToViewBox.idl:
              * svg/SVGFontElement.idl:
              * svg/SVGFontFaceElement.idl:
              * svg/SVGFontFaceFormatElement.idl:
              * svg/SVGFontFaceNameElement.idl:
              * svg/SVGFontFaceSrcElement.idl:
              * svg/SVGFontFaceUriElement.idl:
              * svg/SVGForeignObjectElement.idl:
              * svg/SVGGElement.idl:
              * svg/SVGGlyphElement.idl:
              * svg/SVGGradientElement.idl:
              * svg/SVGHKernElement.idl:
              * svg/SVGImageElement.idl:
              * svg/SVGLangSpace.idl:
              * svg/SVGLength.idl:
              * svg/SVGLengthList.idl:
              * svg/SVGLineElement.idl:
              * svg/SVGLinearGradientElement.idl:
              * svg/SVGLocatable.idl:
              * svg/SVGMPathElement.idl:
              * svg/SVGMarkerElement.idl:
              * svg/SVGMaskElement.idl:
              * svg/SVGMatrix.idl:
              * svg/SVGMetadataElement.idl:
              * svg/SVGMissingGlyphElement.idl:
              * svg/SVGNumber.idl:
              * svg/SVGNumberList.idl:
              * svg/SVGPaint.idl:
              * svg/SVGPathElement.idl:
              * svg/SVGPathSeg.idl:
              * svg/SVGPathSegArcAbs.idl:
              * svg/SVGPathSegArcRel.idl:
              * svg/SVGPathSegClosePath.idl:
              * svg/SVGPathSegCurvetoCubicAbs.idl:
              * svg/SVGPathSegCurvetoCubicRel.idl:
              * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
              * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
              * svg/SVGPathSegCurvetoQuadraticAbs.idl:
              * svg/SVGPathSegCurvetoQuadraticRel.idl:
              * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
              * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
              * svg/SVGPathSegLinetoAbs.idl:
              * svg/SVGPathSegLinetoHorizontalAbs.idl:
              * svg/SVGPathSegLinetoHorizontalRel.idl:
              * svg/SVGPathSegLinetoRel.idl:
              * svg/SVGPathSegLinetoVerticalAbs.idl:
              * svg/SVGPathSegLinetoVerticalRel.idl:
              * svg/SVGPathSegList.idl:
              * svg/SVGPathSegMovetoAbs.idl:
              * svg/SVGPathSegMovetoRel.idl:
              * svg/SVGPatternElement.idl:
              * svg/SVGPoint.idl:
              * svg/SVGPointList.idl:
              * svg/SVGPolygonElement.idl:
              * svg/SVGPolylineElement.idl:
              * svg/SVGPreserveAspectRatio.idl:
              * svg/SVGRadialGradientElement.idl:
              * svg/SVGRect.idl:
              * svg/SVGRectElement.idl:
              * svg/SVGRenderingIntent.idl:
              * svg/SVGSVGElement.idl:
              * svg/SVGScriptElement.idl:
              * svg/SVGSetElement.idl:
              * svg/SVGStopElement.idl:
              * svg/SVGStringList.idl:
              * svg/SVGStylable.idl:
              * svg/SVGStyleElement.idl:
              * svg/SVGSwitchElement.idl:
              * svg/SVGSymbolElement.idl:
              * svg/SVGTRefElement.idl:
              * svg/SVGTSpanElement.idl:
              * svg/SVGTests.idl:
              * svg/SVGTextContentElement.idl:
              * svg/SVGTextElement.idl:
              * svg/SVGTextPathElement.idl:
              * svg/SVGTextPositioningElement.idl:
              * svg/SVGTitleElement.idl:
              * svg/SVGTransform.idl:
              * svg/SVGTransformList.idl:
              * svg/SVGTransformable.idl:
              * svg/SVGURIReference.idl:
              * svg/SVGUnitTypes.idl:
              * svg/SVGUseElement.idl:
              * svg/SVGVKernElement.idl:
              * svg/SVGViewElement.idl:
              * svg/SVGViewSpec.idl:
              * svg/SVGZoomAndPan.idl:
              * svg/SVGZoomEvent.idl:
              * testing/Internals.idl:
              * webaudio/AudioBuffer.idl:
              * webaudio/AudioBufferSourceNode.idl:
              * webaudio/AudioChannelMerger.idl:
              * webaudio/AudioChannelSplitter.idl:
              * webaudio/AudioContext.idl:
              * webaudio/AudioDestinationNode.idl:
              * webaudio/AudioGain.idl:
              * webaudio/AudioGainNode.idl:
              * webaudio/AudioListener.idl:
              * webaudio/AudioNode.idl:
              * webaudio/AudioPannerNode.idl:
              * webaudio/AudioParam.idl:
              * webaudio/AudioProcessingEvent.idl:
              * webaudio/AudioSourceNode.idl:
              * webaudio/BiquadFilterNode.idl:
              * webaudio/ConvolverNode.idl:
              * webaudio/DelayNode.idl:
              * webaudio/DynamicsCompressorNode.idl:
              * webaudio/HighPass2FilterNode.idl:
              * webaudio/JavaScriptAudioNode.idl:
              * webaudio/LowPass2FilterNode.idl:
              * webaudio/OfflineAudioCompletionEvent.idl:
              * webaudio/RealtimeAnalyserNode.idl:
              * websockets/CloseEvent.idl:
              * websockets/WebSocket.idl:
              * workers/AbstractWorker.idl:
              * workers/DedicatedWorkerContext.idl:
              * workers/SharedWorker.idl:
              * workers/SharedWorkerContext.idl:
              * workers/Worker.idl:
              * workers/WorkerContext.idl:
              * workers/WorkerLocation.idl:
              * xml/DOMParser.idl:
              * xml/XMLHttpRequest.idl:
              * xml/XMLHttpRequestException.idl:
              * xml/XMLHttpRequestProgressEvent.idl:
              * xml/XMLHttpRequestUpload.idl:
              * xml/XMLSerializer.idl:
              * xml/XPathEvaluator.idl:
              * xml/XPathException.idl:
              * xml/XPathExpression.idl:
              * xml/XPathNSResolver.idl:
              * xml/XPathResult.idl:
              * xml/XSLTProcessor.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b74ad96
  11. 12 Feb, 2011 1 commit
    • abarth@webkit.org's avatar
      2011-02-12 Adam Barth <abarth@webkit.org> · 383e27a1
      abarth@webkit.org authored
              Reviewed by Kenneth Russell.
      
              Enable ArrayBuffers by default
              https://bugs.webkit.org/show_bug.cgi?id=54310
      
              Export the required functions.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      2011-02-12  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Kenneth Russell.
      
              Enable ArrayBuffers by default
              https://bugs.webkit.org/show_bug.cgi?id=54310
      
              As discussed on webkit-dev, ArrayBuffers are used by a bunch of
              different APIs, implemented by Firefox, and appear to be stable.
              Keeping them conditional is a large mantainance burden than it's worth.
      
              * DerivedSources.cpp:
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/generic/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setWebGLEnabled):
              * bindings/js/JSArrayBufferCustom.cpp:
              * bindings/js/JSBindingsAllInOne.cpp:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDataViewCustom.cpp:
              * bindings/js/JSFloat32ArrayCustom.cpp:
              * bindings/js/JSInt16ArrayCustom.cpp:
              * bindings/js/JSInt32ArrayCustom.cpp:
              * bindings/js/JSInt8ArrayCustom.cpp:
              * bindings/js/JSUint16ArrayCustom.cpp:
              * bindings/js/JSUint32ArrayCustom.cpp:
              * bindings/js/JSUint8ArrayCustom.cpp:
              * bindings/v8/custom/V8ArrayBufferCustom.cpp:
              * bindings/v8/custom/V8ArrayBufferViewCustom.h:
              * bindings/v8/custom/V8DataViewCustom.cpp:
              * bindings/v8/custom/V8Float32ArrayCustom.cpp:
              * bindings/v8/custom/V8Int16ArrayCustom.cpp:
              * bindings/v8/custom/V8Int32ArrayCustom.cpp:
              * bindings/v8/custom/V8Int8ArrayCustom.cpp:
              * bindings/v8/custom/V8Uint16ArrayCustom.cpp:
              * bindings/v8/custom/V8Uint32ArrayCustom.cpp:
              * bindings/v8/custom/V8Uint8ArrayCustom.cpp:
              * html/canvas/ArrayBuffer.cpp:
              * html/canvas/ArrayBuffer.idl:
              * html/canvas/ArrayBufferView.cpp:
              * html/canvas/ArrayBufferView.idl:
              * html/canvas/DataView.cpp:
              * html/canvas/DataView.idl:
              * html/canvas/Float32Array.cpp:
              * html/canvas/Float32Array.idl:
              * html/canvas/Int16Array.cpp:
              * html/canvas/Int16Array.idl:
              * html/canvas/Int32Array.cpp:
              * html/canvas/Int32Array.idl:
              * html/canvas/Int8Array.cpp:
              * html/canvas/Int8Array.idl:
              * html/canvas/Uint16Array.cpp:
              * html/canvas/Uint16Array.idl:
              * html/canvas/Uint32Array.cpp:
              * html/canvas/Uint32Array.idl:
              * html/canvas/Uint8Array.cpp:
              * html/canvas/Uint8Array.idl:
              * page/Crypto.cpp:
              (WebCore::Crypto::getRandomValues):
              * page/Crypto.h:
              * page/Crypto.idl:
              * page/DOMWindow.idl:
              * workers/WorkerContext.idl:
      2011-02-12  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Kenneth Russell.
      
              Enable ArrayBuffers by default
              https://bugs.webkit.org/show_bug.cgi?id=54310
      
              Revert incorrect expectations from
              http://trac.webkit.org/changeset/78337.  These results were cased by
              ArrayBuffers not beign enabled on Windows previous to this patch.
      
              * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
              * platform/win/fast/js/global-function-resolve-expected.txt: Removed.
              * platform/win/fast/js/var-declarations-shadowing-expected.txt: Removed.
              * platform/win/security: Removed.
              * platform/win/security/crypto-random-values-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      383e27a1
  12. 25 Jan, 2011 1 commit
    • cmarrin@apple.com's avatar
      2011-01-24 Chris Marrin <cmarrin@apple.com> · 8b28bbc8
      cmarrin@apple.com authored
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * configure.ac:
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * Configurations/FeatureDefines.xcconfig:
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * WebKit.gyp:
              * features.gypi:
              * src/Extensions3DChromium.cpp:
              * src/GraphicsContext3DChromium.cpp:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableWebGL):
              (WebKit::WebRuntimeFeatures::isWebGLEnabled):
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * Api/qwebsettings.cpp:
              (QWebSettingsPrivate::apply):
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * WebView.cpp:
              (WebView::notifyPreferencesChanged):
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * Configurations/FeatureDefines.xcconfig:
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * Configurations/FeatureDefines.xcconfig:
              * DerivedSources.cpp:
              * GNUmakefile.am:
              * WebCore.pro:
              * bindings/generic/RuntimeEnabledFeatures.h:
              * bindings/js/JSArrayBufferCustom.cpp:
              * bindings/js/JSCanvasRenderingContextCustom.cpp:
              (WebCore::toJS):
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDataViewCustom.cpp:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSFloat32ArrayCustom.cpp:
              * bindings/js/JSHTMLCanvasElementCustom.cpp:
              (WebCore::JSHTMLCanvasElement::getContext):
              * bindings/js/JSInt16ArrayCustom.cpp:
              * bindings/js/JSInt32ArrayCustom.cpp:
              * bindings/js/JSInt8ArrayCustom.cpp:
              * bindings/js/JSUint16ArrayCustom.cpp:
              * bindings/js/JSUint32ArrayCustom.cpp:
              * bindings/js/JSUint8ArrayCustom.cpp:
              * bindings/js/JSWebGLRenderingContextCustom.cpp:
              * bindings/js/JSXMLHttpRequestCustom.cpp:
              (WebCore::JSXMLHttpRequest::markChildren):
              (WebCore::JSXMLHttpRequest::send):
              (WebCore::JSXMLHttpRequest::response):
              * bindings/v8/custom/V8ArrayBufferCustom.cpp:
              * bindings/v8/custom/V8ArrayBufferViewCustom.h:
              * bindings/v8/custom/V8DataViewCustom.cpp:
              * bindings/v8/custom/V8DocumentCustom.cpp:
              (WebCore::V8Document::getCSSCanvasContextCallback):
              * bindings/v8/custom/V8Float32ArrayCustom.cpp:
              * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
              (WebCore::V8HTMLCanvasElement::getContextCallback):
              * bindings/v8/custom/V8Int16ArrayCustom.cpp:
              * bindings/v8/custom/V8Int32ArrayCustom.cpp:
              * bindings/v8/custom/V8Int8ArrayCustom.cpp:
              * bindings/v8/custom/V8Uint16ArrayCustom.cpp:
              * bindings/v8/custom/V8Uint32ArrayCustom.cpp:
              * bindings/v8/custom/V8Uint8ArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
              * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
              (WebCore::V8XMLHttpRequest::responseAccessorGetter):
              (WebCore::V8XMLHttpRequest::sendCallback):
              * features.pri:
              * html/HTMLCanvasElement.cpp:
              (WebCore::HTMLCanvasElement::getContext):
              (WebCore::HTMLCanvasElement::reset):
              * html/HTMLCanvasElement.h:
              * html/canvas/ArrayBuffer.cpp:
              * html/canvas/ArrayBuffer.idl:
              * html/canvas/ArrayBufferView.cpp:
              * html/canvas/ArrayBufferView.idl:
              * html/canvas/DataView.cpp:
              * html/canvas/DataView.idl:
              * html/canvas/Float32Array.cpp:
              * html/canvas/Float32Array.idl:
              * html/canvas/Int16Array.cpp:
              * html/canvas/Int16Array.idl:
              * html/canvas/Int32Array.cpp:
              * html/canvas/Int32Array.idl:
              * html/canvas/Int8Array.cpp:
              * html/canvas/Int8Array.idl:
              * html/canvas/OESStandardDerivatives.cpp:
              * html/canvas/OESStandardDerivatives.idl:
              * html/canvas/OESTextureFloat.cpp:
              * html/canvas/OESTextureFloat.idl:
              * html/canvas/Uint16Array.cpp:
              * html/canvas/Uint16Array.idl:
              * html/canvas/Uint32Array.cpp:
              * html/canvas/Uint32Array.idl:
              * html/canvas/Uint8Array.cpp:
              * html/canvas/Uint8Array.idl:
              * html/canvas/WebGLActiveInfo.idl:
              * html/canvas/WebGLBuffer.cpp:
              * html/canvas/WebGLBuffer.idl:
              * html/canvas/WebGLContextAttributes.cpp:
              * html/canvas/WebGLContextAttributes.idl:
              * html/canvas/WebGLContextEvent.idl:
              * html/canvas/WebGLExtension.cpp:
              * html/canvas/WebGLFramebuffer.cpp:
              * html/canvas/WebGLFramebuffer.idl:
              * html/canvas/WebGLGetInfo.cpp:
              * html/canvas/WebGLObject.cpp:
              * html/canvas/WebGLProgram.cpp:
              * html/canvas/WebGLProgram.idl:
              * html/canvas/WebGLRenderbuffer.cpp:
              * html/canvas/WebGLRenderbuffer.idl:
              * html/canvas/WebGLRenderingContext.cpp:
              * html/canvas/WebGLRenderingContext.idl:
              * html/canvas/WebGLShader.cpp:
              * html/canvas/WebGLShader.idl:
              * html/canvas/WebGLTexture.cpp:
              * html/canvas/WebGLTexture.idl:
              * html/canvas/WebGLUniformLocation.cpp:
              * html/canvas/WebGLUniformLocation.idl:
              * html/canvas/WebKitLoseContext.cpp:
              * html/canvas/WebKitLoseContext.idl:
              * page/DOMWindow.idl:
              * platform/graphics/ANGLEWebKitBridge.cpp:
              * platform/graphics/GraphicsContext3D.cpp:
              * platform/graphics/cg/GraphicsContext3DCG.cpp:
              * platform/graphics/gpu/DrawingBuffer.cpp:
              * platform/graphics/gpu/mac/DrawingBufferMac.mm:
              * platform/graphics/mac/GraphicsContext3DMac.mm:
              * platform/graphics/mac/WebGLLayer.mm:
              * platform/graphics/opengl/Extensions3DOpenGL.cpp:
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              * platform/graphics/qt/Extensions3DQt.cpp:
              * platform/graphics/qt/GraphicsContext3DQt.cpp:
              * platform/graphics/qt/GraphicsLayerQt.cpp:
              (WebCore::GraphicsLayerQtImpl::GraphicsLayerQtImpl):
              (WebCore::GraphicsLayerQtImpl::paint):
              (WebCore::GraphicsLayerQtImpl::flushChanges):
              * platform/graphics/qt/GraphicsLayerQt.h:
              * platform/graphics/skia/GraphicsContext3DSkia.cpp:
              * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
              * rendering/RenderLayerBacking.cpp:
              (WebCore::isAcceleratedCanvas):
              (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
              (WebCore::RenderLayerBacking::containsPaintedContent):
              (WebCore::RenderLayerBacking::contentChanged):
              * webaudio/AudioBuffer.cpp:
              * webaudio/AudioBuffer.idl:
              * webaudio/RealtimeAnalyser.cpp:
              * webaudio/RealtimeAnalyser.h:
              * webaudio/RealtimeAnalyserNode.h:
              * webaudio/RealtimeAnalyserNode.idl:
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::setResponseType):
              (WebCore::XMLHttpRequest::clearResponse):
              (WebCore::XMLHttpRequest::didReceiveData):
              * xml/XMLHttpRequest.h:
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * Configurations/FeatureDefines.xcconfig:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b28bbc8
  13. 08 Jan, 2011 1 commit
  14. 18 Nov, 2010 1 commit
    • jianli@chromium.org's avatar
      Move length and slice out of ArrayBufferView interface · dd35f9af
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=49697
      
      Reviewed by Kenneth Russell.
      
      No functionality change. Covered by existing ArrayBuffer tests.
      
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSArrayBufferViewCustom.cpp: Removed.
      * bindings/v8/custom/V8ArrayBufferViewCustom.cpp: Removed.
      * html/canvas/ArrayBufferView.h:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/Float32Array.cpp:
      (WebCore::Float32Array::slice):
      * html/canvas/Float32Array.h:
      * html/canvas/Float32Array.idl:
      * html/canvas/Int16Array.cpp:
      (WebCore::Int16Array::slice):
      * html/canvas/Int16Array.h:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.cpp:
      (WebCore::Int32Array::slice):
      * html/canvas/Int32Array.h:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.cpp:
      (WebCore::Int8Array::slice):
      * html/canvas/Int8Array.h:
      * html/canvas/Int8Array.idl:
      * html/canvas/TypedArrayBase.h:
      (WebCore::TypedArrayBase::length):
      * html/canvas/Uint16Array.cpp:
      (WebCore::Uint16Array::slice):
      * html/canvas/Uint16Array.h:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.cpp:
      (WebCore::Uint32Array::slice):
      * html/canvas/Uint32Array.h:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.cpp:
      (WebCore::Uint8Array::slice):
      * html/canvas/Uint8Array.h:
      * html/canvas/Uint8Array.idl:
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore::WebGLRenderingContext::readPixels):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd35f9af
  15. 14 Oct, 2010 1 commit
    • jianli@chromium.org's avatar
      Support typed arrays in workers · 8f9c0083
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=47616
      
      Reviewed by David Levin.
      
      To support typed arrays in workers, we need to expose constructors in
      WorkerContext and add NoStaticTables attribute.
      
      I also add File API feature guard to the constructors defined in
      DOMWindow.
      
      * bindings/js/JSDOMWindowCustom.cpp: Add File API feature guard to the
      constructors defined in DOMWindow.
      * html/canvas/ArrayBuffer.idl: Add NoStaticTables attribute.
      * html/canvas/ArrayBufferView.idl: Add NoStaticTables attribute.
      * html/canvas/Float32Array.idl: Add NoStaticTables attribute.
      * html/canvas/Int16Array.idl: Add NoStaticTables attribute.
      * html/canvas/Int32Array.idl: Add NoStaticTables attribute.
      * html/canvas/Int8Array.idl: Add NoStaticTables attribute.
      * html/canvas/Uint16Array.idl: Add NoStaticTables attribute.
      * html/canvas/Uint32Array.idl: Add NoStaticTables attribute.
      * html/canvas/Uint8Array.idl: Add NoStaticTables attribute.
      * page/DOMWindow.idl: Add File API feature guard to the constructors
      defined in DOMWindow.
      * workers/WorkerContext.idl: Expose type array constructors.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f9c0083
  16. 11 Oct, 2010 1 commit
    • jianli@chromium.org's avatar
      Add File API feature guard to all typed array files · 2225291f
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=47437
      
      Reviewed by Adam Barth.
      
      Since we're going to add ArrayBuffer support to FileReader and BlobBuilder,
      we need to update all type array files to include File API feature guard
      in addition to the existing 3D_CANVAS guard. When ArrayBuffer is used in
      XMLHttpRequest, we will then remove all the guards. This is per the
      discussion on webkit-dev mailing list:
      https://lists.webkit.org/pipermail/webkit-dev/2010-October/014716.html
      
      * html/canvas/ArrayBuffer.cpp:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/ArrayBufferView.cpp:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/Float32Array.cpp:
      * html/canvas/Float32Array.idl:
      * html/canvas/Int16Array.cpp:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.cpp:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.cpp:
      * html/canvas/Int8Array.idl:
      * html/canvas/Uint16Array.cpp:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.cpp:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.cpp:
      * html/canvas/Uint8Array.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2225291f
  17. 14 May, 2010 1 commit
    • kbr@google.com's avatar
      2010-05-14 Kenneth Russell <kbr@google.com> · 3706f9b1
      kbr@google.com authored
              Reviewed by Darin Adler.
      
              Rename WebGLArray types to TypedArray types
              https://bugs.webkit.org/show_bug.cgi?id=39091
      
              Extended functionality of do-webcore-rename script and used it to
              rename the WebGLArray types to the TypedArray naming convention.
              The only source files which were touched by hand, and which are
              being manually reviewed, are:
                  WebCore/page/DOMWindow.idl
                  WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
                  WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
                  WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
              These only needed to be touched to update the aliases between the
              WebGLArray and TypedArray names introduced in bug 39036. (It was
              not feasible to have do-webcore-rename handle this as it would
              introduce circular renamings.) These aliases will be removed in
              roughly a month once existing WebGL content has been updated.
      
              No new tests; covered under existing WebGL tests. Updated
              constructed-objects-prototypes and prototype-inheritance-2 tests.
              Ran all layout tests in Safari and all WebGL tests in Chromium.
      
              * src/GraphicsContext3D.cpp:
              (WebCore::GraphicsContext3DInternal::bufferData):
              (WebCore::GraphicsContext3DInternal::bufferSubData):
      2010-05-14  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Darin Adler.
      
              Rename WebGLArray types to TypedArray types
              https://bugs.webkit.org/show_bug.cgi?id=39091
      
              Extended functionality of do-webcore-rename script and used it to
              rename the WebGLArray types to the TypedArray naming convention.
              The only source files which were touched by hand, and which are
              being manually reviewed, are:
                  WebCore/page/DOMWindow.idl
                  WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
                  WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
                  WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
              These only needed to be touched to update the aliases between the
              WebGLArray and TypedArray names introduced in bug 39036. (It was
              not feasible to have do-webcore-rename handle this as it would
              introduce circular renamings.) These aliases will be removed in
              roughly a month once existing WebGL content has been updated.
      
              No new tests; covered under existing WebGL tests. Updated
              constructed-objects-prototypes and prototype-inheritance-2 tests.
              Ran all layout tests in Safari and all WebGL tests in Chromium.
      
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSArrayBufferConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLArrayBufferConstructor.cpp.
              (WebCore::):
              (WebCore::JSArrayBufferConstructor::JSArrayBufferConstructor):
              (WebCore::constructCanvasArrayBuffer):
              (WebCore::JSArrayBufferConstructor::getConstructData):
              * bindings/js/JSArrayBufferConstructor.h: Copied from WebCore/bindings/js/JSWebGLArrayBufferConstructor.h.
              (WebCore::construct):
              * bindings/js/JSArrayBufferViewCustom.cpp: Copied from WebCore/bindings/js/JSWebGLArrayCustom.cpp.
              (WebCore::toJS):
              (WebCore::JSArrayBufferView::slice):
              * bindings/js/JSArrayBufferViewHelper.h: Copied from WebCore/bindings/js/JSWebGLArrayHelper.h.
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::arrayBuffer):
              (WebCore::JSDOMWindow::int8Array):
              (WebCore::JSDOMWindow::uint8Array):
              (WebCore::JSDOMWindow::int32Array):
              (WebCore::JSDOMWindow::uint32Array):
              (WebCore::JSDOMWindow::int16Array):
              (WebCore::JSDOMWindow::uint16Array):
              (WebCore::JSDOMWindow::floatArray):
              (WebCore::JSDOMWindow::webGLArrayBuffer):
              (WebCore::JSDOMWindow::webGLByteArray):
              (WebCore::JSDOMWindow::webGLUnsignedByteArray):
              (WebCore::JSDOMWindow::webGLIntArray):
              (WebCore::JSDOMWindow::webGLUnsignedIntArray):
              (WebCore::JSDOMWindow::webGLShortArray):
              (WebCore::JSDOMWindow::webGLUnsignedShortArray):
              (WebCore::JSDOMWindow::webGLFloatArray):
              * bindings/js/JSFloatArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLFloatArrayConstructor.cpp.
              (WebCore::):
              (WebCore::JSFloatArrayConstructor::JSFloatArrayConstructor):
              (WebCore::constructCanvasFloatArray):
              (WebCore::JSFloatArrayConstructor::getConstructData):
              * bindings/js/JSFloatArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLFloatArrayConstructor.h.
              * bindings/js/JSFloatArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLFloatArrayCustom.cpp.
              (WebCore::JSFloatArray::indexSetter):
              (WebCore::toJS):
              (WebCore::JSFloatArray::set):
              * bindings/js/JSInt16ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLShortArrayConstructor.cpp.
              (WebCore::):
              (WebCore::JSInt16ArrayConstructor::JSInt16ArrayConstructor):
              (WebCore::constructCanvasShortArray):
              (WebCore::JSInt16ArrayConstructor::getConstructData):
              * bindings/js/JSInt16ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLShortArrayConstructor.h.
              * bindings/js/JSInt16ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLShortArrayCustom.cpp.
              (WebCore::JSInt16Array::indexSetter):
              (WebCore::toJS):
              (WebCore::JSInt16Array::set):
              * bindings/js/JSInt32ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLIntArrayConstructor.cpp.
              (WebCore::):
              (WebCore::JSInt32ArrayConstructor::JSInt32ArrayConstructor):
              (WebCore::constructCanvasIntArray):
              (WebCore::JSInt32ArrayConstructor::getConstructData):
              * bindings/js/JSInt32ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLIntArrayConstructor.h.
              * bindings/js/JSInt32ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLIntArrayCustom.cpp.
              (WebCore::JSInt32Array::indexSetter):
              (WebCore::toJS):
              (WebCore::JSInt32Array::set):
              * bindings/js/JSInt8ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLByteArrayConstructor.cpp.
              (WebCore::):
              (WebCore::JSInt8ArrayConstructor::JSInt8ArrayConstructor):
              (WebCore::constructCanvasByteArray):
              (WebCore::JSInt8ArrayConstructor::getConstructData):
              * bindings/js/JSInt8ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLByteArrayConstructor.h.
              * bindings/js/JSInt8ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLByteArrayCustom.cpp.
              (WebCore::JSInt8Array::indexSetter):
              (WebCore::toJS):
              (WebCore::JSInt8Array::set):
              * bindings/js/JSUint16ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.cpp.
              (WebCore::):
              (WebCore::JSUint16ArrayConstructor::JSUint16ArrayConstructor):
              (WebCore::constructCanvasUnsignedShortArray):
              (WebCore::JSUint16ArrayConstructor::getConstructData):
              * bindings/js/JSUint16ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.h.
              * bindings/js/JSUint16ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedShortArrayCustom.cpp.
              (WebCore::JSUint16Array::indexSetter):
              (WebCore::toJS):
              (WebCore::JSUint16Array::set):
              * bindings/js/JSUint32ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.cpp.
              (WebCore::):
              (WebCore::JSUint32ArrayConstructor::JSUint32ArrayConstructor):
              (WebCore::constructCanvasUnsignedIntArray):
              (WebCore::JSUint32ArrayConstructor::getConstructData):
              * bindings/js/JSUint32ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.h.
              * bindings/js/JSUint32ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedIntArrayCustom.cpp.
              (WebCore::JSUint32Array::indexSetter):
              (WebCore::toJS):
              (WebCore::JSUint32Array::set):
              * bindings/js/JSUint8ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.cpp.
              (WebCore::):
              (WebCore::JSUint8ArrayConstructor::JSUint8ArrayConstructor):
              (WebCore::constructCanvasUnsignedByteArray):
              (WebCore::JSUint8ArrayConstructor::getConstructData):
              * bindings/js/JSUint8ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.h.
              * bindings/js/JSUint8ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedByteArrayCustom.cpp.
              (WebCore::JSUint8Array::indexSetter):
              (WebCore::toJS):
              (WebCore::JSUint8Array::set):
              * bindings/js/JSWebGLArrayBufferConstructor.cpp: Removed.
              * bindings/js/JSWebGLArrayBufferConstructor.h: Removed.
              * bindings/js/JSWebGLArrayCustom.cpp: Removed.
              * bindings/js/JSWebGLArrayHelper.h: Removed.
              * bindings/js/JSWebGLByteArrayConstructor.cpp: Removed.
              * bindings/js/JSWebGLByteArrayConstructor.h: Removed.
              * bindings/js/JSWebGLByteArrayCustom.cpp: Removed.
              * bindings/js/JSWebGLFloatArrayConstructor.cpp: Removed.
              * bindings/js/JSWebGLFloatArrayConstructor.h: Removed.
              * bindings/js/JSWebGLFloatArrayCustom.cpp: Removed.
              * bindings/js/JSWebGLIntArrayConstructor.cpp: Removed.
              * bindings/js/JSWebGLIntArrayConstructor.h: Removed.
              * bindings/js/JSWebGLIntArrayCustom.cpp: Removed.
              * bindings/js/JSWebGLRenderingContextCustom.cpp:
              (WebCore::JSWebGLRenderingContext::bufferData):
              (WebCore::JSWebGLRenderingContext::bufferSubData):
              (WebCore::JSWebGLRenderingContext::texImage2D):
              (WebCore::JSWebGLRenderingContext::texSubImage2D):
              (WebCore::dataFunctionf):
              (WebCore::dataFunctioni):
              (WebCore::dataFunctionMatrix):
              * bindings/js/JSWebGLShortArrayConstructor.cpp: Removed.
              * bindings/js/JSWebGLShortArrayConstructor.h: Removed.
              * bindings/js/JSWebGLShortArrayCustom.cpp: Removed.
              * bindings/js/JSWebGLUnsignedByteArrayConstructor.cpp: Removed.
              * bindings/js/JSWebGLUnsignedByteArrayConstructor.h: Removed.
              * bindings/js/JSWebGLUnsignedByteArrayCustom.cpp: Removed.
              * bindings/js/JSWebGLUnsignedIntArrayConstructor.cpp: Removed.
              * bindings/js/JSWebGLUnsignedIntArrayConstructor.h: Removed.
              * bindings/js/JSWebGLUnsignedIntArrayCustom.cpp: Removed.
              * bindings/js/JSWebGLUnsignedShortArrayConstructor.cpp: Removed.
              * bindings/js/JSWebGLUnsignedShortArrayConstructor.h: Removed.
              * bindings/js/JSWebGLUnsignedShortArrayCustom.cpp: Removed.
              * bindings/v8/V8DOMWrapper.cpp:
              * bindings/v8/custom/V8ArrayBufferCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLArrayBufferCustom.cpp.
              (WebCore::V8ArrayBuffer::constructorCallback):
              * bindings/v8/custom/V8ArrayBufferViewCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLArrayCustom.cpp.
              (WebCore::toV8):
              (WebCore::V8ArrayBufferView::sliceCallback):
              * bindings/v8/custom/V8ArrayBufferViewCustom.h: Copied from WebCore/bindings/v8/custom/V8WebGLArrayCustom.h.
              (WebCore::constructWebGLArray):
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::V8DOMWindow::WebGLArrayBufferAccessorGetter):
              (WebCore::V8DOMWindow::WebGLByteArrayAccessorGetter):
              (WebCore::V8DOMWindow::WebGLUnsignedByteArrayAccessorGetter):
              (WebCore::V8DOMWindow::WebGLShortArrayAccessorGetter):
              (WebCore::V8DOMWindow::WebGLUnsignedShortArrayAccessorGetter):
              (WebCore::V8DOMWindow::WebGLIntArrayAccessorGetter):
              (WebCore::V8DOMWindow::WebGLUnsignedIntArrayAccessorGetter):
              (WebCore::V8DOMWindow::WebGLFloatArrayAccessorGetter):
              * bindings/v8/custom/V8FloatArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLFloatArrayCustom.cpp.
              (WebCore::V8FloatArray::constructorCallback):
              (WebCore::V8FloatArray::setCallback):
              (WebCore::toV8):
              * bindings/v8/custom/V8Int16ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLShortArrayCustom.cpp.
              (WebCore::V8Int16Array::constructorCallback):
              (WebCore::V8Int16Array::setCallback):
              (WebCore::toV8):
              * bindings/v8/custom/V8Int32ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLIntArrayCustom.cpp.
              (WebCore::V8Int32Array::constructorCallback):
              (WebCore::V8Int32Array::setCallback):
              (WebCore::toV8):
              * bindings/v8/custom/V8Int8ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLByteArrayCustom.cpp.
              (WebCore::V8Int8Array::constructorCallback):
              (WebCore::V8Int8Array::setCallback):
              (WebCore::toV8):
              * bindings/v8/custom/V8Uint16ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp.
              (WebCore::V8Uint16Array::constructorCallback):
              (WebCore::V8Uint16Array::setCallback):
              (WebCore::toV8):
              * bindings/v8/custom/V8Uint32ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp.
              (WebCore::V8Uint32Array::constructorCallback):
              (WebCore::V8Uint32Array::setCallback):
              (WebCore::toV8):
              * bindings/v8/custom/V8Uint8ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp.
              (WebCore::V8Uint8Array::constructorCallback):
              (WebCore::V8Uint8Array::setCallback):
              (WebCore::toV8):
              * bindings/v8/custom/V8WebGLArrayBufferCustom.cpp: Removed.
              * bindings/v8/custom/V8WebGLArrayCustom.cpp: Removed.
              * bindings/v8/custom/V8WebGLArrayCustom.h: Removed.
              * bindings/v8/custom/V8WebGLByteArrayCustom.cpp: Removed.
              * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp: Removed.
              * bindings/v8/custom/V8WebGLIntArrayCustom.cpp: Removed.
              * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
              (WebCore::vertexAttribAndUniformHelperf):
              (WebCore::uniformHelperi):
              (WebCore::uniformMatrixHelper):
              * bindings/v8/custom/V8WebGLShortArrayCustom.cpp: Removed.
              * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp: Removed.
              * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp: Removed.
              * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp: Removed.
              * html/canvas/ArrayBuffer.cpp: Copied from WebCore/html/canvas/WebGLArrayBuffer.cpp.
              (WebCore::ArrayBuffer::create):
              (WebCore::ArrayBuffer::ArrayBuffer):
              (WebCore::ArrayBuffer::data):
              (WebCore::ArrayBuffer::byteLength):
              (WebCore::ArrayBuffer::~ArrayBuffer):
              (WebCore::ArrayBuffer::tryAllocate):
              * html/canvas/ArrayBuffer.h: Copied from WebCore/html/canvas/WebGLArrayBuffer.h.
              * html/canvas/ArrayBuffer.idl: Copied from WebCore/html/canvas/WebGLArrayBuffer.idl.
              * html/canvas/ArrayBufferView.cpp: Copied from WebCore/html/canvas/WebGLArray.cpp.
              (WebCore::ArrayBufferView::ArrayBufferView):
              (WebCore::ArrayBufferView::~ArrayBufferView):
              (WebCore::ArrayBufferView::setImpl):
              (WebCore::ArrayBufferView::calculateOffsetAndLength):
              * html/canvas/ArrayBufferView.h: Copied from WebCore/html/canvas/WebGLArray.h.
              (WebCore::ArrayBufferView::buffer):
              (WebCore::ArrayBufferView::verifySubRange):
              (WebCore::ArrayBufferView::clampOffsetAndNumElements):
              * html/canvas/ArrayBufferView.idl: Copied from WebCore/html/canvas/WebGLArray.idl.
              * html/canvas/FloatArray.cpp: Copied from WebCore/html/canvas/WebGLFloatArray.cpp.
              (WebCore::FloatArray::create):
              (WebCore::FloatArray::FloatArray):
              (WebCore::FloatArray::slice):
              * html/canvas/FloatArray.h: Copied from WebCore/html/canvas/WebGLFloatArray.h.
              (WebCore::FloatArray::set):
              (WebCore::FloatArray::item):
              * html/canvas/FloatArray.idl: Copied from WebCore/html/canvas/WebGLFloatArray.idl.
              * html/canvas/Int16Array.cpp: Copied from WebCore/html/canvas/WebGLShortArray.cpp.
              (WebCore::Int16Array::create):
              (WebCore::Int16Array::Int16Array):
              (WebCore::Int16Array::slice):
              * html/canvas/Int16Array.h: Copied from WebCore/html/canvas/WebGLShortArray.h.
              * html/canvas/Int16Array.idl: Copied from WebCore/html/canvas/WebGLShortArray.idl.
              * html/canvas/Int32Array.cpp: Copied from WebCore/html/canvas/WebGLIntArray.cpp.
              (WebCore::Int32Array::create):
              (WebCore::Int32Array::Int32Array):
              (WebCore::Int32Array::slice):
              * html/canvas/Int32Array.h: Copied from WebCore/html/canvas/WebGLIntArray.h.
              * html/canvas/Int32Array.idl: Copied from WebCore/html/canvas/WebGLIntArray.idl.
              * html/canvas/Int8Array.cpp: Copied from WebCore/html/canvas/WebGLByteArray.cpp.
              (WebCore::Int8Array::create):
              (WebCore::Int8Array::Int8Array):
              (WebCore::Int8Array::slice):
              * html/canvas/Int8Array.h: Copied from WebCore/html/canvas/WebGLByteArray.h.
              * html/canvas/Int8Array.idl: Copied from WebCore/html/canvas/WebGLByteArray.idl.
              * html/canvas/IntegralTypedArrayBase.h: Copied from WebCore/html/canvas/WebGLIntegralTypedArrayBase.h.
              (WebCore::IntegralTypedArrayBase::set):
              (WebCore::IntegralTypedArrayBase::item):
              (WebCore::IntegralTypedArrayBase::IntegralTypedArrayBase):
              * html/canvas/TypedArrayBase.h: Copied from WebCore/html/canvas/WebGLTypedArrayBase.h.
              (WebCore::TypedArrayBase::set):
              (WebCore::TypedArrayBase::TypedArrayBase):
              (WebCore::TypedArrayBase::create):
              * html/canvas/Uint16Array.cpp: Copied from WebCore/html/canvas/WebGLUnsignedShortArray.cpp.
              (WebCore::Uint16Array::create):
              (WebCore::Uint16Array::Uint16Array):
              (WebCore::Uint16Array::slice):
              * html/canvas/Uint16Array.h: Copied from WebCore/html/canvas/WebGLUnsignedShortArray.h.
              * html/canvas/Uint16Array.idl: Copied from WebCore/html/canvas/WebGLUnsignedShortArray.idl.
              * html/canvas/Uint32Array.cpp: Copied from WebCore/html/canvas/WebGLUnsignedIntArray.cpp.
              (WebCore::Uint32Array::create):
              (WebCore::Uint32Array::Uint32Array):
              (WebCore::Uint32Array::slice):
              * html/canvas/Uint32Array.h: Copied from WebCore/html/canvas/WebGLUnsignedIntArray.h.
              * html/canvas/Uint32Array.idl: Copied from WebCore/html/canvas/WebGLUnsignedIntArray.idl.
              * html/canvas/Uint8Array.cpp: Copied from WebCore/html/canvas/WebGLUnsignedByteArray.cpp.
              (WebCore::Uint8Array::create):
              (WebCore::Uint8Array::Uint8Array):
              (WebCore::Uint8Array::slice):
              * html/canvas/Uint8Array.h: Copied from WebCore/html/canvas/WebGLUnsignedByteArray.h.
              * html/canvas/Uint8Array.idl: Copied from WebCore/html/canvas/WebGLUnsignedByteArray.idl.
              * html/canvas/WebGLArray.cpp: Removed.
              * html/canvas/WebGLArray.h: Removed.
              * html/canvas/WebGLArray.idl: Removed.
              * html/canvas/WebGLArrayBuffer.cpp: Removed.
              * html/canvas/WebGLArrayBuffer.h: Removed.
              * html/canvas/WebGLArrayBuffer.idl: Removed.
              * html/canvas/WebGLBuffer.cpp:
              (WebCore::WebGLBuffer::associateBufferData):
              (WebCore::WebGLBuffer::associateBufferSubData):
              * html/canvas/WebGLBuffer.h:
              (WebCore::WebGLBuffer::elementArrayBuffer):
              * html/canvas/WebGLByteArray.cpp: Removed.
              * html/canvas/WebGLByteArray.h: Removed.
              * html/canvas/WebGLByteArray.idl: Removed.
              * html/canvas/WebGLFloatArray.cpp: Removed.
              * html/canvas/WebGLFloatArray.h: Removed.
              * html/canvas/WebGLFloatArray.idl: Removed.
              * html/canvas/WebGLGetInfo.cpp:
              (WebCore::WebGLGetInfo::WebGLGetInfo):
              (WebCore::WebGLGetInfo::getWebGLFloatArray):
              (WebCore::WebGLGetInfo::getWebGLIntArray):
              (WebCore::WebGLGetInfo::getWebGLUnsignedByteArray):
              * html/canvas/WebGLGetInfo.h:
              * html/canvas/WebGLIntArray.cpp: Removed.
              * html/canvas/WebGLIntArray.h: Removed.
              * html/canvas/WebGLIntArray.idl: Removed.
              * html/canvas/WebGLIntegralTypedArrayBase.h: Removed.
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::bufferData):
              (WebCore::WebGLRenderingContext::bufferSubData):
              (WebCore::WebGLRenderingContext::getUniform):
              (WebCore::WebGLRenderingContext::getVertexAttrib):
              (WebCore::WebGLRenderingContext::readPixels):
              (WebCore::WebGLRenderingContext::texImage2D):
              (WebCore::WebGLRenderingContext::texSubImage2D):
              (WebCore::WebGLRenderingContext::uniform1fv):
              (WebCore::WebGLRenderingContext::uniform1iv):
              (WebCore::WebGLRenderingContext::uniform2fv):
              (WebCore::WebGLRenderingContext::uniform2iv):
              (WebCore::WebGLRenderingContext::uniform3fv):
              (WebCore::WebGLRenderingContext::uniform3iv):
              (WebCore::WebGLRenderingContext::uniform4fv):
              (WebCore::WebGLRenderingContext::uniform4iv):
              (WebCore::WebGLRenderingContext::uniformMatrix2fv):
              (WebCore::WebGLRenderingContext::uniformMatrix3fv):
              (WebCore::WebGLRenderingContext::uniformMatrix4fv):
              (WebCore::WebGLRenderingContext::vertexAttrib1fv):
              (WebCore::WebGLRenderingContext::vertexAttrib2fv):
              (WebCore::WebGLRenderingContext::vertexAttrib3fv):
              (WebCore::WebGLRenderingContext::vertexAttrib4fv):
              (WebCore::WebGLRenderingContext::getWebGLFloatArrayParameter):
              (WebCore::WebGLRenderingContext::getWebGLIntArrayParameter):
              (WebCore::WebGLRenderingContext::getWebGLUnsignedByteArrayParameter):
              * html/canvas/WebGLRenderingContext.h:
              * html/canvas/WebGLRenderingContext.idl:
              * html/canvas/WebGLShortArray.cpp: Removed.
              * html/canvas/WebGLShortArray.h: Removed.
              * html/canvas/WebGLShortArray.idl: Removed.
              * html/canvas/WebGLTypedArrayBase.h: Removed.
              * html/canvas/WebGLUnsignedByteArray.cpp: Removed.
              * html/canvas/WebGLUnsignedByteArray.h: Removed.
              * html/canvas/WebGLUnsignedByteArray.idl: Removed.
              * html/canvas/WebGLUnsignedIntArray.cpp: Removed.
              * html/canvas/WebGLUnsignedIntArray.h: Removed.
              * html/canvas/WebGLUnsignedIntArray.idl: Removed.
              * html/canvas/WebGLUnsignedShortArray.cpp: Removed.
              * html/canvas/WebGLUnsignedShortArray.h: Removed.
              * html/canvas/WebGLUnsignedShortArray.idl: Removed.
              * page/DOMWindow.idl:
              * platform/graphics/GraphicsContext3D.h:
              * platform/graphics/mac/GraphicsContext3DMac.cpp:
              (WebCore::GraphicsContext3D::bufferData):
              (WebCore::GraphicsContext3D::bufferSubData):
              * platform/graphics/qt/GraphicsContext3DQt.cpp:
              (WebCore::GraphicsContext3D::bufferData):
              (WebCore::GraphicsContext3D::bufferSubData):
      2010-05-14  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Darin Adler.
      
              Rename WebGLArray types to TypedArray types
              https://bugs.webkit.org/show_bug.cgi?id=39091
      
              Extended functionality of do-webcore-rename script and used it to
              rename the WebGLArray types to the TypedArray naming convention.
              The only source files which were touched by hand, and which are
              being manually reviewed, are:
                  WebCore/page/DOMWindow.idl
                  WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
                  WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
                  WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
              These only needed to be touched to update the aliases between the
              WebGLArray and TypedArray names introduced in bug 39036. (It was
              not feasible to have do-webcore-rename handle this as it would
              introduce circular renamings.) These aliases will be removed in
              roughly a month once existing WebGL content has been updated.
      
              No new tests; covered under existing WebGL tests. Updated
              constructed-objects-prototypes and prototype-inheritance-2 tests.
              Ran all layout tests in Safari and all WebGL tests in Chromium.
      
              * fast/dom/script-tests/constructed-objects-prototypes.js:
              (constructorPropertiesOnWindow):
              * fast/dom/script-tests/prototype-inheritance-2.js:
              (constructorNamesForWindow):
      2010-05-14  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Darin Adler.
      
              Rename WebGLArray types to TypedArray types
              https://bugs.webkit.org/show_bug.cgi?id=39091
      
              Extended functionality of do-webcore-rename script and used it to
              rename the WebGLArray types to the TypedArray naming convention.
              The only source files which were touched by hand, and which are
              being manually reviewed, are:
                  WebCore/page/DOMWindow.idl
                  WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
                  WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
                  WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
              These only needed to be touched to update the aliases between the
              WebGLArray and TypedArray names introduced in bug 39036. (It was
              not feasible to have do-webcore-rename handle this as it would
              introduce circular renamings.) These aliases will be removed in
              roughly a month once existing WebGL content has been updated.
      
              No new tests; covered under existing WebGL tests. Updated
              constructed-objects-prototypes and prototype-inheritance-2 tests.
              Ran all layout tests in Safari and all WebGL tests in Chromium.
      
              * Scripts/do-webcore-rename:
                Handle the case where some renames are substrings of others.
                Support renaming files containing custom JS bindings. If
                isDOMTypeRename is non-zero, expand the regexp which rewrites
                the file's contents in order to support custom JS bindings.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3706f9b1
  18. 19 Mar, 2010 1 commit
    • eric@webkit.org's avatar
      2010-03-19 Zhenyao Mo <zmo@google.com> · cb99c710
      eric@webkit.org authored
              Reviewed by Oliver Hunt.
      
              Update WebGLArray.slice() to new spec
              https://bugs.webkit.org/show_bug.cgi?id-35612
      
              * fast/canvas/webgl/array-unit-tests-expected.txt: Changed tests to reflect the new slice parameters; add new test cases for default inputs for slice.
              * fast/canvas/webgl/array-unit-tests.html: Ditto.
              * fast/canvas/webgl/webgl-array-invalid-ranges-expected.txt: Changed tests to reflect the new slice parameters.
              * fast/canvas/webgl/webgl-array-invalid-ranges.html: Ditto.
      2010-03-19  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Oliver Hunt.
      
              Update WebGLArray.slice() to new spec
              https://bugs.webkit.org/show_bug.cgi?id-35612
      
              * bindings/js/JSWebGLArrayCustom.cpp: Adding support for default inputs.
              (WebCore::JSWebGLArray::slice):
              * bindings/v8/custom/V8WebGLArrayCustom.cpp: Ditto.
              (WebCore::V8WebGLArray::sliceCallback):
              * html/canvas/WebGLArray.cpp: Map start/end to offset/length.
              (WebCore::WebGLArray::calculateOffsetAndLength):
              * html/canvas/WebGLArray.h: Modified slice parameters.
              * html/canvas/WebGLArray.idl: Define custom binding for slice().
              * html/canvas/WebGLByteArray.cpp: Modified slice parameters.
              (WebCore::WebGLByteArray::slice):
              * html/canvas/WebGLByteArray.h: Ditto.
              * html/canvas/WebGLFloatArray.cpp: Ditto.
              (WebCore::WebGLFloatArray::slice):
              * html/canvas/WebGLFloatArray.h: Ditto.
              * html/canvas/WebGLIntArray.cpp: Ditto.
              (WebCore::WebGLIntArray::slice):
              * html/canvas/WebGLIntArray.h: Ditto.
              * html/canvas/WebGLShortArray.cpp: Ditto.
              (WebCore::WebGLShortArray::slice):
              * html/canvas/WebGLShortArray.h: Ditto.
              * html/canvas/WebGLUnsignedByteArray.cpp: Ditto.
              (WebCore::WebGLUnsignedByteArray::slice):
              * html/canvas/WebGLUnsignedByteArray.h: Ditto.
              * html/canvas/WebGLUnsignedIntArray.cpp: Ditto.
              (WebCore::WebGLUnsignedIntArray::slice):
              * html/canvas/WebGLUnsignedIntArray.h: Ditto.
              * html/canvas/WebGLUnsignedShortArray.cpp: Ditto.
              (WebCore::WebGLUnsignedShortArray::slice):
              * html/canvas/WebGLUnsignedShortArray.h: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb99c710
  19. 23 Dec, 2009 1 commit
    • zimmermann@webkit.org's avatar
      2009-12-23 Nikolas Zimmermann <nzimmermann@rim.com> · 0794fbb6
      zimmermann@webkit.org authored
              Reviewed by Eric Seidel.
      
              Reverse JS GenerateConstructor logic
              https://bugs.webkit.org/show_bug.cgi?id=32910
      
              Make 'GenerateConstructor' the default setting for all classes, defined in IDL files. The flag is now obsolete and
              can be removed from all IDL files in a follow-up patch. Add new 'OmitConstructor' flag, that allows to restore the
              old default behaviour: do not generate JSFoobarConstructor class.
      
              No change in functionality, despite the fact that we're generating a lot more constructors now, as they have to
              be exposed through DOMWindow.idl -- this can be done per affected class in follow-up patches. Especially the SVG
              classes have to be exposed, most of them are missing JS constructors so far.
      
              As side effect HTMLOptionsCollection is now correctly exposing its constructor, thus fixing a test in fast/dom/wrapper-classes.html
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0794fbb6
  20. 16 Nov, 2009 1 commit
  21. 10 Nov, 2009 1 commit
  22. 12 Oct, 2009 1 commit
  23. 08 Sep, 2009 1 commit
  24. 22 Aug, 2009 1 commit
  25. 25 Feb, 2009 1 commit
  26. 28 Dec, 2007 1 commit
  27. 30 Nov, 2007 1 commit
    • zimmermann@webkit.org's avatar
      Rubber stamped by Eric. · 095ababf
      zimmermann@webkit.org authored
      Final integration of ksvg2 in WebKit. Moving ksvg2/ to svg/ and killing all it's subdirectories,
      by moving the files into approriate locations (css, rendering, ...) - as dicsussed on the
      mailing list and on IRC with David/Darin & Eric.
      
      Updated all build files - though I can't guarantee it builds on non-mac. Need buildbot to verify.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      095ababf
  28. 22 Oct, 2007 1 commit
    • eseidel's avatar
      2007-10-22 Eric Seidel <eric@webkit.org> · 5fced7cf
      eseidel authored
              Reviewed by hyatt.
      
              Implement <font-face> and friends for SVG.
              http://bugs.webkit.org/show_bug.cgi?id=10652
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSSVGElementWrapperFactory.cpp:
              * dom/Document.cpp:
              (WebCore::Document::mappedElementSheet):
              (WebCore::Document::recalcStyleSelector):
              * dom/Document.h:
              * ksvg2/scripts/make_names.pl:
              * ksvg2/svg/SVGDefinitionSrcElement.cpp: Added.
              (WebCore::SVGDefinitionSrcElement::SVGDefinitionSrcElement):
              (WebCore::SVGDefinitionSrcElement::~SVGDefinitionSrcElement):
              (WebCore::SVGDefinitionSrcElement::childrenChanged):
              * ksvg2/svg/SVGDefinitionSrcElement.h: Added.
              * ksvg2/svg/SVGDefinitionSrcElement.idl: Added.
              * ksvg2/svg/SVGFontFaceElement.cpp: Added.
              (WebCore::SVGFontFaceElement::SVGFontFaceElement):
              (WebCore::SVGFontFaceElement::~SVGFontFaceElement):
              (WebCore::cssPropertyIdForName):
              (WebCore::mapAttributeToCSSProperty):
              (WebCore::cssPropertyIdForSVGAttributeName):
              (WebCore::SVGFontFaceElement::parseMappedAttribute):
              (WebCore::SVGFontFaceElement::rebuildFontFace):
              (WebCore::SVGFontFaceElement::childrenChanged):
              * ksvg2/svg/SVGFontFaceElement.h: Added.
              * ksvg2/svg/SVGFontFaceElement.idl: Added.
              * ksvg2/svg/SVGFontFaceFormatElement.cpp: Added.
              (WebCore::SVGFontFaceFormatElement::SVGFontFaceFormatElement):
              (WebCore::SVGFontFaceFormatElement::~SVGFontFaceFormatElement):
              (WebCore::SVGFontFaceFormatElement::childrenChanged):
              * ksvg2/svg/SVGFontFaceFormatElement.h: Added.
              * ksvg2/svg/SVGFontFaceFormatElement.idl: Added.
              * ksvg2/svg/SVGFontFaceNameElement.cpp: Added.
              (WebCore::SVGFontFaceNameElement::SVGFontFaceNameElement):
              (WebCore::SVGFontFaceNameElement::~SVGFontFaceNameElement):
              (WebCore::SVGFontFaceNameElement::srcValue):
              * ksvg2/svg/SVGFontFaceNameElement.h: Added.
              * ksvg2/svg/SVGFontFaceNameElement.idl: Added.
              * ksvg2/svg/SVGFontFaceSrcElement.cpp: Added.
              (WebCore::SVGFontFaceSrcElement::SVGFontFaceSrcElement):
              (WebCore::SVGFontFaceSrcElement::~SVGFontFaceSrcElement):
              (WebCore::SVGFontFaceSrcElement::srcValue):
              (WebCore::SVGFontFaceSrcElement::childrenChanged):
              * ksvg2/svg/SVGFontFaceSrcElement.h: Added.
              * ksvg2/svg/SVGFontFaceSrcElement.idl: Added.
              * ksvg2/svg/SVGFontFaceUriElement.cpp: Added.
              (WebCore::SVGFontFaceUriElement::SVGFontFaceUriElement):
              (WebCore::SVGFontFaceUriElement::~SVGFontFaceUriElement):
              (WebCore::SVGFontFaceUriElement::srcValue):
              (WebCore::SVGFontFaceUriElement::childrenChanged):
              * ksvg2/svg/SVGFontFaceUriElement.h: Added.
              * ksvg2/svg/SVGFontFaceUriElement.idl: Added.
              * ksvg2/svg/svgtags.in:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fced7cf
  29. 08 Oct, 2006 1 commit
    • weinig's avatar
      Reviewed by Darin. · ea516b80
      weinig authored
              Patch for http://bugs.webkit.org/show_bug.cgi?id=11215
              Yet another round of Objective-C SVG DOM bindings auto-generation
      
              - Auto-generate DOMSVGPatternElement, DOMSVGPointList, DOMSVGPolygonElement, 
                DOMSVGPolylineElement, DOMSVGRadialGradientElement, DOMSVGRenderingIntent,
                DOMSVGScriptElement, DOMSVGSetElement, DOMSVGStopElement, DOMSVGSwitchElement, 
                DOMSVGSymbolElement, DOMSVGTRefElement, DOMSVGTSpanElement, 
                DOMSVGTextContentElement, DOMSVGTextElement, DOMSVGTextPositioningElement, 
                DOMSVGTitleElement, DOMSVGUnitTypes, DOMSVGUseElement, DOMSVGViewElement, 
                DOMSVGZoomAndPan and DOMSVGZoomEvent.
      
              - Auto-generate the implementations of DOMHTMLAppletElement and DOMHTMLEmbedElement
                using the new [ConvertFromString] property.
      
              - Add forward declarations for NS* types to auto-generated classes.
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/objc/DOMHTMLAppletElement.mm: Removed.
              * bindings/objc/DOMHTMLEmbedElement.mm: Removed.
              * bindings/objc/DOMInternal.h:
              * bindings/objc/DOMSVG.h:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * html/HTMLAppletElement.idl:
              * html/HTMLEmbedElement.idl:
              * ksvg2/svg/SVGPatternElement.idl:
              * ksvg2/svg/SVGPolygonElement.idl:
              * ksvg2/svg/SVGPolylineElement.idl:
              * ksvg2/svg/SVGRadialGradientElement.idl:
              * ksvg2/svg/SVGRenderingIntent.idl:
              * ksvg2/svg/SVGScriptElement.idl:
              * ksvg2/svg/SVGSetElement.idl:
              * ksvg2/svg/SVGStopElement.idl:
              * ksvg2/svg/SVGSwitchElement.idl:
              * ksvg2/svg/SVGSymbolElement.idl:
              * ksvg2/svg/SVGTRefElement.idl:
              * ksvg2/svg/SVGTSpanElement.idl:
              * ksvg2/svg/SVGTextContentElement.idl:
              * ksvg2/svg/SVGTextElement.idl:
              * ksvg2/svg/SVGTextPositioningElement.idl:
              * ksvg2/svg/SVGTitleElement.idl:
              * ksvg2/svg/SVGUseElement.idl:
              * ksvg2/svg/SVGViewElement.idl:
              * ksvg2/svg/SVGZoomEvent.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea516b80
  30. 12 Sep, 2006 1 commit
    • eseidel's avatar
      2006-09-12 Nikolas Zimmermann <zimmermann@kde.org> · 97045d17
      eseidel authored
              Reviewed by eseidel.  Landed by eseidel.
      
              Test: svg/W3C-SVG-1.1/struct-dom-01-b.svg (fixed)
              Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10826
              
              Also finally fixes some long outstanding bugs:
              Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=9190
              Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=9229
              Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10413
      
              Enable all JavaScript SVG bindings. Builds on Qt/Linux & OSX.
      
              * CMakeLists.txt:
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/scripts/CodeGenerator.pm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp:
              * ksvg2/svg/SVGAElement.idl: Added.
              * ksvg2/svg/SVGAngle.idl:
              * ksvg2/svg/SVGAnimateColorElement.idl: Added.
              * ksvg2/svg/SVGAnimateElement.idl: Added.
              * ksvg2/svg/SVGAnimateTransformElement.idl: Added.
              * ksvg2/svg/SVGAnimatedLengthList.idl: Added.
              * ksvg2/svg/SVGAnimatedNumberList.idl: Added.
              * ksvg2/svg/SVGAnimatedTransformList.idl: Added.
              * ksvg2/svg/SVGAnimationElement.idl: Added.
              * ksvg2/svg/SVGCircleElement.idl: Added.
              * ksvg2/svg/SVGClipPathElement.idl: Added.
              * ksvg2/svg/SVGColor.idl:
              * ksvg2/svg/SVGComponentTransferFunctionElement.idl: Added.
              * ksvg2/svg/SVGCursorElement.idl: Added.
              * ksvg2/svg/SVGDefsElement.idl: Added.
              * ksvg2/svg/SVGDescElement.idl: Added.
              * ksvg2/svg/SVGEllipseElement.idl: Added.
              * ksvg2/svg/SVGEvent.idl:
              * ksvg2/svg/SVGExternalResourcesRequired.idl: Added.
              * ksvg2/svg/SVGFEBlendElement.idl: Added.
              * ksvg2/svg/SVGFEColorMatrixElement.idl: Added.
              * ksvg2/svg/SVGFEComponentTransferElement.idl: Added.
              * ksvg2/svg/SVGFECompositeElement.idl: Added.
              * ksvg2/svg/SVGFEDiffuseLightingElement.idl: Added.
              * ksvg2/svg/SVGFEDisplacementMapElement.idl: Added.
              * ksvg2/svg/SVGFEDistantLightElement.idl: Added.
              * ksvg2/svg/SVGFEFloodElement.idl: Added.
              * ksvg2/svg/SVGFEFuncAElement.idl: Added.
              * ksvg2/svg/SVGFEFuncBElement.idl: Added.
              * ksvg2/svg/SVGFEFuncGElement.idl: Added.
              * ksvg2/svg/SVGFEFuncRElement.idl: Added.
              * ksvg2/svg/SVGFEGaussianBlurElement.idl: Added.
              * ksvg2/svg/SVGFEImageElement.idl: Added.
              * ksvg2/svg/SVGFEMergeElement.idl: Added.
              * ksvg2/svg/SVGFEMergeNodeElement.idl: Added.
              * ksvg2/svg/SVGFEOffsetElement.idl: Added.
              * ksvg2/svg/SVGFEPointLightElement.idl: Added.
              * ksvg2/svg/SVGFESpecularLightingElement.idl: Added.
              * ksvg2/svg/SVGFESpotLightElement.idl: Added.
              * ksvg2/svg/SVGFETileElement.idl: Added.
              * ksvg2/svg/SVGFETurbulenceElement.idl: Added.
              * ksvg2/svg/SVGFilterElement.idl: Added.
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl: Added.
              * ksvg2/svg/SVGFitToViewBox.idl: Added.
              * ksvg2/svg/SVGForeignObjectElement.idl: Added.
              * ksvg2/svg/SVGGElement.idl: Added.
              * ksvg2/svg/SVGGradientElement.idl: Added.
              * ksvg2/svg/SVGImageElement.idl: Added.
              * ksvg2/svg/SVGLangSpace.idl: Added.
              * ksvg2/svg/SVGLength.idl:
              * ksvg2/svg/SVGLengthList.idl: Added.
              * ksvg2/svg/SVGLineElement.idl: Added.
              * ksvg2/svg/SVGLinearGradientElement.idl: Added.
              * ksvg2/svg/SVGLocatable.idl: Added.
              * ksvg2/svg/SVGMarkerElement.idl: Added.
              * ksvg2/svg/SVGMaskElement.idl: Added.
              * ksvg2/svg/SVGNumberList.idl: Added.
              * ksvg2/svg/SVGPaint.idl: Added.
              * ksvg2/svg/SVGPathElement.idl:
              * ksvg2/svg/SVGPathSeg.idl:
              * ksvg2/svg/SVGPatternElement.idl: Added.
              * ksvg2/svg/SVGPointList.idl: Added.
              * ksvg2/svg/SVGPolygonElement.idl: Added.
              * ksvg2/svg/SVGPolylineElement.idl: Added.
              * ksvg2/svg/SVGPreserveAspectRatio.idl:
              * ksvg2/svg/SVGRadialGradientElement.idl: Added.
              * ksvg2/svg/SVGRectElement.idl: Added.
              * ksvg2/svg/SVGRenderingIntent.idl: Added.
              * ksvg2/svg/SVGSVGElement.idl:
              * ksvg2/svg/SVGScriptElement.idl: Added.
              * ksvg2/svg/SVGSetElement.idl: Added.
              * ksvg2/svg/SVGStopElement.idl: Added.
              * ksvg2/svg/SVGStringList.idl: Added.
              * ksvg2/svg/SVGStylable.idl: Added.
              * ksvg2/svg/SVGStyleElement.idl: Added.
              * ksvg2/svg/SVGSwitchElement.idl: Added.
              * ksvg2/svg/SVGSymbolElement.idl: Added.
              * ksvg2/svg/SVGTRefElement.idl: Added.
              * ksvg2/svg/SVGTSpanElement.idl: Added.
              * ksvg2/svg/SVGTests.idl: Added.
              * ksvg2/svg/SVGTextContentElement.idl: Added.
              * ksvg2/svg/SVGTextElement.idl: Added.
              * ksvg2/svg/SVGTextPositioningElement.idl: Added.
              * ksvg2/svg/SVGTitleElement.idl: Added.
              * ksvg2/svg/SVGTransform.idl:
              * ksvg2/svg/SVGTransformList.idl: Added.
              * ksvg2/svg/SVGTransformable.idl: Added.
              * ksvg2/svg/SVGURIReference.idl: Added.
              * ksvg2/svg/SVGUnitTypes.idl: Added.
              * ksvg2/svg/SVGUseElement.idl: Added.
              * ksvg2/svg/SVGViewElement.idl: Added.
              * ksvg2/svg/SVGZoomAndPan.idl: Added.
              * ksvg2/svg/SVGZoomEvent.idl: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97045d17
  31. 29 Aug, 2006 1 commit
    • eseidel's avatar
      2006-08-29 Eric Seidel <eric@eseidel.com> · 39a0c6c3
      eseidel authored
              Reviewed by kevin.
      
              Re-enable path-related SVG JavaScript bindings.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10623
              Split all SVGPathSeg*.idl files into Abs and Rel pieces.
              Move all SVGPath*.idl files into ksvg2/svg
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/scripts/CodeGeneratorJS.pm: Special case Abs and Rel header includes
              * ksvg2/bindings/idl/svg/SVGAnimatedNumber.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathElement.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathSeg.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathSegArc.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathSegClosePath.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoCubic.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoCubicSmooth.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoQuadratic.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoQuadraticSmooth.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathSegLineto.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathSegLinetoHorizontal.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathSegLinetoVertical.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathSegList.idl: Removed.
              * ksvg2/bindings/idl/svg/SVGPathSegMoveto.idl: Removed.
              * ksvg2/ksvg.h: move SVGPathSegment enum
              * ksvg2/svg/SVGPathElement.cpp: move SVGPathSegment enum
              (WebCore::SVGPathElement::toPathData):
              * ksvg2/svg/SVGPathSeg.cpp:
              (WebCore::SVGPathSeg::SVGPathSeg):
              * ksvg2/svg/SVGPathSeg.h:
              (WebCore::SVGPathSeg::):
              * ksvg2/svg/SVGPathSegArcAbs.idl: Added.
              * ksvg2/svg/SVGPathSegArcRel.idl: Added.
              * ksvg2/svg/SVGPathSegCurvetoCubicAbs.idl: Added.
              * ksvg2/svg/SVGPathSegCurvetoCubicRel.idl: Added.
              * ksvg2/svg/SVGPathSegCurvetoCubicSmoothAbs.idl: Added.
              * ksvg2/svg/SVGPathSegCurvetoCubicSmoothRel.idl: Added.
              * ksvg2/svg/SVGPathSegCurvetoQuadraticAbs.idl: Added.
              * ksvg2/svg/SVGPathSegCurvetoQuadraticRel.idl: Added.
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl: Added.
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl: Added.
              * ksvg2/svg/SVGPathSegLinetoAbs.idl: Added.
              * ksvg2/svg/SVGPathSegLinetoHorizontalAbs.idl: Added.
              * ksvg2/svg/SVGPathSegLinetoHorizontalRel.idl: Added.
              * ksvg2/svg/SVGPathSegLinetoRel.idl: Added.
              * ksvg2/svg/SVGPathSegLinetoVerticalAbs.idl: Added.
              * ksvg2/svg/SVGPathSegLinetoVerticalRel.idl: Added.
              * ksvg2/svg/SVGPathSegMovetoAbs.idl: Added.
              * ksvg2/svg/SVGPathSegMovetoRel.idl: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39a0c6c3
  32. 15 Jun, 2006 1 commit
    • ddkilzer's avatar
      WebCore: · 6fb5d75e
      ddkilzer authored
              Reviewed by mjs.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9382
              IDL files missing copyright/license headers
      
              Add Apple BSD license and copyright to IDL files.
      
              * ksvg2/bindings/idl/svg/GetSVGDocument.idl:
              * ksvg2/bindings/idl/svg/SVGAElement.idl:
              * ksvg2/bindings/idl/svg/SVGAnimateColorElement.idl:
              * ksvg2/bindings/idl/svg/SVGAnimateElement.idl:
              * ksvg2/bindings/idl/svg/SVGAnimateTransformElement.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedAngle.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedBoolean.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedEnumeration.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedInteger.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedLengthList.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedNumber.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedNumberList.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedPathData.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedPoints.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedPreserveAspectRatio.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedRect.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedString.idl:
              * ksvg2/bindings/idl/svg/SVGAnimatedTransformList.idl:
              * ksvg2/bindings/idl/svg/SVGAnimationElement.idl:
              * ksvg2/bindings/idl/svg/SVGCircleElement.idl:
              * ksvg2/bindings/idl/svg/SVGClipPathElement.idl:
              * ksvg2/bindings/idl/svg/SVGComponentTransferFunctionElement.idl:
              * ksvg2/bindings/idl/svg/SVGCursorElement.idl:
              * ksvg2/bindings/idl/svg/SVGDOMImplementation.idl:
              * ksvg2/bindings/idl/svg/SVGDefsElement.idl:
              * ksvg2/bindings/idl/svg/SVGDescElement.idl:
              * ksvg2/bindings/idl/svg/SVGElementInstance.idl:
              * ksvg2/bindings/idl/svg/SVGElementInstanceList.idl:
              * ksvg2/bindings/idl/svg/SVGEllipseElement.idl:
              * ksvg2/bindings/idl/svg/SVGEvent.idl:
              * ksvg2/bindings/idl/svg/SVGException.idl:
              * ksvg2/bindings/idl/svg/SVGExternalResourcesRequired.idl:
              * ksvg2/bindings/idl/svg/SVGFEBlendElement.idl:
              * ksvg2/bindings/idl/svg/SVGFEColorMatrixElement.idl:
              * ksvg2/bindings/idl/svg/SVGFEComponentTransferElement.idl:
              * ksvg2/bindings/idl/svg/SVGFECompositeElement.idl:
              * ksvg2/bindings/idl/svg/SVGFEFloodElement.idl:
              * ksvg2/bindings/idl/svg/SVGFEFuncAElement.idl:
              * ksvg2/bindings/idl/svg/SVGFEFuncBElement.idl:
              * ksvg2/bindings/idl/svg/SVGFEFuncGElement.idl:
              * ksvg2/bindings/idl/svg/SVGFEFuncRElement.idl:
              * ksvg2/bindings/idl/svg/SVGFEGaussianBlurElement.idl:
              * ksvg2/bindings/idl/svg/SVGFEImageElement.idl:
              * ksvg2/bindings/idl/svg/SVGFEMergeElement.idl:
              * ksvg2/bindings/idl/svg/SVGFEMergeNodeElement.idl:
              * ksvg2/bindings/idl/svg/SVGFEOffsetElement.idl:
              * ksvg2/bindings/idl/svg/SVGFETileElement.idl:
              * ksvg2/bindings/idl/svg/SVGFETurbulenceElement.idl:
              * ksvg2/bindings/idl/svg/SVGFilterElement.idl:
              * ksvg2/bindings/idl/svg/SVGFilterPrimitiveStandardAttributes.idl:
              * ksvg2/bindings/idl/svg/SVGFitToViewBox.idl:
              * ksvg2/bindings/idl/svg/SVGGElement.idl:
              * ksvg2/bindings/idl/svg/SVGGradientElement.idl:
              * ksvg2/bindings/idl/svg/SVGICCColor.idl:
              * ksvg2/bindings/idl/svg/SVGImageElement.idl:
              * ksvg2/bindings/idl/svg/SVGLangSpace.idl:
              * ksvg2/bindings/idl/svg/SVGLengthList.idl:
              * ksvg2/bindings/idl/svg/SVGLineElement.idl:
              * ksvg2/bindings/idl/svg/SVGLinearGradientElement.idl:
              * ksvg2/bindings/idl/svg/SVGLocatable.idl:
              * ksvg2/bindings/idl/svg/SVGMarkerElement.idl:
              * ksvg2/bindings/idl/svg/SVGNumberList.idl:
              * ksvg2/bindings/idl/svg/SVGPaint.idl:
              * ksvg2/bindings/idl/svg/SVGPathElement.idl:
              * ksvg2/bindings/idl/svg/SVGPathSeg.idl:
              * ksvg2/bindings/idl/svg/SVGPathSegArc.idl:
              * ksvg2/bindings/idl/svg/SVGPathSegClosePath.idl:
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoCubic.idl:
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoCubicSmooth.idl:
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoQuadratic.idl:
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoQuadraticSmooth.idl:
              * ksvg2/bindings/idl/svg/SVGPathSegLineto.idl:
              * ksvg2/bindings/idl/svg/SVGPathSegLinetoHorizontal.idl:
              * ksvg2/bindings/idl/svg/SVGPathSegLinetoVertical.idl:
              * ksvg2/bindings/idl/svg/SVGPathSegList.idl:
              * ksvg2/bindings/idl/svg/SVGPathSegMoveto.idl:
              * ksvg2/bindings/idl/svg/SVGPatternElement.idl:
              * ksvg2/bindings/idl/svg/SVGPointList.idl:
              * ksvg2/bindings/idl/svg/SVGPolygonElement.idl:
              * ksvg2/bindings/idl/svg/SVGPolylineElement.idl:
              * ksvg2/bindings/idl/svg/SVGPreserveAspectRatio.idl:
              * ksvg2/bindings/idl/svg/SVGRadialGradientElement.idl:
              * ksvg2/bindings/idl/svg/SVGRectElement.idl:
              * ksvg2/bindings/idl/svg/SVGRenderingIntent.idl:
              * ksvg2/bindings/idl/svg/SVGScriptElement.idl:
              * ksvg2/bindings/idl/svg/SVGSetElement.idl:
              * ksvg2/bindings/idl/svg/SVGStopElement.idl:
              * ksvg2/bindings/idl/svg/SVGStringList.idl:
              * ksvg2/bindings/idl/svg/SVGStylable.idl:
              * ksvg2/bindings/idl/svg/SVGStyleElement.idl:
              * ksvg2/bindings/idl/svg/SVGSwitchElement.idl:
              * ksvg2/bindings/idl/svg/SVGSymbolElement.idl:
              * ksvg2/bindings/idl/svg/SVGTSpanElement.idl:
              * ksvg2/bindings/idl/svg/SVGTests.idl:
              * ksvg2/bindings/idl/svg/SVGTextContentElement.idl:
              * ksvg2/bindings/idl/svg/SVGTextElement.idl:
              * ksvg2/bindings/idl/svg/SVGTextPositioningElement.idl:
              * ksvg2/bindings/idl/svg/SVGTitleElement.idl:
              * ksvg2/bindings/idl/svg/SVGTransformList.idl:
              * ksvg2/bindings/idl/svg/SVGTransformable.idl:
              * ksvg2/bindings/idl/svg/SVGURIReference.idl:
              * ksvg2/bindings/idl/svg/SVGUnitTypes.idl:
              * ksvg2/bindings/idl/svg/SVGUseElement.idl:
              * ksvg2/bindings/idl/svg/SVGViewElement.idl:
              * ksvg2/bindings/idl/svg/SVGZoomAndPan.idl:
              * ksvg2/bindings/idl/svg/SVGZoomEvent.idl:
              * ksvg2/svg/SVGAnimatedLength.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fb5d75e
  33. 11 Jun, 2006 1 commit
    • ddkilzer's avatar
      WebCore: · 8af08626
      ddkilzer authored
              Reviewed by darin.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9394
              Fix no-SVG build
      
              * DerivedSources.make: Removed tabs. Create empty SVGElementFactory.cpp on no-svg build.
              * ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp: Added #if SVG_SUPPORT/#endif.
              * ksvg2/bindings/js/JSSVGElementWrapperFactory.h: Ditto.
              * ksvg2/bindings/idl/svg/SVGAElement.idl: Add "Conditional=SVG" to all interfaces.
              * ksvg2/bindings/idl/svg/SVGAnimateColorElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimateElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimateTransformElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedAngle.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedBoolean.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedEnumeration.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedInteger.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedLengthList.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedNumber.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedNumberList.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedPathData.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedPoints.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedPreserveAspectRatio.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedRect.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedString.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimatedTransformList.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGAnimationElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGCircleElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGClipPathElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGComponentTransferFunctionElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGCursorElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGDOMImplementation.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGDefsElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGDescElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGElementInstance.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGElementInstanceList.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGEllipseElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGEvent.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGException.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGExternalResourcesRequired.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEBlendElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEColorMatrixElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEComponentTransferElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFECompositeElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEFloodElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEFuncAElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEFuncBElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEFuncGElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEFuncRElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEGaussianBlurElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEImageElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEMergeElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEMergeNodeElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFEOffsetElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFETileElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFETurbulenceElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFilterElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFilterPrimitiveStandardAttributes.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGFitToViewBox.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGGElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGGradientElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGICCColor.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGImageElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGLangSpace.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGLengthList.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGLineElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGLinearGradientElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGLocatable.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGMarkerElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGNumberList.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPaint.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathSeg.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathSegArc.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathSegClosePath.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoCubic.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoCubicSmooth.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoQuadratic.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoQuadraticSmooth.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathSegLineto.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathSegLinetoHorizontal.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathSegLinetoVertical.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathSegList.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPathSegMoveto.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPatternElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPointList.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPolygonElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPolylineElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGPreserveAspectRatio.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGRadialGradientElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGRectElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGRenderingIntent.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGScriptElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGSetElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGStopElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGStringList.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGStylable.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGStyleElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGSwitchElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGSymbolElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGTSpanElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGTests.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGTextContentElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGTextElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGTextPositioningElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGTitleElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGTransformList.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGTransformable.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGURIReference.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGUnitTypes.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGUseElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGViewElement.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGZoomAndPan.idl: Ditto.
              * ksvg2/bindings/idl/svg/SVGZoomEvent.idl: Ditto.
              * ksvg2/svg/SVGAngle.idl: Ditto.
              * ksvg2/svg/SVGAnimatedLength.idl: Ditto.
              * ksvg2/svg/SVGColor.idl: Ditto.
              * ksvg2/svg/SVGDocument.idl: Ditto.
              * ksvg2/svg/SVGElement.idl: Ditto.
              * ksvg2/svg/SVGEvent.idl: Ditto.
              * ksvg2/svg/SVGLength.idl: Ditto.
              * ksvg2/svg/SVGMatrix.idl: Ditto.
              * ksvg2/svg/SVGNumber.idl: Ditto.
              * ksvg2/svg/SVGPoint.idl: Ditto.
              * ksvg2/svg/SVGRect.idl: Ditto.
              * ksvg2/svg/SVGSVGElement.idl: Ditto.
              * ksvg2/svg/SVGTransform.idl: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8af08626
  34. 20 Sep, 2005 1 commit
    • eseidel's avatar
      Bug #: 4946 · 51a3ef3f
      eseidel authored
      Submitted by: eseidel
      Reviewed by: mjs
              Pickup latest Ecma changes from KDE, including
              adding in the SVG ecma bindings and DOM 3 LS bindings.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=4946
      
              * WebCore.xcodeproj/project.pbxproj:
              * kdom/bindings/IDLCodeGenerator.pm:
              * kdom/bindings/IDLCodeGeneratorCpp.pm:
              * kdom/bindings/IDLCodeGeneratorEcmaInterface.pm: Added.
              * kdom/bindings/IDLCodeGeneratorJs.pm:
              * kdom/bindings/idl/core/Attr.idl:
              * kdom/bindings/idl/core/CharacterData.idl:
              * kdom/bindings/idl/core/DOMConfiguration.idl:
              * kdom/bindings/idl/core/DOMException.idl:
              * kdom/bindings/idl/core/DOMImplementation.idl:
              * kdom/bindings/idl/core/DOMImplementationList.idl: Removed.
              * kdom/bindings/idl/core/DOMImplementationSource.idl: Removed.
              * kdom/bindings/idl/core/DOMString.idl: Removed.
              * kdom/bindings/idl/core/Document.idl:
              * kdom/bindings/idl/core/Element.idl:
              * kdom/bindings/idl/core/NameList.idl: Removed.
              * kdom/bindings/idl/core/NamedNodeMap.idl:
              * kdom/bindings/idl/core/Node.idl:
              * kdom/bindings/idl/core/ProcessingInstruction.idl:
              * kdom/bindings/idl/core/Text.idl:
              * kdom/bindings/idl/core/UserDataHandler.idl: Removed.
              * kdom/bindings/idl/css/CSSCharsetRule.idl:
              * kdom/bindings/idl/css/CSSMediaRule.idl:
              * kdom/bindings/idl/css/CSSPageRule.idl:
              * kdom/bindings/idl/css/CSSPrimitiveValue.idl:
              * kdom/bindings/idl/css/CSSRule.idl:
              * kdom/bindings/idl/css/CSSStyleDeclaration.idl:
              * kdom/bindings/idl/css/CSSStyleRule.idl:
              * kdom/bindings/idl/css/CSSStyleSheet.idl:
              * kdom/bindings/idl/css/CSSValue.idl:
              * kdom/bindings/idl/css/ViewCSS.idl: Removed.
              * kdom/bindings/idl/events/DocumentEvent.idl:
              * kdom/bindings/idl/events/EventException.idl:
              * kdom/bindings/idl/events/EventTarget.idl:
              * kdom/bindings/idl/ls/DOMImplementationLS.idl: Added.
              * kdom/bindings/idl/ls/LSException.idl: Added.
              * kdom/bindings/idl/ls/LSInput.idl: Added.
              * kdom/bindings/idl/ls/LSOutput.idl: Added.
              * kdom/bindings/idl/ls/LSParser.idl: Added.
              * kdom/bindings/idl/ls/LSParserFilter.idl: Added.
              * kdom/bindings/idl/ls/LSResourceResolver.idl: Added.
              * kdom/bindings/idl/ls/LSSerializer.idl: Added.
              * kdom/bindings/idl/ls/LSSerializerFilter.idl: Added.
              * kdom/bindings/idl/ls/kdomdefs.idl: Added.
              * kdom/bindings/idl/range/Range.idl:
              * kdom/bindings/idl/range/RangeException.idl:
              * kdom/bindings/idl/stylesheets/LinkStyle.idl:
              * kdom/bindings/idl/stylesheets/MediaList.idl:
              * kdom/bindings/idl/traversal/DocumentTraversal.idl:
              * kdom/bindings/idl/traversal/NodeIterator.idl:
              * kdom/bindings/idl/traversal/TreeWalker.idl:
              * kdom/bindings/idl/xpath/XPathEvaluator.idl:
              * kdom/bindings/idl/xpath/XPathException.idl:
              * kdom/bindings/idl/xpath/XPathExpression.idl:
              * kdom/bindings/idl/xpath/XPathNSResolver.idl:
              * kdom/bindings/idl/xpath/XPathNamespace.idl:
              * kdom/bindings/idl/xpath/XPathResult.idl:
              * kdom/bindings/idl/xpointer/XPointerException.idl:
              * kdom/bindings/kdombinder.sh:
              * kdom/bindings/kdomidl.pl:
              * kdom/core/CDFInterface.cpp:
              (CDFInterface::ecmaInterface):
              * kdom/core/CDFInterface.h:
              * kdom/ecma/DOMBridge.h:
              (KDOM::DOMRWBridge::put):
              * kdom/ecma/DOMLookup.h:
              * kdom/ecma/Ecma.cpp:
              (Ecma::Private::Private):
              (Ecma::setup):
              (Ecma::setupDocument):
              (Ecma::interface):
              (Ecma::createEventListener):
              (KDOM::getDOMNode):
              (KDOM::getDOMEvent):
              * kdom/ecma/Ecma.h:
              * kdom/ecma/EcmaInterface.h: Removed.
              * kdom/ecma/GlobalObject.cpp:
              (GlobalObject::get):
              (GlobalObjectFunc::callAsFunction):
              (ScheduledAction::execute):
              (GlobalQObject::parentDestroyed):
              (GlobalQObject::clearTimeout):
              (GlobalQObject::timerEvent):
              * kdom/ecma/GlobalObject.h:
              (KDOM::GlobalObject::):
              * kdom/ecma/ScriptInterpreter.cpp:
              * khtml/khtml_part.cpp:
              (KHTMLPart::begin):
              * khtml/xml/dom_docimpl.cpp:
              (DOMImplementationImpl::createKDOMDocument):
              * khtml/xml/dom_docimpl.h:
              * ksvg2/bindings/idl/svg/GetSVGDocument.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAngle.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimateColorElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimateElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimateTransformElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedAngle.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedBoolean.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedEnumeration.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedInteger.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedLength.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedLengthList.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedNumber.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedNumberList.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedPathData.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedPoints.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedPreserveAspectRatio.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedRect.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedString.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimatedTransformList.idl: Added.
              * ksvg2/bindings/idl/svg/SVGAnimationElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGCircleElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGClipPathElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGColor.idl: Added.
              * ksvg2/bindings/idl/svg/SVGComponentTransferFunctionElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGCursorElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGDOMImplementation.idl: Added.
              * ksvg2/bindings/idl/svg/SVGDefsElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGDescElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGDocument.idl: Added.
              * ksvg2/bindings/idl/svg/SVGElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGElementInstance.idl: Added.
              * ksvg2/bindings/idl/svg/SVGElementInstanceList.idl: Added.
              * ksvg2/bindings/idl/svg/SVGEllipseElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGEvent.idl: Added.
              * ksvg2/bindings/idl/svg/SVGException.idl: Added.
              * ksvg2/bindings/idl/svg/SVGExternalResourcesRequired.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEBlendElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEColorMatrixElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEComponentTransferElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFECompositeElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEFloodElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEFuncAElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEFuncBElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEFuncGElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEFuncRElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEGaussianBlurElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEImageElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEMergeElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEMergeNodeElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFEOffsetElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFETileElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFETurbulenceElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFilterElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFilterPrimitiveStandardAttributes.idl: Added.
              * ksvg2/bindings/idl/svg/SVGFitToViewBox.idl: Added.
              * ksvg2/bindings/idl/svg/SVGGElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGGradientElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGICCColor.idl: Added.
              * ksvg2/bindings/idl/svg/SVGImageElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGLangSpace.idl: Added.
              * ksvg2/bindings/idl/svg/SVGLength.idl: Added.
              * ksvg2/bindings/idl/svg/SVGLengthList.idl: Added.
              * ksvg2/bindings/idl/svg/SVGLineElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGLinearGradientElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGLocatable.idl: Added.
              * ksvg2/bindings/idl/svg/SVGMarkerElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGMatrix.idl: Added.
              * ksvg2/bindings/idl/svg/SVGNumber.idl: Added.
              * ksvg2/bindings/idl/svg/SVGNumberList.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPaint.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathSeg.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathSegArc.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathSegClosePath.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoCubic.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoCubicSmooth.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoQuadratic.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathSegCurvetoQuadraticSmooth.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathSegLineto.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathSegLinetoHorizontal.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathSegLinetoVertical.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathSegList.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPathSegMoveto.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPatternElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPoint.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPointList.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPolygonElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPolylineElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGPreserveAspectRatio.idl: Added.
              * ksvg2/bindings/idl/svg/SVGRadialGradientElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGRect.idl: Added.
              * ksvg2/bindings/idl/svg/SVGRectElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGRenderingIntent.idl: Added.
              * ksvg2/bindings/idl/svg/SVGSVGElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGScriptElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGSetElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGStopElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGStringList.idl: Added.
              * ksvg2/bindings/idl/svg/SVGStylable.idl: Added.
              * ksvg2/bindings/idl/svg/SVGStyleElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGSwitchElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGSymbolElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGTSpanElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGTests.idl: Added.
              * ksvg2/bindings/idl/svg/SVGTextContentElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGTextElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGTextPositioningElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGTitleElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGTransform.idl: Added.
              * ksvg2/bindings/idl/svg/SVGTransformList.idl: Added.
              * ksvg2/bindings/idl/svg/SVGTransformable.idl: Added.
              * ksvg2/bindings/idl/svg/SVGURIReference.idl: Added.
              * ksvg2/bindings/idl/svg/SVGUnitTypes.idl: Added.
              * ksvg2/bindings/idl/svg/SVGUseElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGViewElement.idl: Added.
              * ksvg2/bindings/idl/svg/SVGZoomAndPan.idl: Added.
              * ksvg2/bindings/idl/svg/SVGZoomEvent.idl: Added.
              * ksvg2/bindings/idl/svg/kdomdefs.idl: Added.
              * ksvg2/ecma/EcmaInterface.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51a3ef3f