- 25 Jan, 2011 1 commit
-
-
commit-queue@webkit.org authored
Reviewed by Laszlo Gombos. [Symbian] RVCT fails to compile [U|I]nt[8|16|32]Array.h https://bugs.webkit.org/show_bug.cgi?id=51873 Replace the using declaration, because it doesn't compile on RVCT, and WINSCW has the same issue. No new functionality so no new tests. * html/canvas/Int32Array.h: (WebCore::Int32Array::set): * html/canvas/Int8Array.h: (WebCore::Int8Array::set): * html/canvas/Uint16Array.h: (WebCore::Uint16Array::set): * html/canvas/Uint32Array.h: (WebCore::Uint32Array::set): * html/canvas/Uint8Array.h: (WebCore::Uint8Array::set): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Jan, 2011 1 commit
-
-
abarth@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 18 Nov, 2010 1 commit
-
-
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
-
- 14 May, 2010 1 commit
-
-
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
-
- 10 May, 2010 1 commit
-
-
kbr@google.com authored
Reviewed by Dimitri Glazkov. Refactor WebGLArray types to share more code https://bugs.webkit.org/show_bug.cgi?id=37712 Refactored WebGLArray types for maximal code sharing. Added WebGLTypedArrayBase and WebGLIntegralTypedArrayBase template superclasses. Changed overridden virtuals to have minimal visibility (private instead of public). Fixed const correctness of a few methods. There are no changes to the public APIs of the WebGLArray classes; the JavaScript bindings are unchanged. No new tests; existing tests cover this functionality. Ran all WebGL layout tests in Safari and Chromium on Mac OS X. * WebCore.gypi: * WebCore.xcodeproj/project.pbxproj: * html/canvas/WebGLArray.h: (WebCore::WebGLArray::buffer): (WebCore::WebGLArray::baseAddress): (WebCore::WebGLArray::byteOffset): * html/canvas/WebGLByteArray.cpp: (WebCore::WebGLByteArray::create): (WebCore::WebGLByteArray::WebGLByteArray): (WebCore::WebGLByteArray::slice): * html/canvas/WebGLByteArray.h: (WebCore::WebGLByteArray::isByteArray): * html/canvas/WebGLFloatArray.cpp: (WebCore::WebGLFloatArray::create): (WebCore::WebGLFloatArray::WebGLFloatArray): (WebCore::WebGLFloatArray::slice): * html/canvas/WebGLFloatArray.h: (WebCore::WebGLFloatArray::set): (WebCore::WebGLFloatArray::item): (WebCore::WebGLFloatArray::isFloatArray): * html/canvas/WebGLIntArray.cpp: (WebCore::WebGLIntArray::create): (WebCore::WebGLIntArray::WebGLIntArray): (WebCore::WebGLIntArray::slice): * html/canvas/WebGLIntArray.h: (WebCore::WebGLIntArray::isIntArray): * html/canvas/WebGLIntegralTypedArrayBase.h: Added. (WebCore::WebGLIntegralTypedArrayBase::set): (WebCore::WebGLIntegralTypedArrayBase::item): (WebCore::WebGLIntegralTypedArrayBase::WebGLIntegralTypedArrayBase): * html/canvas/WebGLShortArray.cpp: (WebCore::WebGLShortArray::create): (WebCore::WebGLShortArray::WebGLShortArray): (WebCore::WebGLShortArray::slice): * html/canvas/WebGLShortArray.h: (WebCore::WebGLShortArray::isShortArray): * html/canvas/WebGLTypedArrayBase.h: Added. (WebCore::WebGLTypedArrayBase::data): (WebCore::WebGLTypedArrayBase::set): (WebCore::WebGLTypedArrayBase::length): (WebCore::WebGLTypedArrayBase::WebGLTypedArrayBase): (WebCore::WebGLTypedArrayBase::create): (WebCore::WebGLTypedArrayBase::sliceImpl): (WebCore::WebGLTypedArrayBase::byteLength): * html/canvas/WebGLUnsignedByteArray.cpp: (WebCore::WebGLUnsignedByteArray::create): (WebCore::WebGLUnsignedByteArray::WebGLUnsignedByteArray): (WebCore::WebGLUnsignedByteArray::slice): * html/canvas/WebGLUnsignedByteArray.h: (WebCore::WebGLUnsignedByteArray::isUnsignedByteArray): * html/canvas/WebGLUnsignedIntArray.cpp: (WebCore::WebGLUnsignedIntArray::create): (WebCore::WebGLUnsignedIntArray::WebGLUnsignedIntArray): (WebCore::WebGLUnsignedIntArray::slice): * html/canvas/WebGLUnsignedIntArray.h: (WebCore::WebGLUnsignedIntArray::isUnsignedIntArray): * html/canvas/WebGLUnsignedShortArray.cpp: (WebCore::WebGLUnsignedShortArray::create): (WebCore::WebGLUnsignedShortArray::WebGLUnsignedShortArray): (WebCore::WebGLUnsignedShortArray::slice): * html/canvas/WebGLUnsignedShortArray.h: (WebCore::WebGLUnsignedShortArray::isUnsignedShortArray): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 07 May, 2010 1 commit
-
-
kbr@google.com authored
Reviewed by Dimitri Glazkov. WebCore::WebGLUnsignedIntArrayInternal::getCallback ReadAV@Arbitrary (deef89ee3d0345edebeaf13cf974c47c) https://bugs.webkit.org/show_bug.cgi?id=38039 Web IDL now allows indexed getters and setters to be unnamed. Per discussion in WebGL working group and recent update to spec, removed the buggy get() and single-element set() methods from the JavaScript bindings to the WebGL array types. Refactored set() implementation in JSC bindings to share more code and modified V8 binding to look more like it. Added unit tests for indexed getter with out-of-range indices and verifying removal of get and single-element set methods. Updated existing WebGL array tests. Tests: fast/canvas/webgl/array-get-and-set-method-removal.html fast/canvas/webgl/array-get-out-of-bounds.html * bindings/js/JSWebGLArrayHelper.h: (WebCore::setWebGLArrayHelper): * bindings/js/JSWebGLByteArrayCustom.cpp: (WebCore::JSWebGLByteArray::set): * bindings/js/JSWebGLFloatArrayCustom.cpp: (WebCore::JSWebGLFloatArray::set): * bindings/js/JSWebGLIntArrayCustom.cpp: (WebCore::JSWebGLIntArray::set): * bindings/js/JSWebGLShortArrayCustom.cpp: (WebCore::JSWebGLShortArray::set): * bindings/js/JSWebGLUnsignedByteArrayCustom.cpp: (WebCore::JSWebGLUnsignedByteArray::set): * bindings/js/JSWebGLUnsignedIntArrayCustom.cpp: (WebCore::JSWebGLUnsignedIntArray::set): * bindings/js/JSWebGLUnsignedShortArrayCustom.cpp: (WebCore::JSWebGLUnsignedShortArray::set): * bindings/v8/custom/V8WebGLArrayCustom.h: (WebCore::setWebGLArrayHelper): * bindings/v8/custom/V8WebGLByteArrayCustom.cpp: (WebCore::V8WebGLByteArray::setCallback): * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp: (WebCore::V8WebGLFloatArray::setCallback): * bindings/v8/custom/V8WebGLIntArrayCustom.cpp: (WebCore::V8WebGLIntArray::setCallback): * bindings/v8/custom/V8WebGLShortArrayCustom.cpp: (WebCore::V8WebGLShortArray::setCallback): * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp: (WebCore::V8WebGLUnsignedByteArray::setCallback): * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp: (WebCore::V8WebGLUnsignedIntArray::setCallback): * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp: (WebCore::V8WebGLUnsignedShortArray::setCallback): * html/canvas/WebGLByteArray.h: * html/canvas/WebGLByteArray.idl: * html/canvas/WebGLFloatArray.h: * html/canvas/WebGLFloatArray.idl: * html/canvas/WebGLIntArray.h: * html/canvas/WebGLIntArray.idl: * html/canvas/WebGLShortArray.h: * html/canvas/WebGLShortArray.idl: * html/canvas/WebGLUnsignedByteArray.h: * html/canvas/WebGLUnsignedByteArray.idl: * html/canvas/WebGLUnsignedIntArray.h: * html/canvas/WebGLUnsignedIntArray.idl: * html/canvas/WebGLUnsignedShortArray.h: * html/canvas/WebGLUnsignedShortArray.idl: 2010-05-06 Kenneth Russell <kbr@google.com> Reviewed by Dimitri Glazkov. WebCore::WebGLUnsignedIntArrayInternal::getCallback ReadAV@Arbitrary (deef89ee3d0345edebeaf13cf974c47c) https://bugs.webkit.org/show_bug.cgi?id=38039 Web IDL now allows indexed getters and setters to be unnamed. Per discussion in WebGL working group and recent update to spec, removed the buggy get() and single-element set() methods from the JavaScript bindings to the WebGL array types. Refactored set() implementation in JSC bindings to share more code and modified V8 binding to look more like it. Added unit tests for indexed getter with out-of-range indices and verifying removal of get and single-element set methods. Updated existing WebGL array tests. * fast/canvas/webgl/array-get-and-set-method-removal-expected.txt: Added. * fast/canvas/webgl/array-get-and-set-method-removal.html: Added. * fast/canvas/webgl/array-get-out-of-bounds-expected.txt: Added. * fast/canvas/webgl/array-get-out-of-bounds.html: Added. * fast/canvas/webgl/array-setters-expected.txt: * fast/canvas/webgl/array-setters.html: * fast/canvas/webgl/array-unit-tests-expected.txt: * fast/canvas/webgl/array-unit-tests.html: * fast/canvas/webgl/bug-32456-expected.txt: * fast/canvas/webgl/bug-32456.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58957 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 Mar, 2010 1 commit
-
-
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
-
- 01 Mar, 2010 1 commit
-
-
kbr@google.com authored
Reviewed by Oliver Hunt. Integer overflow in WebGL arrays https://bugs.webkit.org/show_bug.cgi?id=35241 Test: fast/canvas/webgl/webgl-array-invalid-ranges.html * bindings/js/JSWebGLArrayBufferConstructor.cpp: (WebCore::constructCanvasArrayBuffer): * bindings/js/JSWebGLArrayBufferConstructor.h: (WebCore::construct): * bindings/js/JSWebGLArrayHelper.h: (WebCore::setWebGLArrayFromArray): * bindings/js/JSWebGLByteArrayConstructor.cpp: (WebCore::constructCanvasByteArray): * bindings/js/JSWebGLFloatArrayConstructor.cpp: (WebCore::constructCanvasFloatArray): * bindings/js/JSWebGLIntArrayConstructor.cpp: (WebCore::constructCanvasIntArray): * bindings/js/JSWebGLShortArrayConstructor.cpp: (WebCore::constructCanvasShortArray): * bindings/js/JSWebGLUnsignedByteArrayConstructor.cpp: (WebCore::constructCanvasUnsignedByteArray): * bindings/js/JSWebGLUnsignedIntArrayConstructor.cpp: (WebCore::constructCanvasUnsignedIntArray): * bindings/js/JSWebGLUnsignedShortArrayConstructor.cpp: (WebCore::constructCanvasUnsignedShortArray): * bindings/v8/V8Binding.cpp: (WebCore::toUInt32): * bindings/v8/V8Binding.h: (WebCore::toUInt32): * bindings/v8/custom/V8WebGLArrayBufferCustom.cpp: (WebCore::V8WebGLArrayBuffer::constructorCallback): * bindings/v8/custom/V8WebGLArrayCustom.h: (WebCore::constructWebGLArray): (WebCore::getWebGLArrayElement): (WebCore::setWebGLArrayFromArray): (WebCore::setWebGLArray): * bindings/v8/custom/V8WebGLByteArrayCustom.cpp: (WebCore::V8WebGLByteArray::constructorCallback): * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp: (WebCore::V8WebGLFloatArray::constructorCallback): * bindings/v8/custom/V8WebGLIntArrayCustom.cpp: (WebCore::V8WebGLIntArray::constructorCallback): * bindings/v8/custom/V8WebGLShortArrayCustom.cpp: (WebCore::V8WebGLShortArray::constructorCallback): * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp: (WebCore::V8WebGLUnsignedByteArray::constructorCallback): * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp: (WebCore::V8WebGLUnsignedIntArray::constructorCallback): * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp: (WebCore::V8WebGLUnsignedShortArray::constructorCallback): * html/canvas/WebGLArray.cpp: (WebCore::WebGLArray::setImpl): * html/canvas/WebGLArray.h: (WebCore::WebGLArray::verifySubRange): (WebCore::WebGLArray::clampOffsetAndNumElements): * html/canvas/WebGLArrayBuffer.cpp: (WebCore::WebGLArrayBuffer::create): (WebCore::WebGLArrayBuffer::WebGLArrayBuffer): (WebCore::WebGLArrayBuffer::tryAllocate): * html/canvas/WebGLArrayBuffer.h: * html/canvas/WebGLByteArray.cpp: (WebCore::WebGLByteArray::create): (WebCore::WebGLByteArray::WebGLByteArray): (WebCore::WebGLByteArray::slice): * html/canvas/WebGLByteArray.h: * html/canvas/WebGLFloatArray.cpp: (WebCore::WebGLFloatArray::create): (WebCore::WebGLFloatArray::WebGLFloatArray): (WebCore::WebGLFloatArray::slice): * html/canvas/WebGLFloatArray.h: * html/canvas/WebGLIntArray.cpp: (WebCore::WebGLIntArray::create): (WebCore::WebGLIntArray::WebGLIntArray): (WebCore::WebGLIntArray::slice): * html/canvas/WebGLIntArray.h: * html/canvas/WebGLShortArray.cpp: (WebCore::WebGLShortArray::create): (WebCore::WebGLShortArray::WebGLShortArray): (WebCore::WebGLShortArray::slice): * html/canvas/WebGLShortArray.h: * html/canvas/WebGLUnsignedByteArray.cpp: (WebCore::WebGLUnsignedByteArray::create): (WebCore::WebGLUnsignedByteArray::WebGLUnsignedByteArray): (WebCore::WebGLUnsignedByteArray::slice): * html/canvas/WebGLUnsignedByteArray.h: * html/canvas/WebGLUnsignedIntArray.cpp: (WebCore::WebGLUnsignedIntArray::create): (WebCore::WebGLUnsignedIntArray::WebGLUnsignedIntArray): (WebCore::WebGLUnsignedIntArray::slice): * html/canvas/WebGLUnsignedIntArray.h: * html/canvas/WebGLUnsignedShortArray.cpp: (WebCore::WebGLUnsignedShortArray::create): (WebCore::WebGLUnsignedShortArray::WebGLUnsignedShortArray): (WebCore::WebGLUnsignedShortArray::slice): * html/canvas/WebGLUnsignedShortArray.h: 2010-03-01 Kenneth Russell <kbr@google.com> Reviewed by Oliver Hunt. Integer overflow in WebGL arrays https://bugs.webkit.org/show_bug.cgi?id=35241 * fast/canvas/webgl/array-unit-tests-expected.txt: * fast/canvas/webgl/array-unit-tests.html: * fast/canvas/webgl/webgl-array-invalid-ranges-expected.txt: Added. * fast/canvas/webgl/webgl-array-invalid-ranges.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 Nov, 2009 1 commit
-
-
cmarrin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=31175 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 Nov, 2009 1 commit
-
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=29095 Reviewed by Maciej Stachowiak. Automatic rename of all WebGL related types from Canvas* to WebGL* per more recent version of the WebGL spec. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Oct, 2009 1 commit
-
-
cmarrin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=30236 This causes image to always render correctly. In writing a testcase I needed to implement readPixels. This exposed a bug in reading back values from a CanvasArray subclass, so I fixed that as well. Now when you wrap a CanvasArray in a JSValue it actually wraps the specific subclass. To do this I need to add virtual methods to each CanvasArray subclass to determine the type and a custom toJS method for CanvasArray to create the proper wrapper. Test: fast/canvas/webgl/triangle.html git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Oct, 2009 1 commit
-
-
eric@webkit.org authored
Reviewed by Mark Rowe. Include <limits> for std::numeric_limits. Required by gcc-4.4 https://bugs.webkit.org/show_bug.cgi?id=30197 * html/canvas/CanvasByteArray.h: * html/canvas/CanvasIntArray.h: * html/canvas/CanvasShortArray.h: * html/canvas/CanvasUnsignedByteArray.h: * html/canvas/CanvasUnsignedIntArray.h: * html/canvas/CanvasUnsignedShortArray.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 11 Sep, 2009 1 commit
-
-
cmarrin@apple.com authored
Added variants to uniform* and vertexAttrib* calls which take sequence<> in place of CanvasArray https://bugs.webkit.org/show_bug.cgi?id=29139 I also added a data() call to each of the CanvasArray subclasses to give back a types pointer to the baseAddress(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Sep, 2009 2 commits
-
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=29067 Reviewed by Sam Weinig. Add HasNumericIndexGetter to indicate a non-custom getter that returns a number. The numeric index getter also uses PropertySlot's setValue rather than setCustomIndex to avoid an additional indirect call. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=29010 This adds several new CanvasXXXArray classes each of which has a custom constructor and custom getters and setters. Also changed CanvasRenderingContext3D and GraphicsContext3D to match the new and changed API. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 24 Aug, 2009 1 commit
-
-
cmarrin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=28018 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Aug, 2009 1 commit
-
-
cmarrin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=28018 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 20 Feb, 2008 1 commit
-
-
andersca@apple.com authored
Change all refcounted classes in page/ to start with a refcount of 1. * page/BarInfo.cpp: (WebCore::BarInfo::BarInfo): * page/BarInfo.h: (WebCore::BarInfo::create): * page/Console.cpp: (WebCore::Console::Console): * page/Console.h: (WebCore::Console::create): * page/DOMSelection.cpp: (WebCore::DOMSelection::DOMSelection): * page/DOMSelection.h: (WebCore::DOMSelection::create): * page/DOMWindow.cpp: (WebCore::DOMWindow::DOMWindow): (WebCore::DOMWindow::screen): (WebCore::DOMWindow::history): (WebCore::DOMWindow::locationbar): (WebCore::DOMWindow::menubar): (WebCore::DOMWindow::personalbar): (WebCore::DOMWindow::scrollbars): (WebCore::DOMWindow::statusbar): (WebCore::DOMWindow::toolbar): (WebCore::DOMWindow::console): (WebCore::DOMWindow::getSelection): * page/DOMWindow.h: ...
-
- 13 Nov, 2007 2 commits
-
-
ggaren@apple.com authored
Reviewed by Anders Carlsson. Renamed Shared to RefCounted. * API/JSClassRef.h: * JavaScriptCore.xcodeproj/project.pbxproj: * kjs/interpreter.h: * kjs/regexp.h: * wtf/RefCounted.h: Copied from JavaScriptCore/wtf/Shared.h. (WTF::RefCounted::RefCounted): * wtf/Shared.h: Removed. JavaScriptGlue: Reviewed by Anders Carlsson. Renamed Shared to RefCounted. * ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/Shared.h. * ForwardingHeaders/wtf/Shared.h: Removed. WebCore: Reviewed by Anders Carlsson. Renamed Shared to RefCounted. * ForwardingHeaders/wtf/RefCounted.h: Copied from WebCore/ForwardingHeaders/wtf/Shared.h. * ForwardingHeaders/wtf/Shared.h: Removed. * bindings/js/JSSVGPODTypeWrapper.h: * css/CSSFontFace.h: * css/CSSRuleList.h: * css/Counter.h: * css/Pair.h: * css/Rect.h: * css/StyleBase.h: * css/StyleSheetList.h: * dom/Attribute.h: * dom/Clipboard.h: * dom/DOMImplementation.h: * dom/Event.h: * dom/EventListener.h: * dom/NamedNodeMap.h: * dom/NodeFilter.h: * dom/NodeFilterCondition.h: * dom/NodeList.h: * dom/QualifiedName.h: * dom/Range.h: * dom/RangeException.h: * dom/RegisteredEventListener.h: * dom/Traversal.h: * editing/EditCommand.h: * history/BackForwardList.h: * history/CachedPage.h: * history/HistoryItem.cpp: (WebCore::HistoryItem::HistoryItem): * history/HistoryItem.h: * html/CanvasGradient.h: * html/CanvasPattern.h: * html/CanvasRenderingContext2D.h: * html/CanvasStyle.h: * html/HTMLCollection.h: * html/MediaError.h: * html/TimeRanges.h: * html/VoidCallback.h: * ksvg2/css/SVGRenderStyle.cpp: (WebCore::SVGRenderStyle::SVGRenderStyle): * ksvg2/css/SVGRenderStyle.h: * ksvg2/css/SVGRenderStyleDefs.cpp: (StyleFillData::StyleFillData): (StyleStrokeData::StyleStrokeData): (StyleStopData::StyleStopData): (StyleTextData::StyleTextData): (StyleClipData::StyleClipData): (StyleMaskData::StyleMaskData): (StyleMarkerData::StyleMarkerData): (StyleMiscData::StyleMiscData): * ksvg2/css/SVGRenderStyleDefs.h: * ksvg2/svg/SVGAngle.cpp: (WebCore::SVGAngle::SVGAngle): * ksvg2/svg/SVGAngle.h: * ksvg2/svg/SVGAnimatedTemplate.h: * ksvg2/svg/SVGElementInstanceList.h: * ksvg2/svg/SVGException.h: * ksvg2/svg/SVGList.h: * ksvg2/svg/SVGPathSeg.h: * ksvg2/svg/SVGPreserveAspectRatio.cpp: (WebCore::SVGPreserveAspectRatio::SVGPreserveAspectRatio): * ksvg2/svg/SVGPreserveAspectRatio.h: * ksvg2/svg/SVGRenderingIntent.h: * ksvg2/svg/SVGTransform.h: * ksvg2/svg/SVGUnitTypes.h: * loader/DocumentLoader.h: * loader/FormState.h: * loader/ResourceLoader.h: * loader/TextResourceDecoder.h: * loader/icon/IconRecord.h: * page/BarInfo.h: * page/Console.h: * page/DOMSelection.h: * page/DOMWindow.h: * page/Frame.h: * page/History.h: * page/InspectorController.cpp: * page/Plugin.h: * page/Screen.h: * platform/ArrayImpl.h: * platform/CString.h: * platform/Cursor.h: * platform/DeprecatedValueListImpl.cpp: (WebCore::DeprecatedValueListImpl::Private::Private): * platform/FileChooser.h: * platform/FontFallbackList.h: * platform/FontFamily.cpp: (WebCore::FontFamily::FontFamily): * platform/FontFamily.h: * platform/FontSelector.h: * platform/GlyphPageTreeNode.h: * platform/PopupMenu.h: * platform/RegularExpression.cpp: * platform/ScrollBar.h: * platform/SharedBuffer.h: * platform/StringImpl.h: * platform/graphics/Icon.h: * platform/graphics/svg/SVGResource.h: * platform/network/FormData.cpp: (WebCore::FormData::FormData): * platform/network/FormData.h: * platform/network/ResourceHandle.h: * platform/network/ResourceHandleClient.h: * rendering/RenderStyle.cpp: (WebCore::StyleSurroundData::StyleSurroundData): (WebCore::StyleBoxData::StyleBoxData): (WebCore::StyleVisualData::StyleVisualData): (WebCore::StyleBackgroundData::StyleBackgroundData): (WebCore::StyleMarqueeData::StyleMarqueeData): (WebCore::StyleFlexibleBoxData::StyleFlexibleBoxData): (WebCore::StyleMultiColData::StyleMultiColData): (WebCore::StyleTransformData::StyleTransformData): (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): (WebCore::StyleRareInheritedData::StyleRareInheritedData): (WebCore::StyleInheritedData::StyleInheritedData): * rendering/RenderStyle.h: * rendering/SVGCharacterLayoutInfo.h: (WebCore::SVGCharOnPath::SVGCharOnPath): * storage/SQLResultSetRowList.h: * xml/DOMParser.h: * xml/XMLHttpRequest.h: * xml/XMLSerializer.h: * xml/XPathEvaluator.h: * xml/XPathExpression.h: * xml/XPathNSResolver.h: * xml/XPathResult.h: * xml/XPathValue.h: * xml/XSLTProcessor.h: WebKit/mac: Reviewed by Anders Carlsson. Renamed Shared to RefCounted. * ForwardingHeaders/wtf/RefCounted.h: Copied from WebKit/mac/ForwardingHeaders/wtf/Shared.h. * ForwardingHeaders/wtf/Shared.h: Removed. * WebCoreSupport/WebContextMenuClient.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ggaren@apple.com authored
Reviewed by Sam Weinig. Moved Shared.h into wtf so it could be used in more places. Deployed Shared in places where JSCore previously had hand-rolled ref-counting classes. * API/JSClassRef.cpp: (OpaqueJSClass::OpaqueJSClass): * API/JSClassRef.h: * API/JSObjectRef.cpp: (JSClassRetain): (JSClassRelease): * JavaScriptCore.vcproj/WTF/WTF.vcproj: * JavaScriptCore.xcodeproj/project.pbxproj: * kjs/interpreter.cpp: (KJS::Interpreter::init): * kjs/interpreter.h: * kjs/regexp.cpp: (KJS::RegExp::RegExp): * kjs/regexp.h: * wtf/Shared.h: Copied from WebCore/platform/Shared.h. JavaScriptGlue: Reviewed by Sam Weinig. Moved Shared.h into wtf so it could be used in more places. * ForwardingHeaders/wtf/Shared.h: Added. WebCore: Reviewed by Sam Weinig. Moved Shared.h into wtf so it could be used in more places. Retained TreeShared, but moved it to its own file, TreeShared.h. * ForwardingHeaders/wtf/Shared.h: Added. * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSSVGPODTypeWrapper.h: * css/CSSFontFace.h: * css/CSSRuleList.h: * css/Counter.h: * css/Pair.h: * css/Rect.h: * css/StyleBase.h: * css/StyleSheetList.h: * dom/Clipboard.h: * dom/DOMImplementation.h: * dom/Event.h: * dom/EventListener.h: * dom/NamedNodeMap.h: * dom/NodeFilterCondition.h: * dom/NodeList.h: * dom/Range.h: * dom/RangeException.h: * dom/RegisteredEventListener.h: * dom/Traversal.h: * history/BackForwardList.h: * history/CachedPage.h: * history/HistoryItem.h: * html/CanvasGradient.h: * html/CanvasPattern.h: * html/HTMLCollection.h: * html/MediaError.h: * html/TimeRanges.h: * html/VoidCallback.h: * ksvg2/css/SVGRenderStyleDefs.h: * ksvg2/svg/SVGAnimatedTemplate.h: * ksvg2/svg/SVGElementInstanceList.h: * ksvg2/svg/SVGList.h: * ksvg2/svg/SVGPathSeg.h: * ksvg2/svg/SVGPreserveAspectRatio.h: * ksvg2/svg/SVGRenderingIntent.h: * ksvg2/svg/SVGTransform.h: * ksvg2/svg/SVGUnitTypes.h: * loader/DocumentLoader.h: * loader/FormState.h: * loader/ResourceLoader.h: * loader/TextResourceDecoder.h: * loader/icon/IconRecord.h: * page/BarInfo.h: * page/Console.h: * page/DOMSelection.h: * page/DOMWindow.h: * page/History.h: * page/InspectorController.cpp: * page/Plugin.h: * page/Screen.h: * platform/ArrayImpl.h: * platform/CString.h: * platform/DeprecatedValueListImpl.cpp: * platform/FontFallbackList.h: * platform/FontFamily.h: * platform/FontSelector.h: * platform/GlyphPageTreeNode.h: * platform/PopupMenu.h: * platform/RegularExpression.cpp: * platform/ScrollBar.h: * platform/Shared.h: Removed. * platform/SharedBuffer.h: * platform/StringImpl.h: * platform/graphics/Icon.h: * platform/graphics/svg/SVGResource.h: * platform/network/FormData.h: * platform/network/ResourceHandleClient.h: * rendering/RenderStyle.h: * rendering/SVGCharacterLayoutInfo.h: * storage/SQLResultSetRowList.h: * xml/DOMParser.h: * xml/XMLSerializer.h: * xml/XPathEvaluator.h: * xml/XPathExpression.h: * xml/XPathNSResolver.h: * xml/XPathResult.h: WebKit/mac: Reviewed by Sam Weinig. Moved Shared.h into wtf so it could be used in more places. * ChangeLog: * WebCoreSupport/WebContextMenuClient.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 Jun, 2007 1 commit
-
-
weinig authored
Patch for http://bugs.webkit.org/show_bug.cgi?id=14226 Move the History object out of the JS bindings - Autogenerate JSHistory. * DerivedSources.make: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/kjs_window.cpp: (KJS::WindowPrivate::WindowPrivate): (KJS::Window::mark): (KJS::Window::getValueProperty): (KJS::Window::clearHelperObjectProperties): (KJS::Window::disconnectFrame): * bindings/js/kjs_window.h: (KJS::Window::): * bridge/GlobalHistory.h: Copied from WebCore/bridge/History.h. * bridge/History.h: Removed. * bridge/mac/GlobalHistoryMac.mm: Copied from WebCore/bridge/mac/HistoryMac.mm. * bridge/mac/HistoryMac.mm: Removed. * bridge/win/GlobalHistoryWin.cpp: Copied from WebCore/bridge/win/HistoryWin.cpp. * bridge/win/HistoryWin.cpp: Removed. * css/cssstyleselector.cpp: * page/DOMWindow.cpp: (WebCore::DOMWindow::disconnectFrame): (WebCore::DOMWindow::history): * page/DOMWindow.h: * page/DOMWindow.idl: * page/History.cpp: Added. (WebCore::History::History): (WebCore::History::frame): (WebCore::History::disconnectFrame): (WebCore::History::length): (WebCore::History::back): (WebCore::History::forward): (WebCore::History::go): * page/History.h: Added. * page/History.idl: Added. * platform/gdk/TemporaryLinkStubs.cpp: * platform/qt/TemporaryLinkStubs.cpp: * platform/wx/TemporaryLinkStubs.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 15 Jan, 2007 1 commit
-
-
eseidel authored
Reviewed by bdash. Update header guards to follow new style guidelines using new clean-header-guards script. * bindings/js/JSHTMLElementWrapperFactory.h: * bindings/js/JSHTMLInputElementBase.h: * bindings/js/JSHTMLOptionElementConstructor.h: * bindings/js/JSSVGElementWrapperFactory.h: * bindings/js/JSSVGPODTypeWrapper.h: * bindings/js/JSXMLHttpRequest.h: * bindings/js/JSXSLTProcessor.h: * bindings/js/kjs_binding.h: * bindings/js/kjs_css.h: * bindings/js/kjs_dom.h: * bindings/js/kjs_domnode.h: * bindings/js/kjs_events.h: * bindings/js/kjs_html.h: * bindings/js/kjs_navigator.h: * bindings/js/kjs_proxy.h: * bindings/js/kjs_traversal.h: * bindings/js/kjs_window.h: * bridge/EditorClient.h: * bridge/History.h: * css/CSSStyleSheet.h: * css/CSSValue.h: * css/CSSValueList.h: * css/DashboardRegion.h: * css/FontFamilyValue.h: * css/FontValue.h: * css/MediaFeatureNames.h: * css/MediaList.h: * css/Pair.h: * css/RectImpl.h: * css/ShadowValue.h: * css/StyleBase.h: * css/StyleList.h: * css/StyleSheet.h: * css/StyleSheetList.h: * css/cssstyleselector.h: * dom/BeforeTextInsertedEvent.h: * dom/CDATASection.h: * dom/CharacterData.h: * dom/ChildNodeList.h: * dom/Comment.h: * dom/DOMImplementation.h: * dom/DocPtr.h: * dom/Document.h: * dom/DocumentFragment.h: * dom/DocumentMarker.h: * dom/DocumentType.h: * dom/EditingText.h: * dom/Entity.h: * dom/EntityReference.h: * dom/EventNames.h: * dom/EventTargetNode.h: * dom/NameNodeList.h: * dom/NamedNodeMap.h: * dom/Node.h: * dom/NodeList.h: * dom/Notation.h: * dom/Position.h: * dom/ProcessingInstruction.h: * dom/Range.h: * dom/StyleElement.h: * dom/Text.h: * editing/AppendNodeCommand.h: * editing/ApplyStyleCommand.h: * editing/BreakBlockquoteCommand.h: * editing/CommandByName.h: * editing/CompositeEditCommand.h: * editing/DeleteButton.h: * editing/DeleteButtonController.h: * editing/DeleteFromTextNodeCommand.h: * editing/DeleteSelectionCommand.h: * editing/InsertIntoTextNodeCommand.h: * editing/InsertLineBreakCommand.h: * editing/InsertNodeBeforeCommand.h: * editing/InsertParagraphSeparatorCommand.h: * editing/InsertTextCommand.h: * editing/JoinTextNodesCommand.h: * editing/MergeIdenticalElementsCommand.h: * editing/ModifySelectionListLevel.h: * editing/MoveSelectionCommand.h: * editing/RemoveCSSPropertyCommand.h: * editing/RemoveNodeAttributeCommand.h: * editing/RemoveNodeCommand.h: * editing/RemoveNodePreservingChildrenCommand.h: * editing/ReplaceSelectionCommand.h: * editing/SetNodeAttributeCommand.h: * editing/SplitElementCommand.h: * editing/SplitTextNodeCommand.h: * editing/SplitTextNodeContainingElementCommand.h: * editing/TextGranularity.h: * editing/TypingCommand.h: * editing/WrapContentsInDummySpanCommand.h: * history/BackForwardList.h: * history/HistoryItem.h: * history/HistoryItemTimer.h: * history/PageCache.h: * html/CanvasGradient.h: * html/CanvasPattern.h: * html/CanvasRenderingContext2D.h: * html/CanvasStyle.h: * html/FormDataList.h: * html/HTMLAnchorElement.h: * html/HTMLAppletElement.h: * html/HTMLAreaElement.h: * html/HTMLBRElement.h: * html/HTMLBaseElement.h: * html/HTMLBaseFontElement.h: * html/HTMLBlockquoteElement.h: * html/HTMLBodyElement.h: * html/HTMLButtonElement.h: * html/HTMLCanvasElement.h: * html/HTMLCollection.h: * html/HTMLDListElement.h: * html/HTMLDirectoryElement.h: * html/HTMLDivElement.h: * html/HTMLElement.h: * html/HTMLElementFactory.h: * html/HTMLEmbedElement.h: * html/HTMLFieldSetElement.h: * html/HTMLFontElement.h: * html/HTMLFormCollection.h: * html/HTMLFormElement.h: * html/HTMLFrameSetElement.h: * html/HTMLGenericFormElement.h: * html/HTMLHRElement.h: * html/HTMLHeadElement.h: * html/HTMLHeadingElement.h: * html/HTMLHtmlElement.h: * html/HTMLImageElement.h: * html/HTMLImageLoader.h: * html/HTMLInputElement.h: * html/HTMLIsIndexElement.h: * html/HTMLKeygenElement.h: * html/HTMLLIElement.h: * html/HTMLLabelElement.h: * html/HTMLLegendElement.h: * html/HTMLLinkElement.h: * html/HTMLMapElement.h: * html/HTMLMarqueeElement.h: * html/HTMLMenuElement.h: * html/HTMLMetaElement.h: * html/HTMLModElement.h: * html/HTMLNameCollection.h: * html/HTMLOListElement.h: * html/HTMLObjectElement.h: * html/HTMLOptGroupElement.h: * html/HTMLOptionElement.h: * html/HTMLOptionsCollection.h: * html/HTMLParagraphElement.h: * html/HTMLParamElement.h: * html/HTMLParser.h: * html/HTMLPlugInElement.h: * html/HTMLPreElement.h: * html/HTMLQuoteElement.h: * html/HTMLScriptElement.h: * html/HTMLSelectElement.h: * html/HTMLStyleElement.h: * html/HTMLTableCaptionElement.h: * html/HTMLTableCellElement.h: * html/HTMLTableColElement.h: * html/HTMLTableElement.h: * html/HTMLTablePartElement.h: * html/HTMLTableRowElement.h: * html/HTMLTableSectionElement.h: * html/HTMLTextAreaElement.h: * html/HTMLTextFieldInnerElement.h: * html/HTMLTitleElement.h: * html/HTMLUListElement.h: * ksvg2/css/SVGRenderStyle.h: * ksvg2/css/SVGRenderStyleDefs.h: * ksvg2/events/JSSVGLazyEventListener.h: * ksvg2/events/SVGZoomEvent.h: * ksvg2/misc/KCanvasRenderingStyle.h: * ksvg2/misc/PointerEventsHitRules.h: * ksvg2/misc/SVGDocumentExtensions.h: * ksvg2/misc/SVGImageLoader.h: * ksvg2/misc/TimeScheduler.h: * ksvg2/svg/GradientAttributes.h: * ksvg2/svg/LinearGradientAttributes.h: * ksvg2/svg/PatternAttributes.h: * ksvg2/svg/RadialGradientAttributes.h: * ksvg2/svg/SVGAElement.h: * ksvg2/svg/SVGAngle.h: * ksvg2/svg/SVGAnimateColorElement.h: * ksvg2/svg/SVGAnimateElement.h: * ksvg2/svg/SVGAnimateMotionElement.h: * ksvg2/svg/SVGAnimateTransformElement.h: * ksvg2/svg/SVGAnimatedPathData.h: * ksvg2/svg/SVGAnimatedPoints.h: * ksvg2/svg/SVGAnimatedTemplate.h: * ksvg2/svg/SVGAnimationElement.h: * ksvg2/svg/SVGCircleElement.h: * ksvg2/svg/SVGClipPathElement.h: * ksvg2/svg/SVGColor.h: * ksvg2/svg/SVGComponentTransferFunctionElement.h: * ksvg2/svg/SVGCursorElement.h: * ksvg2/svg/SVGDOMImplementation.h: * ksvg2/svg/SVGDefsElement.h: * ksvg2/svg/SVGDescElement.h: * ksvg2/svg/SVGDocument.h: * ksvg2/svg/SVGElement.h: * ksvg2/svg/SVGElementInstance.h: * ksvg2/svg/SVGElementInstanceList.h: * ksvg2/svg/SVGEllipseElement.h: * ksvg2/svg/SVGExternalResourcesRequired.h: * ksvg2/svg/SVGFEBlendElement.h: * ksvg2/svg/SVGFEColorMatrixElement.h: * ksvg2/svg/SVGFEComponentTransferElement.h: * ksvg2/svg/SVGFECompositeElement.h: * ksvg2/svg/SVGFEDiffuseLightingElement.h: * ksvg2/svg/SVGFEDisplacementMapElement.h: * ksvg2/svg/SVGFEDistantLightElement.h: * ksvg2/svg/SVGFEFloodElement.h: * ksvg2/svg/SVGFEFuncAElement.h: * ksvg2/svg/SVGFEFuncBElement.h: * ksvg2/svg/SVGFEFuncGElement.h: * ksvg2/svg/SVGFEFuncRElement.h: * ksvg2/svg/SVGFEGaussianBlurElement.h: * ksvg2/svg/SVGFEImageElement.h: * ksvg2/svg/SVGFELightElement.h: * ksvg2/svg/SVGFEMergeElement.h: * ksvg2/svg/SVGFEMergeNodeElement.h: * ksvg2/svg/SVGFEOffsetElement.h: * ksvg2/svg/SVGFEPointLightElement.h: * ksvg2/svg/SVGFESpecularLightingElement.h: * ksvg2/svg/SVGFESpotLightElement.h: * ksvg2/svg/SVGFETileElement.h: * ksvg2/svg/SVGFETurbulenceElement.h: * ksvg2/svg/SVGFilterElement.h: * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h: * ksvg2/svg/SVGFitToViewBox.h: * ksvg2/svg/SVGForeignObjectElement.h: * ksvg2/svg/SVGGElement.h: * ksvg2/svg/SVGGradientElement.h: * ksvg2/svg/SVGImageElement.h: * ksvg2/svg/SVGLangSpace.h: * ksvg2/svg/SVGLength.h: * ksvg2/svg/SVGLengthList.h: * ksvg2/svg/SVGLineElement.h: * ksvg2/svg/SVGLinearGradientElement.h: * ksvg2/svg/SVGList.h: * ksvg2/svg/SVGListTraits.h: * ksvg2/svg/SVGLocatable.h: * ksvg2/svg/SVGMarkerElement.h: * ksvg2/svg/SVGMaskElement.h: * ksvg2/svg/SVGMetadataElement.h: * ksvg2/svg/SVGNumberList.h: * ksvg2/svg/SVGPaint.h: * ksvg2/svg/SVGParserUtilities.h: * ksvg2/svg/SVGPathElement.h: * ksvg2/svg/SVGPathSeg.h: * ksvg2/svg/SVGPathSegArc.h: * ksvg2/svg/SVGPathSegClosePath.h: * ksvg2/svg/SVGPathSegCurvetoCubic.h: * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h: * ksvg2/svg/SVGPathSegCurvetoQuadratic.h: * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h: * ksvg2/svg/SVGPathSegLineto.h: * ksvg2/svg/SVGPathSegLinetoHorizontal.h: * ksvg2/svg/SVGPathSegLinetoVertical.h: * ksvg2/svg/SVGPathSegList.h: * ksvg2/svg/SVGPathSegMoveto.h: * ksvg2/svg/SVGPatternElement.h: * ksvg2/svg/SVGPointList.h: * ksvg2/svg/SVGPolyElement.h: * ksvg2/svg/SVGPolygonElement.h: * ksvg2/svg/SVGPolylineElement.h: * ksvg2/svg/SVGPreserveAspectRatio.h: * ksvg2/svg/SVGRadialGradientElement.h: * ksvg2/svg/SVGRectElement.h: * ksvg2/svg/SVGRenderingIntent.h: * ksvg2/svg/SVGSVGElement.h: * ksvg2/svg/SVGScriptElement.h: * ksvg2/svg/SVGSetElement.h: * ksvg2/svg/SVGStopElement.h: * ksvg2/svg/SVGStringList.h: * ksvg2/svg/SVGStylable.h: * ksvg2/svg/SVGStyleElement.h: * ksvg2/svg/SVGStyledElement.h: * ksvg2/svg/SVGStyledLocatableElement.h: * ksvg2/svg/SVGStyledTransformableElement.h: * ksvg2/svg/SVGSwitchElement.h: * ksvg2/svg/SVGSymbolElement.h: * ksvg2/svg/SVGTRefElement.h: * ksvg2/svg/SVGTSpanElement.h: * ksvg2/svg/SVGTests.h: * ksvg2/svg/SVGTextContentElement.h: * ksvg2/svg/SVGTextElement.h: * ksvg2/svg/SVGTextPositioningElement.h: * ksvg2/svg/SVGTitleElement.h: * ksvg2/svg/SVGTransform.h: * ksvg2/svg/SVGTransformList.h: * ksvg2/svg/SVGTransformable.h: * ksvg2/svg/SVGURIReference.h: * ksvg2/svg/SVGUnitTypes.h: * ksvg2/svg/SVGUseElement.h: * ksvg2/svg/SVGViewElement.h: * ksvg2/svg/SVGZoomAndPan.h: * loader/CachedCSSStyleSheet.h: * loader/CachedImage.h: * loader/CachedXSLStyleSheet.h: * loader/DocumentLoader.h: * loader/Request.h: * loader/SubresourceLoader.h: * loader/icon/IconDataCache.h: * loader/icon/IconDatabase.h: * loader/icon/IconLoader.h: * loader/icon/SQLDatabase.h: * loader/icon/SQLStatement.h: * loader/icon/SQLTransaction.h: * page/Frame.h: * page/FrameLoadRequest.h: * page/FrameTree.h: * page/FrameView.h: * page/PageState.h: * page/Plugin.h: * page/qt/FrameQt.h: * page/qt/FrameQtClient.h: * platform/Arena.h: * platform/ArrayImpl.h: * platform/Cursor.h: * platform/DeprecatedArray.h: * platform/DeprecatedCString.h: * platform/FileChooser.h: * platform/Font.h: * platform/FontCache.h: * platform/FontData.h: * platform/FontDescription.h: * platform/FontFamily.h: * platform/GlyphBuffer.h: * platform/GlyphMap.h: * platform/GlyphWidthMap.h: * platform/Logging.h: * platform/Pasteboard.h: * platform/PlatformString.h: * platform/PlugInInfoStore.h: * platform/PopupMenu.h: * platform/PopupMenuClient.h: * platform/ScrollBar.h: * platform/ScrollView.h: * platform/SearchPopupMenu.h: * platform/Shared.h: * platform/Sound.h: * platform/SystemTime.h: * platform/Timer.h: * platform/Widget.h: * platform/cf/RetainPtr.h: * platform/gdk/ChromeClientGdk.h: * platform/gdk/FontPlatformData.h: * platform/gdk/FrameGdk.h: * platform/gdk/KeyboardCodes.h: * platform/gdk/RenderPopupMenuGdk.h: * platform/gdk/RenderThemeGdk.h: * platform/graphics/BitmapImage.h: * platform/graphics/Color.h: * platform/graphics/FloatPoint.h: * platform/graphics/FloatPoint3D.h: * platform/graphics/FloatRect.h: * platform/graphics/Icon.h: * platform/graphics/Image.h: * platform/graphics/ImageAnimationObserver.h: * platform/graphics/ImageBuffer.h: * platform/graphics/ImageSource.h: * platform/graphics/IntPoint.h: * platform/graphics/IntRect.h: * platform/graphics/IntSize.h: * platform/graphics/IntSizeHash.h: * platform/graphics/PathTraversalState.h: * platform/graphics/Pen.h: * platform/graphics/qt/ImageDecoderQt.h: * platform/graphics/svg/SVGImage.h: * platform/graphics/svg/SVGImageEmptyClients.h: * platform/graphics/svg/SVGPaintServer.h: * platform/graphics/svg/SVGPaintServerGradient.h: * platform/graphics/svg/SVGPaintServerLinearGradient.h: * platform/graphics/svg/SVGPaintServerPattern.h: * platform/graphics/svg/SVGPaintServerRadialGradient.h: * platform/graphics/svg/SVGPaintServerSolid.h: * platform/graphics/svg/SVGResource.h: * platform/graphics/svg/SVGResourceClipper.h: * platform/graphics/svg/SVGResourceFilter.h: * platform/graphics/svg/SVGResourceMarker.h: * platform/graphics/svg/SVGResourceMasker.h: * platform/graphics/svg/cg/CgSupport.h: * platform/graphics/svg/filters/SVGDistantLightSource.h: * platform/graphics/svg/filters/SVGFEBlend.h: * platform/graphics/svg/filters/SVGFEColorMatrix.h: * platform/graphics/svg/filters/SVGFEComponentTransfer.h: * platform/graphics/svg/filters/SVGFEComposite.h: * platform/graphics/svg/filters/SVGFEConvolveMatrix.h: * platform/graphics/svg/filters/SVGFEDiffuseLighting.h: * platform/graphics/svg/filters/SVGFEDisplacementMap.h: * platform/graphics/svg/filters/SVGFEFlood.h: * platform/graphics/svg/filters/SVGFEGaussianBlur.h: * platform/graphics/svg/filters/SVGFEImage.h: * platform/graphics/svg/filters/SVGFEMerge.h: * platform/graphics/svg/filters/SVGFEMorphology.h: * platform/graphics/svg/filters/SVGFEOffset.h: * platform/graphics/svg/filters/SVGFESpecularLighting.h: * platform/graphics/svg/filters/SVGFETile.h: * platform/graphics/svg/filters/SVGFETurbulence.h: * platform/graphics/svg/filters/SVGFilterEffect.h: * platform/graphics/svg/filters/SVGLightSource.h: * platform/graphics/svg/filters/SVGPointLightSource.h: * platform/graphics/svg/filters/SVGSpotLightSource.h: * platform/mac/FontPlatformData.h: * platform/mac/PlatformScrollBar.h: * platform/network/AuthenticationChallenge.h: * platform/network/Credential.h: * platform/network/HTTPHeaderMap.h: * platform/network/ProtectionSpace.h: * platform/network/ResourceError.h: * platform/network/ResourceRequest.h: * platform/network/ResourceResponse.h: * platform/network/cf/FormDataStreamCFNet.h: * platform/network/cf/ResourceRequestCFNet.h: * platform/network/cf/ResourceResponseCFNet.h: * platform/network/gdk/ResourceHandleManager.h: * platform/network/mac/AuthenticationMac.h: * platform/network/mac/FormDataStreamMac.h: * platform/network/qt/ResourceHandleManagerKDE.h: * platform/network/qt/ResourceHandleManagerQt.h: * platform/network/win/ResourceHandleWin.h: * platform/qt/FontPlatformData.h: * platform/qt/KeyboardCodes.h: * platform/qt/PlatformScrollBar.h: * platform/qt/ScrollViewCanvasQt.h: * platform/qt/SharedTimerQt.h: * platform/win/FontPlatformData.h: * platform/win/PlatformScrollBar.h: * rendering/AutoTableLayout.h: * rendering/HitTestRequest.h: * rendering/HitTestResult.h: * rendering/InlineBox.h: * rendering/InlineFlowBox.h: * rendering/Length.h: * rendering/ListMarkerBox.h: * rendering/RenderBox.h: * rendering/RenderMenuList.h: * rendering/RenderPart.h: * rendering/RenderPartObject.h: * rendering/RenderPath.h: * rendering/RenderReplaced.h: * rendering/RenderSVGContainer.h: * rendering/RenderSVGImage.h: * rendering/RenderSVGInline.h: * rendering/RenderSVGInlineText.h: * rendering/RenderSVGTSpan.h: * rendering/RenderSVGText.h: * rendering/RenderStyle.h: * rendering/RenderTableCol.h: * rendering/RenderThemeWin.h: * rendering/bidi.h: * xml/DOMParser.h: * xml/XPathEvaluator.h: * xml/XPathExpression.h: * xml/XPathExpressionNode.h: * xml/XPathFunctions.h: * xml/XPathNSResolver.h: * xml/XPathNamespace.h: * xml/XPathParser.h: * xml/XPathPath.h: * xml/XPathPredicate.h: * xml/XPathResult.h: * xml/XPathStep.h: * xml/XPathUtil.h: * xml/XPathValue.h: * xml/XPathVariableReference.h: * xml/XSLImportRule.h: * xml/XSLStyleSheet.h: * xml/XSLTProcessor.h: * xml/xmlhttprequest.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 09 Jul, 2006 1 commit
-
-
darin authored
- put more into the WebCore namespace - removed unused code for plain text fields Put more classes, class templates, enums, functions, and constants into the WebCore namespace, including all the headers in the platform directory. Removed lots of unneeded "WebCore::" qualifiers and "using" directives. Added some "WebCore::" qualifiers in a few places. Removed "uses WebCore::" in headers that we said we'd remove "when everything is in the WebCore namespace". * bindings/js/JSDOMParser.cpp: * bindings/js/JSHTMLElementWrapperFactory.cpp: * bindings/js/JSXSLTProcessor.cpp: * bindings/js/kjs_binding.cpp: * bindings/js/kjs_css.cpp: * bindings/js/kjs_dom.cpp: * bindings/js/kjs_dom.h: * bindings/js/kjs_events.cpp: * bindings/js/kjs_proxy.h: * bindings/js/kjs_window.h: * bindings/objc/DOM.mm: * bridge/History.h: * bridge/JavaAppletWidget.h: * bridge/mac/FormDataMac.h: * bridge/mac/FormDataMac.mm: * bridge/mac/WebCoreAXObject.mm: * bridge/mac/WebCoreEncodings.mm: * bridge/mac/WebCoreFrameBridge.h: * bridge/mac/WebCoreIconDatabaseBridge.mm: * bridge/mac/WebCorePageState.h: * bridge/mac/WebCoreScriptDebugger.mm: * bridge/mac/WebCoreSettings.h: * css/CSSGrammar.y: * css/CSSPageRule.cpp: * css/CSSPageRule.h: * css/MediaList.cpp: * css/cssstyleselector.h: * dom/Clipboard.h: * dom/Document.cpp: * dom/Document.h: * dom/EventTargetNode.h: * dom/Node.cpp: * dom/Node.h: * dom/Position.h: * dom/Range.cpp: * dom/XMLTokenizer.cpp: * editing/AppendNodeCommand.h: * editing/ApplyStyleCommand.cpp: * editing/BreakBlockquoteCommand.cpp: * editing/BreakBlockquoteCommand.h: * editing/CompositeEditCommand.cpp: * editing/CompositeEditCommand.h: * editing/CreateLinkCommand.h: * editing/DeleteFromTextNodeCommand.h: * editing/DeleteSelectionCommand.h: * editing/FormatBlockCommand.h: * editing/HTMLInterchange.cpp: * editing/HTMLInterchange.h: * editing/IndentOutdentCommand.h: * editing/InsertIntoTextNodeCommand.h: * editing/InsertLineBreakCommand.h: * editing/InsertListCommand.h: * editing/InsertNodeBeforeCommand.h: * editing/InsertTextCommand.cpp: * editing/InsertTextCommand.h: * editing/JSEditor.cpp: * editing/JSEditor.h: * editing/JoinTextNodesCommand.h: * editing/MergeIdenticalElementsCommand.cpp: * editing/MergeIdenticalElementsCommand.h: * editing/ModifySelectionListLevel.h: * editing/MoveSelectionCommand.h: * editing/RebalanceWhitespaceCommand.h: * editing/RemoveNodeAttributeCommand.h: * editing/RemoveNodeCommand.h: * editing/RemoveNodePreservingChildrenCommand.h: * editing/ReplaceSelectionCommand.h: * editing/SetNodeAttributeCommand.h: * editing/SplitElementCommand.cpp: * editing/SplitElementCommand.h: * editing/SplitTextNodeCommand.cpp: * editing/SplitTextNodeCommand.h: * editing/SplitTextNodeContainingElementCommand.h: * editing/TypingCommand.cpp: * editing/TypingCommand.h: * editing/UnlinkCommand.h: * editing/VisiblePosition.cpp: * editing/WrapContentsInDummySpanCommand.cpp: * editing/WrapContentsInDummySpanCommand.h: * editing/markup.cpp: * editing/markup.h: * html/HTMLAnchorElement.cpp: * html/HTMLBodyElement.cpp: * html/HTMLButtonElement.h: * html/HTMLCollection.h: * html/HTMLDocument.h: * html/HTMLEmbedElement.cpp: * html/HTMLFormElement.cpp: * html/HTMLFormElement.h: * html/HTMLFrameElement.cpp: * html/HTMLFrameSetElement.cpp: * html/HTMLKeygenElement.cpp: * html/HTMLLabelElement.cpp: * html/HTMLObjectElement.cpp: * html/HTMLObjectElement.h: * html/HTMLTableElement.cpp: * html/HTMLTablePartElement.cpp: * icon/IconDatabase.h: * kcanvas/KCanvasPath.h: * kcanvas/KCanvasResources.cpp: * kcanvas/KCanvasResources.h: * kcanvas/KCanvasTreeDebug.cpp: * kcanvas/KCanvasTreeDebug.h: * kcanvas/RenderSVGContainer.cpp: * kcanvas/RenderSVGText.h: * kcanvas/device/KRenderingPaintServer.h: * kcanvas/device/KRenderingPaintServerGradient.h: * kcanvas/device/KRenderingPaintServerSolid.cpp: * ksvg2/misc/SVGImageLoader.cpp: * ksvg2/svg/SVGElement.cpp: * ksvg2/svg/SVGElement.h: * ksvg2/svg/SVGForeignObjectElement.cpp: * ksvg2/svg/SVGForeignObjectElement.h: * ksvg2/svg/SVGImageElement.cpp: * ksvg2/svg/SVGPoint.h: * ksvg2/svg/SVGStylable.h: * ksvg2/svg/SVGTRefElement.cpp: * ksvg2/svg/SVGTRefElement.h: * ksvg2/svg/SVGTSpanElement.cpp: * ksvg2/svg/SVGTSpanElement.h: * ksvg2/svg/SVGTextElement.h: * ksvg2/svg/svgpathparser.cpp: * ksvg2/svg/svgpathparser.h: * loader/Cache.h: * loader/DocLoader.h: * loader/LoaderFunctions.h: * loader/mac/LoaderFunctionsMac.mm: * page/Frame.h: * page/FrameView.h: * page/Page.h: * page/Settings.h: * platform/AffineTransform.cpp: * platform/AffineTransform.h: * platform/Arena.cpp: * platform/Arena.h: * platform/CookieJar.h: * platform/DeprecatedCString.cpp: * platform/DeprecatedCString.h: * platform/DeprecatedPtrList.h: * platform/DeprecatedPtrListImpl.cpp: * platform/DeprecatedPtrListImpl.h: * platform/DeprecatedPtrQueue.h: * platform/DeprecatedString.cpp: * platform/DeprecatedString.h: * platform/DeprecatedStringList.cpp: * platform/DeprecatedStringList.h: * platform/DeprecatedValueList.h: * platform/DeprecatedValueListImpl.cpp: * platform/DeprecatedValueListImpl.h: * platform/FileButton.h: * platform/FloatPoint.h: * platform/FloatRect.h: * platform/FloatSize.h: * platform/FontData.h: * platform/FontFallbackList.h: * platform/GraphicsContext.h: * platform/IntPoint.h: * platform/IntRect.h: * platform/IntSize.h: * platform/KURL.cpp: * platform/KURL.h: * platform/ListBox.h: * platform/Logging.cpp: * platform/Logging.h: * platform/Pen.h: * platform/PopUpButton.h: * platform/RegularExpression.cpp: * platform/RegularExpression.h: * platform/SSLKeyGenerator.h: * platform/ScrollBar.h: * platform/SegmentedString.h: * platform/Shared.h: * platform/Slider.h: * platform/StringImpl.h: * platform/TextBox.h: * platform/TextField.h: * platform/TextStream.cpp: * platform/TextStream.h: * platform/TransferJob.h: * platform/TransferJobClient.h: * platform/Widget.h: * platform/cg/AffineTransformCG.cpp: * platform/mac/ClipboardMac.h: * platform/mac/ClipboardMac.mm: * platform/mac/DeprecatedStringListMac.mm: * platform/mac/FontCacheMac.mm: * platform/mac/KURLMac.mm: * platform/mac/ListBoxMac.mm: * platform/mac/PopUpButtonMac.mm: * platform/mac/SSLKeyGeneratorMac.mm: * platform/mac/TextBoxMac.mm: * platform/mac/TextFieldMac.mm: * platform/mac/WebCoreTextArea.h: * platform/mac/WebCoreTextArea.mm: * platform/mac/WebCoreTextField.h: * platform/mac/WebCoreTextField.mm: * rendering/DeprecatedRenderSelect.h: * rendering/RenderArena.cpp: * rendering/RenderArena.h: * rendering/RenderBlock.cpp: * rendering/RenderBox.cpp: * rendering/RenderContainer.cpp: * rendering/RenderFlexibleBox.cpp: * rendering/RenderFlow.cpp: * rendering/RenderLayer.cpp: * rendering/RenderLineEdit.cpp: * rendering/RenderObject.h: * rendering/RenderStyle.cpp: * rendering/RenderStyle.h: * rendering/RenderText.cpp: * rendering/RenderTextFragment.cpp: * rendering/RenderTheme.h: * rendering/RenderTreeAsText.cpp: * rendering/RenderTreeAsText.h: * rendering/RenderView.h: * rendering/bidi.h: * xml/XSLStyleSheet.cpp: * xml/XSLTProcessor.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 Mar, 2006 1 commit
-
-
darin authored
* <lots of files>: Renamed XXXImpl to XXX, and a number of other renames. See WebKitTools/Scripts/do-webcore-rename version 13392 for details. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13393 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 23 Feb, 2006 1 commit
-
-
darin authored
- moved QMouseEvent, QKeyEvent, QWheelEvent, and "Foundation extras" from kwq to platform directory - moved history function from kwq to bridge directory - eliminated QEvent, MousePressEvent, MouseDoubleClickEvent, MouseMoveEvent, MoveReleaseEvent, and DrawContents classes - merged NodeImpl::MouseEvent and the MouseEvent from khtml_events.h into a single class in the page directory - broke khtmllayout.h out into a file for the Length structure in the css directory and a file for the GapRects structure in the rendering directory - redid the Length structure to work more portably by not relying on bitfield layout and improve the names to no longer explicitly mention "width" - reduced use of QGuardedPtr and other uses of the QObject "destroyed" signal * ForwardingHeaders/kparts: Removed. * ForwardingHeaders/qevent.h: Removed. * khtml/khtml_events.cpp: Removed. * khtml/khtml_events.h: Removed. * khtml/misc/khtmllayout.h: Removed. * kwq/KWQEvent.h: Removed. * kwq/KWQEvent.mm: Removed. * kwq/KWQFoundationExtras.h: Removed. * kwq/KWQKHistoryProvider.mm: Removed. * kwq/KWQKPartsHistoryProvider.h: Removed. * bridge/History.h: Added. * bridge/mac/HistoryMac.mm: Added. * css/Length.h: Added. * page/MouseEventWithHitTestResults.h: Added. * platform/KeyEvent.h: Added. * platform/MouseEvent.h: Added. * platform/WheelEvent.h: Added. * platform/mac/FoundationExtras.h: Added. * platform/mac/KeyEventMac.mm: Added. * platform/mac/MouseEventMac.mm: Added. * platform/mac/WheelEventMac.mm: Added. * rendering/GapRects.h: Added. * WebCore.xcodeproj/project.pbxproj: Updated for above changes. * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for above changes. * bridge/mac/MacFrame.h: Removed unused parameters from urlSelected functions. Replaced MouseEvent, MousePressEvent, MouseMoveEvent, and MouseReleaseEvent with MouseEventWithHitTestResults. * bridge/mac/MacFrame.mm: (WebCore::MacFrame::urlSelected): Removed unused parameters. (WebCore::MacFrame::wheelEvent): Changed to use WheelEvent. (WebCore::MacFrame::keyEvent): Changed to use KeyEvent. (WebCore::MacFrame::khtmlMousePressEvent): Changed parameter type. (WebCore::MacFrame::khtmlMouseMoveEvent): Ditto. (WebCore::MacFrame::khtmlMouseReleaseEvent): Ditto. (WebCore::MacFrame::passSubframeEventToSubframe): Ditto. (WebCore::MacFrame::mouseDown): Changed to use MouseEvent. (WebCore::MacFrame::mouseDragged): Ditto. (WebCore::MacFrame::mouseUp): Ditto. (WebCore::MacFrame::mouseMoved): Ditto. (WebCore::MacFrame::sendContextMenuEvent): Ditto. * css/csshelper.h: Removed a bunch of unused declarations. * dom/DocumentImpl.h: * dom/DocumentImpl.cpp: (WebCore::DocumentImpl::prepareMouseEvent): Changed to take a MouseEvent and return a MouseEventWithHitTestResults. (WebCore::DocumentImpl::defaultEventHandler): Changed to use KeyEvent. * dom/NodeImpl.h: Removed NodeImpl::MouseEvent and NodeImpl::MouseEventType. * dom/NodeImpl.cpp: (WebCore::NodeImpl::dispatchMouseEvent): Changed to always get the type and detail values from the caller, never from the event. Changed to use MouseEvent. (WebCore::NodeImpl::dispatchKeyEvent): Changed to use KeyEvent. (WebCore::NodeImpl::dispatchWheelEvent): Changed to use WheelEvent. * dom/dom2_eventsimpl.h: * dom/dom2_eventsimpl.cpp: (WebCore::KeyboardEventImpl::KeyboardEventImpl): Changed to use KeyEvent. (WebCore::KeyboardEventImpl::charCode): Ditto. * dom/dom_elementimpl.h: Removed unused mouseEventHandler function. * khtml/ecma/domparser.h: Use RefPtr instead of QGuardedPtr to hold the reference to the document. * khtml/ecma/kjs_proxy.h: (WebCore::KJSProxyImpl::haveInterpreter): Added. For use in the Frame destructor so we can get an existing KJS::Window object without creating a new interpreter and window object. * khtml/ecma/kjs_window.h: Merged WindowQObject into Window. Changed all the guarded pointers to Frame to use plain old pointers that are cleared by the Frame explicitly (by the function disconnectFrame). Made the pointers to all the sub-objects of KJS::Window be mutable so we don't have to const_cast in the functions to get (and lazily create) them. * khtml/ecma/kjs_window.cpp: (KJS::DOMWindowTimer::DOMWindowTimer): Use Window* instead of WindowQObject*. (KJS::History::disconnectFrame): Added. Clears m_frame. (KJS::FrameArray::disconnectFrame): Added. Clears m_frame. (KJS::Window::Window): Removed code to create a WindowQObject. (KJS::Window::~Window): Removed code to delete a WindowQObject. (KJS::Window::location): Remove now-unneeded const_cast. (KJS::Window::selection): Ditto. (KJS::Window::locationbar): Ditto. (KJS::Window::menubar): Ditto. (KJS::Window::personalbar): Ditto. (KJS::Window::statusbar): Ditto. (KJS::Window::toolbar): Ditto. (KJS::Window::scrollbars): Ditto. (KJS::Window::getValueProperty): Update since m_frame is now a raw pointer. (KJS::Window::getOwnPropertySlot): Ditto. (KJS::Window::toBoolean): Ditto. (KJS::Window::scheduleClose): Remove assert that WindowQObject* is not null. (KJS::Window::isSafeScript): Update since m_frame is now a raw pointer. (KJS::Window::clear): Remove code to delete a WindowQObject. Added a call to clearAllTimeouts instead. (KJS::Window::clearAllTimeouts): Added. Does equivalent of the WindowQObject destructor. (KJS::Window::installTimeout): Moved to Window from WindowQObject. (KJS::Window::pauseTimeouts): Ditto. (KJS::Window::resumeTimeouts): Ditto. (KJS::Window::clearTimeout): Ditto. (KJS::Window::timerFired): Ditto. (KJS::Window::disconnectFrame): Added. Sets all the frame pointers to 0. (KJS::FrameArray::getOwnPropertySlot): Update since m_frame is now a raw pointer. (KJS::Location::getOwnPropertySlot): Ditto. (KJS::Location::put): Ditto. (KJS::Selection::getOwnPropertySlot): Ditto. (KJS::BarInfo::getOwnPropertySlot): Ditto. * khtml/html/html_baseimpl.h: Forward-declare Length instead of including khtmllayout.h. * khtml/html/html_imageimpl.h: Ditto. * khtml/html/html_inlineimpl.cpp: (WebCore::HTMLAnchorElementImpl::defaultEventHandler): Changed to use KeyEvent and removed the code to extract the button and state from the DOM even to pass to urlSelected. * ksvg2/svg/SVGAElementImpl.cpp: (SVGAElementImpl::defaultEventHandler): Ditto. * khtml/html/htmltokenizer.cpp: (WebCore::HTMLTokenizer::timerFired): Change to use a RefPtr instead of a QGuardedPtr. * khtml/misc/helper.h: * khtml/misc/helper.cpp: Removed printpainter and setPrintPainter. * ksvg2/svg/SVGDocumentImpl.h: * ksvg2/svg/SVGDocumentImpl.cpp: (WebCore::SVGDocumentImpl::dispatchKeyEvent): Change to use KeyEvent. * kwq/KWQComboBox.mm: (-[KWQPopUpButton becomeFirstResponder]): (-[KWQPopUpButton resignFirstResponder]): * kwq/KWQFileButton.mm: (KWQFileButton::focusChanged): * kwq/KWQListBox.mm: (-[KWQTableView becomeFirstResponder]): (-[KWQTableView resignFirstResponder]): * kwq/KWQSlider.mm: (-[KWQSlider becomeFirstResponder]): (-[KWQSlider resignFirstResponder]): * kwq/KWQTextArea.mm: (-[KWQTextAreaTextView becomeFirstResponder]): (-[KWQTextAreaTextView resignFirstResponder]): * kwq/KWQTextField.mm: (-[KWQTextFieldController setHasFocus:]): Updated to use new eventFilterFocusIn/Out instead of the general purpose eventFilter function. This allows us to remove QEvent and the focus events. * kwq/KWQNamespace.h: Removed ButtonState. * kwq/KWQObject.h: * kwq/KWQObject.cpp: Replaced eventFilter function with eventFilterFocusIn and eventFilterFocusOut, allowing us to remove QEvent. Removed event function. * kwq/KWQSlot.cpp: (KWQSlot::KWQSlot): Removed the parentDestroyed slot. (KWQSlot::call): Ditto. * page/Frame.h: * page/Frame.cpp: (WebCore::UserStyleSheetLoader::UserStyleSheetLoader): Renamed from PartStyleSheetLoader. Removed a lot of unneeded null checks. Use a raw Frame pointer instead of a QGuardedPtr, and count on the Frame to delete us when it's being deleted. (WebCore::UserStyleSheetLoader::~UserStyleSheetLoader): No longer a virtual function. This is not a polymorphic class. (WebCore::UserStyleSheetLoader::setStyleSheet): Remove code to delete ourselves -- that's now the frame's responsibility. (WebCore::Frame::~Frame): Call disconnectFrame on the KJS::Window and delete m_userStyleSheetLoader. (WebCore::Frame::changeLocation): Update since urlSelected no longer takes button and state parameters. (WebCore::Frame::setUserStyleSheet): Delete existing loader to stop a load in progress before starting a new load. Store reference to loader. (WebCore::Frame::urlSelected): Remove button and state parameters and unused local variable hasTarget. (WebCore::Frame::selectClosestWordFromMouseEvent): Change from QMouseEvent to MouseEvent. (WebCore::Frame::handleMousePressEventDoubleClick): Change from MousePressEvent to MouseEventWithHitTestResults. (WebCore::Frame::handleMousePressEventTripleClick): Ditto. (WebCore::Frame::handleMousePressEventSingleClick): Ditto. (WebCore::Frame::khtmlMousePressEvent): Ditto. (WebCore::Frame::handleMouseMoveEventSelection): Change from MouseMoveEvent to MouseEventWithHitTestResults. (WebCore::Frame::khtmlMouseMoveEvent): Ditto. (WebCore::Frame::khtmlMouseReleaseEvent): Change from MouseReleaseEvent to MouseEventWithHitTestResults. (WebCore::Frame::khtmlMouseDoubleClickEvent): Change from MouseReleaseDoubleClickEvent to MouseEventWithHitTestResults. (WebCore::Frame::passWidgetMouseDownEventToWidget): Change from NodeImpl::MouseEvent to MouseEventWithHitTestResults. * page/FramePrivate.h: Added m_userStyleSheetLoader. * page/FrameView.h: * page/FrameView.cpp: (WebCore::FrameView::viewportMousePressEvent): Change from QMouseEvent to MouseEvent and from NodeImpl::MouseEvent to MouseEventWithHitTestResults. (WebCore::FrameView::viewportMouseDoubleClickEvent): Ditto. (WebCore::selectCursor): Ditto. (WebCore::FrameView::viewportMouseMoveEvent): Ditto. (WebCore::FrameView::viewportMouseReleaseEvent): Ditto. (WebCore::FrameView::keyPressEvent): Change from QKeyEvent to KeyEvent. (WebCore::FrameView::dispatchMouseEvent): Change from QMouseEvent to MouseEvent and from NodeImpl::MouseEvent to MouseEventWithHitTestResults. (WebCore::FrameView::viewportWheelEvent): Change from QWheelEvent to WheelEvent. (WebCore::FrameView::hoverTimerFired): Update for change to prepareMouseEvent parameters. * platform/Widget.h: * platform/Widget.cpp: Removed event function. * rendering/render_form.h: Removed LineEditWidget, ComboBoxWidget, TextAreaWidget. * rendering/render_form.cpp: (WebCore::RenderFormElement::slotClicked): Changed from QMouseEvent to MouseEvent. (WebCore::RenderFormElement::addIntrinsicMarginsIfAllowed): Updated for changes to the Length class. (WebCore::RenderSelect::setWidgetWritingDirection): Updated for removal of ComboBoxWidget. (WebCore::RenderSelect::slotSelected): Ditto. (WebCore::RenderSelect::createComboBox): Ditto. * rendering/render_replaced.h: * rendering/render_replaced.cpp: (WebCore::RenderWidget::destroy): Updated since removeEventFilter no longer takes a parameter. (WebCore::RenderWidget::setQWidget): Ditto. (WebCore::RenderWidget::eventFilterFocusIn): Added. Replaces eventFilter. (WebCore::RenderWidget::eventFilterFocusOut): Ditto. * css/css_computedstyle.cpp: (WebCore::valueForLength): (WebCore::CSSComputedStyleDeclarationImpl::getPropertyCSSValue): * css/cssstyleselector.cpp: (WebCore::checkPseudoState): (WebCore::CSSStyleSelector::applyProperty): (WebCore::CSSStyleSelector::getComputedSizeFromSpecifiedSize): * khtml/html/html_imageimpl.cpp: (WebCore::HTMLAreaElementImpl::getRegion): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::MarginInfo::MarginInfo): (WebCore::RenderBlock::isSelfCollapsingBlock): (WebCore::RenderBlock::layoutBlock): (WebCore::RenderBlock::determineHorizontalPosition): (WebCore::RenderBlock::leftRelOffset): (WebCore::RenderBlock::rightRelOffset): (WebCore::RenderBlock::calcMinMaxWidth): (WebCore::getBPMWidth): (WebCore::RenderBlock::calcInlineMinMaxWidth): (WebCore::RenderBlock::calcBlockMinMaxWidth): * rendering/RenderTable.cpp: (WebCore::RenderTable::calcWidth): (WebCore::RenderTable::layout): * rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::calcMinMaxWidth): * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::addChild): (WebCore::RenderTableSection::addCell): (WebCore::RenderTableSection::calcRowHeight): (WebCore::RenderTableSection::layoutRows): * rendering/RenderText.h: (khtml::RenderText::marginLeft): (khtml::RenderText::marginRight): * rendering/bidi.cpp: (khtml::getBPMWidth): * rendering/render_applet.cpp: (WebCore::RenderApplet::createWidgetIfNecessary): * rendering/render_box.cpp: (WebCore::RenderBox::paintBackgroundExtended): (WebCore::RenderBox::getClipRect): (WebCore::RenderBox::relativePositionOffset): (WebCore::RenderBox::calcWidth): (WebCore::RenderBox::calcWidthUsing): (WebCore::RenderBox::sizesToIntrinsicWidth): (WebCore::RenderBox::calcHorizontalMargins): (WebCore::RenderBox::calcHeight): (WebCore::RenderBox::calcHeightUsing): (WebCore::RenderBox::calcPercentageHeight): (WebCore::RenderBox::calcReplacedWidth): (WebCore::RenderBox::calcReplacedWidthUsing): (WebCore::RenderBox::calcReplacedHeight): (WebCore::RenderBox::calcReplacedHeightUsing): (WebCore::RenderBox::availableHeightUsing): (WebCore::RenderBox::calcVerticalMargins): (WebCore::RenderBox::calcAbsoluteHorizontal): (WebCore::RenderBox::calcAbsoluteHorizontalValues): (WebCore::RenderBox::calcAbsoluteVertical): (WebCore::RenderBox::calcAbsoluteVerticalValues): * rendering/render_br.cpp: (WebCore::RenderBR::lineHeight): * rendering/render_flexbox.cpp: (khtml::RenderFlexibleBox::calcHorizontalMinMaxWidth): (khtml::RenderFlexibleBox::calcVerticalMinMaxWidth): (khtml::RenderFlexibleBox::calcMinMaxWidth): (khtml::RenderFlexibleBox::allowedChildFlex): * rendering/render_flow.cpp: (WebCore::RenderFlow::lineHeight): * rendering/render_frames.cpp: (WebCore::RenderFrameSet::layout): * rendering/render_image.cpp: (WebCore::RenderImage::isWidthSpecified): (WebCore::RenderImage::isHeightSpecified): * rendering/render_layer.cpp: (WebCore::Marquee::direction): (WebCore::Marquee::start): (WebCore::Marquee::updateMarqueeStyle): (WebCore::Marquee::timerFired): * rendering/render_line.cpp: (WebCore::InlineFlowBox::marginLeft): (WebCore::InlineFlowBox::marginRight): * rendering/render_object.cpp: (WebCore::RenderObject::mustRepaintBackgroundOrBorder): (WebCore::RenderObject::paintBorderImage): (WebCore::RenderObject::paddingTop): (WebCore::RenderObject::paddingBottom): (WebCore::RenderObject::paddingLeft): (WebCore::RenderObject::paddingRight): (WebCore::RenderObject::getVerticalPosition): (WebCore::RenderObject::lineHeight): (WebCore::RenderObject::addDashboardRegions): * rendering/render_style.h: * rendering/render_theme_mac.mm: (WebCore::RenderThemeMac::addIntrinsicMargins): * rendering/table_layout.cpp: (WebCore::FixedTableLayout::calcWidthArray): (WebCore::FixedTableLayout::calcMinMaxWidth): (WebCore::FixedTableLayout::layout): (WebCore::AutoTableLayout::recalcColumn): (WebCore::AutoTableLayout::fullRecalc): (WebCore::AutoTableLayout::calcMinMaxWidth): (WebCore::AutoTableLayout::calcEffectiveWidth): (WebCore::AutoTableLayout::layout): (WebCore::AutoTableLayout::calcPercentages): Updated for changes to the Length class. Also removed a check of the printpainter global, never used in WebCore. * bindings/objc/DOM.mm: * bindings/objc/DOMCSS.mm: * bindings/objc/DOMHTML.mm: * bridge/mac/WebCoreFrameBridge.mm: * css/csshelper.cpp: * editing/SelectionController.cpp: * khtml/ecma/kjs_html.h: * kwq/KWQAccObject.mm: * kwq/KWQAccObjectCache.mm: * kwq/KWQClipboard.mm: * kwq/KWQFont.mm: * kwq/KWQFontMetrics.mm: * kwq/KWQKJobClasses.mm: * kwq/KWQKURL.mm: * kwq/KWQLoader.mm: * kwq/KWQPageState.mm: * kwq/KWQPainter.mm: * kwq/WebCoreSettings.mm: * platform/StringImpl.cpp: * platform/mac/CursorMac.mm: * platform/mac/WidgetMac.mm: * rendering/RenderBlock.h: * rendering/render_canvas.cpp: * rendering/render_line.h: * rendering/render_style.cpp: * rendering/table_layout.h: Updated includes. * bindings/js/JSDOMCore.cpp: Touched, because I got strange failures if this didn't rebuild. * bindings/js/JSDOMEvents.cpp: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Feb, 2006 1 commit
-
-
eseidel authored
Reviewed by darin. Adding stub FrameWin class to expose link errors. * WebCore.vcproj/WebCore/WebCore.vcproj: * bridge/win/FrameWin.cpp: Added. * bridge/win/FrameWin.h: Added. (WebCore::Win): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Feb, 2006 1 commit
-
-
darin authored
- moved editing sources from khtml/editing to editing, and renamed files with single classes * WebCore.xcodeproj/project.pbxproj: Added new, removed old. * WebCore.vcproj/WebCore/WebCore.vcproj: Ditto. * bridge/mac/MacFrame.mm: * bridge/mac/WebCoreFrameBridge.mm: * dom/DocumentImpl.cpp: * dom/dom2_rangeimpl.cpp: * dom/dom_position.cpp: * khtml/khtml_events.cpp: * kwq/KWQAccObject.mm: * kwq/KWQAccObjectCache.h: * kwq/KWQEditCommand.mm: * page/Frame.cpp: * page/FramePrivate.h: * rendering/RenderBlock.cpp: * rendering/RenderContainer.cpp: * rendering/RenderText.cpp: * rendering/render_br.cpp: * rendering/render_inline.cpp: * rendering/render_object.cpp: * rendering/render_replaced.cpp: Fixed up includes. * editing: Added. * editing/AppendNodeCommand.cpp: Added. * editing/AppendNodeCommand.h: Added. * editing/ApplyStyleCommand.cpp: Added. * editing/ApplyStyleCommand.h: Added. * editing/BreakBlockquoteCommand.cpp: Added. * editing/BreakBlockquoteCommand.h: Added. * editing/CompositeEditCommand.cpp: Added. * editing/CompositeEditCommand.h: Added. * editing/DeleteFromTextNodeCommand.cpp: Added. * editing/DeleteFromTextNodeCommand.h: Added. * editing/DeleteSelectionCommand.cpp: Added. * editing/DeleteSelectionCommand.h: Added. * editing/EditCommand.cpp: Added. * editing/EditCommand.h: Added. * editing/InsertIntoTextNodeCommand.cpp: Added. * editing/InsertIntoTextNodeCommand.h: Added. * editing/InsertLineBreakCommand.cpp: Added. * editing/InsertLineBreakCommand.h: Added. * editing/InsertNodeBeforeCommand.cpp: Added. * editing/InsertNodeBeforeCommand.h: Added. * editing/InsertParagraphSeparatorCommand.cpp: Added. * editing/InsertParagraphSeparatorCommand.h: Added. * editing/InsertTextCommand.cpp: Added. * editing/InsertTextCommand.h: Added. * editing/JoinTextNodesCommand.cpp: Added. * editing/JoinTextNodesCommand.h: Added. * editing/MergeIdenticalElementsCommand.cpp: Added. * editing/MergeIdenticalElementsCommand.h: Added. * editing/MoveSelectionCommand.cpp: Added. * editing/MoveSelectionCommand.h: Added. * editing/RebalanceWhitespaceCommand.cpp: Added. * editing/RebalanceWhitespaceCommand.h: Added. * editing/RemoveCSSPropertyCommand.cpp: Added. * editing/RemoveCSSPropertyCommand.h: Added. * editing/RemoveNodeAttributeCommand.cpp: Added. * editing/RemoveNodeAttributeCommand.h: Added. * editing/RemoveNodeCommand.cpp: Added. * editing/RemoveNodeCommand.h: Added. * editing/RemoveNodePreservingChildrenCommand.cpp: Added. * editing/RemoveNodePreservingChildrenCommand.h: Added. * editing/ReplaceSelectionCommand.cpp: Added. * editing/ReplaceSelectionCommand.h: Added. * editing/Selection.cpp: * editing/SelectionController.cpp: * editing/SetNodeAttributeCommand.cpp: Added. * editing/SetNodeAttributeCommand.h: Added. * editing/SplitElementCommand.cpp: Added. * editing/SplitElementCommand.h: Added. * editing/SplitTextNodeCommand.cpp: Added. * editing/SplitTextNodeCommand.h: Added. * editing/SplitTextNodeContainingElementCommand.cpp: Added. * editing/SplitTextNodeContainingElementCommand.h: Added. * editing/TypingCommand.cpp: Added. * editing/TypingCommand.h: Added. * editing/VisiblePosition.cpp: Added. * editing/VisiblePosition.h: Added. * editing/VisibleRange.cpp: Added. * editing/VisibleRange.h: Added. * editing/WrapContentsInDummySpanCommand.cpp: Added. * editing/WrapContentsInDummySpanCommand.h: Added. * editing/append_node_command.cpp: Removed. * editing/append_node_command.h: Removed. * editing/apply_style_command.cpp: Removed. * editing/apply_style_command.h: Removed. * editing/break_blockquote_command.cpp: Removed. * editing/break_blockquote_command.h: Removed. * editing/composite_edit_command.cpp: Removed. * editing/composite_edit_command.h: Removed. * editing/delete_from_text_node_command.cpp: Removed. * editing/delete_from_text_node_command.h: Removed. * editing/delete_selection_command.cpp: Removed. * editing/delete_selection_command.h: Removed. * editing/edit_command.cpp: Removed. * editing/edit_command.h: Removed. * editing/htmlediting.cpp: * editing/insert_into_text_node_command.cpp: Removed. * editing/insert_into_text_node_command.h: Removed. * editing/insert_line_break_command.cpp: Removed. * editing/insert_line_break_command.h: Removed. * editing/insert_node_before_command.cpp: Removed. * editing/insert_node_before_command.h: Removed. * editing/insert_paragraph_separator_command.cpp: Removed. * editing/insert_paragraph_separator_command.h: Removed. * editing/insert_text_command.cpp: Removed. * editing/insert_text_command.h: Removed. * editing/join_text_nodes_command.cpp: Removed. * editing/join_text_nodes_command.h: Removed. * editing/jsediting.cpp: * editing/markup.cpp: * editing/merge_identical_elements_command.cpp: Removed. * editing/merge_identical_elements_command.h: Removed. * editing/move_selection_command.cpp: Removed. * editing/move_selection_command.h: Removed. * editing/rebalance_whitespace_command.cpp: Removed. * editing/rebalance_whitespace_command.h: Removed. * editing/remove_css_property_command.cpp: Removed. * editing/remove_css_property_command.h: Removed. * editing/remove_node_attribute_command.cpp: Removed. * editing/remove_node_attribute_command.h: Removed. * editing/remove_node_command.cpp: Removed. * editing/remove_node_command.h: Removed. * editing/remove_node_preserving_children_command.cpp: Removed. * editing/remove_node_preserving_children_command.h: Removed. * editing/replace_selection_command.cpp: Removed. * editing/replace_selection_command.h: Removed. * editing/set_node_attribute_command.cpp: Removed. * editing/set_node_attribute_command.h: Removed. * editing/split_element_command.cpp: Removed. * editing/split_element_command.h: Removed. * editing/split_text_node_command.cpp: Removed. * editing/split_text_node_command.h: Removed. * editing/split_text_node_containing_element.cpp: Removed. * editing/split_text_node_containing_element_command.h: Removed. * editing/typing_command.cpp: Removed. * editing/typing_command.h: Removed. * editing/visible_position.cpp: Removed. * editing/visible_position.h: Removed. * editing/visible_range.cpp: Removed. * editing/visible_range.h: Removed. * editing/visible_units.cpp: * editing/wrap_contents_in_dummy_span_command.cpp: Removed. * editing/wrap_contents_in_dummy_span_command.h: Removed. * khtml/editing: Removed. * khtml/editing/Selection.cpp: Removed. * khtml/editing/Selection.h: Removed. * khtml/editing/SelectionController.cpp: Removed. * khtml/editing/SelectionController.h: Removed. * khtml/editing/append_node_command.cpp: Removed. * khtml/editing/append_node_command.h: Removed. * khtml/editing/apply_style_command.cpp: Removed. * khtml/editing/apply_style_command.h: Removed. * khtml/editing/break_blockquote_command.cpp: Removed. * khtml/editing/break_blockquote_command.h: Removed. * khtml/editing/composite_edit_command.cpp: Removed. * khtml/editing/composite_edit_command.h: Removed. * khtml/editing/delete_from_text_node_command.cpp: Removed. * khtml/editing/delete_from_text_node_command.h: Removed. * khtml/editing/delete_selection_command.cpp: Removed. * khtml/editing/delete_selection_command.h: Removed. * khtml/editing/edit_actions.h: Removed. * khtml/editing/edit_command.cpp: Removed. * khtml/editing/edit_command.h: Removed. * khtml/editing/html_interchange.cpp: Removed. * khtml/editing/html_interchange.h: Removed. * khtml/editing/htmlediting.cpp: Removed. * khtml/editing/htmlediting.h: Removed. * khtml/editing/insert_into_text_node_command.cpp: Removed. * khtml/editing/insert_into_text_node_command.h: Removed. * khtml/editing/insert_line_break_command.cpp: Removed. * khtml/editing/insert_line_break_command.h: Removed. * khtml/editing/insert_node_before_command.cpp: Removed. * khtml/editing/insert_node_before_command.h: Removed. * khtml/editing/insert_paragraph_separator_command.cpp: Removed. * khtml/editing/insert_paragraph_separator_command.h: Removed. * khtml/editing/insert_text_command.cpp: Removed. * khtml/editing/insert_text_command.h: Removed. * khtml/editing/join_text_nodes_command.cpp: Removed. * khtml/editing/join_text_nodes_command.h: Removed. * khtml/editing/jsediting.cpp: Removed. * khtml/editing/jsediting.h: Removed. * khtml/editing/markup.cpp: Removed. * khtml/editing/markup.h: Removed. * khtml/editing/merge_identical_elements_command.cpp: Removed. * khtml/editing/merge_identical_elements_command.h: Removed. * khtml/editing/move_selection_command.cpp: Removed. * khtml/editing/move_selection_command.h: Removed. * khtml/editing/rebalance_whitespace_command.cpp: Removed. * khtml/editing/rebalance_whitespace_command.h: Removed. * khtml/editing/remove_css_property_command.cpp: Removed. * khtml/editing/remove_css_property_command.h: Removed. * khtml/editing/remove_node_attribute_command.cpp: Removed. * khtml/editing/remove_node_attribute_command.h: Removed. * khtml/editing/remove_node_command.cpp: Removed. * khtml/editing/remove_node_command.h: Removed. * khtml/editing/remove_node_preserving_children_command.cpp: Removed. * khtml/editing/remove_node_preserving_children_command.h: Removed. * khtml/editing/replace_selection_command.cpp: Removed. * khtml/editing/replace_selection_command.h: Removed. * khtml/editing/set_node_attribute_command.cpp: Removed. * khtml/editing/set_node_attribute_command.h: Removed. * khtml/editing/split_element_command.cpp: Removed. * khtml/editing/split_element_command.h: Removed. * khtml/editing/split_text_node_command.cpp: Removed. * khtml/editing/split_text_node_command.h: Removed. * khtml/editing/split_text_node_containing_element.cpp: Removed. * khtml/editing/split_text_node_containing_element_command.h: Removed. * khtml/editing/text_affinity.h: Removed. * khtml/editing/text_granularity.h: Removed. * khtml/editing/typing_command.cpp: Removed. * khtml/editing/typing_command.h: Removed. * khtml/editing/visible_position.cpp: Removed. * khtml/editing/visible_position.h: Removed. * khtml/editing/visible_range.cpp: Removed. * khtml/editing/visible_range.h: Removed. * khtml/editing/visible_text.cpp: Removed. * khtml/editing/visible_text.h: Removed. * khtml/editing/visible_units.cpp: Removed. * khtml/editing/visible_units.h: Removed. * khtml/editing/wrap_contents_in_dummy_span_command.cpp: Removed. * khtml/editing/wrap_contents_in_dummy_span_command.h: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 Oct, 2005 1 commit
-
-
mjs authored
Reviewed by Darin. <rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc http://bugzilla.opendarwin.org/show_bug.cgi?id=5243 A number of optimizations to the new threadsafe malloc that make it actually as fast as dlmalloc (I measured wrong before) and as memory-efficient as the system malloc. - use fastMalloc for everything - it now gets applied to all new/delete allocations via a private inline operator new that is now included into every file via config.h. - tweaked some of the numeric parameters for size classes and amount of wasted memory allowed per allocation - this saves on memory use and consequently improves speed. - so long as the allocator is not being used on background threads, get the per-thread cache from a global variable instead of from pthread_getspecific, since the latter is slow. - inline more functions, and force the ones GCC refuses to inline with attribute(always_inline), nearly all of these have one call site so inlining them has to be a win. - use some tricks to calculate allocation size more efficiently and fewer times for small allocations, to avoid hitting the huge size table array. - avoid hitting the per-thread cache on code paths that don't need it. - implement inline assembly version of spinlock for PowerPC (was already done for x86) * bindings/NP_jsobject.cpp: * bindings/c/c_class.cpp: * bindings/c/c_instance.cpp: * bindings/c/c_runtime.cpp: * bindings/c/c_utility.cpp: * bindings/jni/jni_class.cpp: * bindings/jni/jni_instance.cpp: * bindings/jni/jni_jsobject.cpp: * bindings/jni/jni_objc.mm: * bindings/jni/jni_runtime.cpp: * bindings/jni/jni_utility.cpp: * bindings/npruntime.cpp: * bindings/objc/WebScriptObject.mm: * bindings/objc/objc_class.mm: * bindings/objc/objc_instance.mm: * bindings/objc/objc_runtime.mm: * bindings/objc/objc_utility.mm: * bindings/runtime.cpp: * bindings/runtime_array.cpp: * bindings/runtime_method.cpp: * bindings/runtime_object.cpp: * bindings/runtime_root.cpp: * bindings/testbindings.cpp: * bindings/testbindings.mm: * kjs/array_object.cpp: (ArrayInstanceImp::ArrayInstanceImp): (ArrayInstanceImp::~ArrayInstanceImp): (ArrayInstanceImp::resizeStorage): * kjs/bool_object.cpp: * kjs/collector.cpp: (KJS::Collector::registerThread): * kjs/config.h: * kjs/debugger.cpp: * kjs/error_object.cpp: * kjs/function.cpp: * kjs/function_object.cpp: * kjs/identifier.cpp: (KJS::Identifier::rehash): * kjs/internal.cpp: (KJS::Parser::saveNewNode): (KJS::clearNewNodes): * kjs/interpreter.cpp: * kjs/lexer.cpp: (Lexer::doneParsing): (Lexer::makeIdentifier): (Lexer::makeUString): * kjs/list.cpp: * kjs/math_object.cpp: * kjs/nodes.cpp: * kjs/nodes.h: * kjs/nodes2string.cpp: * kjs/number_object.cpp: (integer_part_noexp): (char_sequence): * kjs/object.cpp: * kjs/object_object.cpp: * kjs/property_map.cpp: * kjs/property_slot.cpp: * kjs/protected_values.cpp: (KJS::ProtectedValues::rehash): * kjs/reference.cpp: * kjs/reference_list.cpp: * kjs/regexp.cpp: * kjs/regexp_object.cpp: * kjs/scope_chain.cpp: * kjs/scope_chain.h: * kjs/string_object.cpp: * kjs/testkjs.cpp: * kjs/ustring.h: * kjs/value.cpp: * kxmlcore/Assertions.mm: * kxmlcore/FastMalloc.cpp: (KXMLCore::InitSizeClasses): (KXMLCore::DLL_IsEmpty): (KXMLCore::DLL_Prepend): (KXMLCore::TCMalloc_Central_FreeList::Insert): (KXMLCore::TCMalloc_Central_FreeList::Remove): (KXMLCore::TCMalloc_Central_FreeList::Populate): (KXMLCore::TCMalloc_ThreadCache::Allocate): (KXMLCore::TCMalloc_ThreadCache::FetchFromCentralCache): (KXMLCore::fastMallocRegisterThread): (KXMLCore::TCMalloc_ThreadCache::GetCache): (KXMLCore::TCMalloc_ThreadCache::GetCacheIfPresent): (KXMLCore::TCMalloc_ThreadCache::CreateCacheIfNecessary): (KXMLCore::do_malloc): (KXMLCore::do_free): (KXMLCore::realloc): * kxmlcore/FastMalloc.h: (operator new): (operator delete): (operator new[]): (operator delete[]): * kxmlcore/HashTable.cpp: * kxmlcore/TCSpinLock.h: (TCMalloc_SpinLock::Lock): (TCMalloc_SpinLock::Unlock): (TCMalloc_SlowLock): * kxmlcore/TCSystemAlloc.cpp: WebCore: Reviewed by Darin. <rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc http://bugzilla.opendarwin.org/show_bug.cgi?id=5243 - use fastMalloc for everything - it now gets applied to all new/delete allocations via a private inline operator new that is now included into every file via config.h * WebCore.xcodeproj/project.pbxproj: * WebCorePrefix.h: * khtml/css/css_base.cpp: * khtml/css/css_base.h: * khtml/css/css_computedstyle.cpp: * khtml/css/css_ruleimpl.cpp: * khtml/css/css_stylesheetimpl.cpp: * khtml/css/css_valueimpl.cpp: * khtml/css/css_valueimpl.h: * khtml/css/csshelper.cpp: * khtml/css/cssparser.cpp: (ValueList::ValueList): (ValueList::~ValueList): (ValueList::addValue): (CSSParser::CSSParser): (CSSParser::~CSSParser): (CSSParser::setupParser): (CSSParser::addProperty): * khtml/css/cssstyleselector.cpp: * khtml/css/cssstyleselector.h: * khtml/dom/dom2_events.cpp: * khtml/dom/dom2_traversal.cpp: * khtml/dom/dom_misc.cpp: * khtml/dom/dom_string.cpp: * khtml/ecma/domparser.cpp: * khtml/ecma/kjs_binding.cpp: * khtml/ecma/kjs_css.cpp: * khtml/ecma/kjs_dom.cpp: * khtml/ecma/kjs_events.cpp: * khtml/ecma/kjs_html.cpp: (KJS::KJS::Context2DFunction::callAsFunction): (KJS::Gradient::~Gradient): (KJS::Gradient::addColorStop): (KJS::Gradient::colorStops): * khtml/ecma/kjs_navigator.cpp: * khtml/ecma/kjs_proxy.cpp: * khtml/ecma/kjs_range.cpp: * khtml/ecma/kjs_traversal.cpp: * khtml/ecma/kjs_views.cpp: * khtml/ecma/kjs_window.cpp: * khtml/ecma/xmlhttprequest.cpp: * khtml/ecma/xmlserializer.cpp: * khtml/editing/SelectionController.cpp: * khtml/editing/append_node_command.cpp: * khtml/editing/apply_style_command.cpp: * khtml/editing/break_blockquote_command.cpp: * khtml/editing/composite_edit_command.cpp: * khtml/editing/delete_from_text_node_command.cpp: * khtml/editing/delete_selection_command.cpp: * khtml/editing/edit_command.cpp: * khtml/editing/html_interchange.cpp: * khtml/editing/htmlediting.cpp: * khtml/editing/insert_into_text_node_command.cpp: * khtml/editing/insert_line_break_command.cpp: * khtml/editing/insert_node_before_command.cpp: * khtml/editing/insert_paragraph_separator_command.cpp: * khtml/editing/insert_text_command.cpp: * khtml/editing/join_text_nodes_command.cpp: * khtml/editing/jsediting.cpp: * khtml/editing/markup.cpp: * khtml/editing/merge_identical_elements_command.cpp: * khtml/editing/move_selection_command.cpp: * khtml/editing/rebalance_whitespace_command.cpp: * khtml/editing/remove_css_property_command.cpp: * khtml/editing/remove_node_attribute_command.cpp: * khtml/editing/remove_node_command.cpp: * khtml/editing/remove_node_preserving_children_command.cpp: * khtml/editing/replace_selection_command.cpp: * khtml/editing/set_node_attribute_command.cpp: * khtml/editing/split_element_command.cpp: * khtml/editing/split_text_node_command.cpp: * khtml/editing/split_text_node_containing_element.cpp: * khtml/editing/typing_command.cpp: * khtml/editing/visible_position.cpp: * khtml/editing/visible_range.cpp: * khtml/editing/visible_text.cpp: (khtml::CircularSearchBuffer::~CircularSearchBuffer): (khtml::CircularSearchBuffer::CircularSearchBuffer): * khtml/editing/visible_units.cpp: * khtml/editing/wrap_contents_in_dummy_span_command.cpp: * khtml/html/html_baseimpl.cpp: * khtml/html/html_blockimpl.cpp: * khtml/html/html_canvasimpl.cpp: * khtml/html/html_documentimpl.cpp: * khtml/html/html_elementimpl.cpp: * khtml/html/html_formimpl.cpp: * khtml/html/html_headimpl.cpp: * khtml/html/html_imageimpl.cpp: * khtml/html/html_inlineimpl.cpp: * khtml/html/html_listimpl.cpp: * khtml/html/html_miscimpl.cpp: * khtml/html/html_objectimpl.cpp: * khtml/html/html_tableimpl.cpp: * khtml/html/htmlfactory.cpp: * khtml/html/htmlnames.cpp: * khtml/html/htmlparser.cpp: * khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::enlargeBuffer): (khtml::HTMLTokenizer::enlargeScriptBuffer): * khtml/khtml_events.cpp: * khtml/khtml_part.cpp: * khtml/khtmlview.cpp: * khtml/misc/arena.cpp: * khtml/misc/arena.h: * khtml/misc/decoder.cpp: * khtml/misc/formdata.cpp: * khtml/misc/helper.cpp: * khtml/misc/loader.cpp: * khtml/misc/stringit.cpp: * khtml/rendering/bidi.cpp: * khtml/rendering/break_lines.cpp: * khtml/rendering/font.cpp: * khtml/rendering/render_arena.cpp: * khtml/rendering/render_block.cpp: * khtml/rendering/render_box.cpp: * khtml/rendering/render_br.cpp: * khtml/rendering/render_canvas.cpp: * khtml/rendering/render_canvasimage.cpp: (RenderCanvasImage::~RenderCanvasImage): (RenderCanvasImage::createDrawingContext): * khtml/rendering/render_container.cpp: * khtml/rendering/render_flexbox.cpp: * khtml/rendering/render_flow.cpp: * khtml/rendering/render_form.cpp: * khtml/rendering/render_frames.cpp: * khtml/rendering/render_image.cpp: * khtml/rendering/render_inline.cpp: * khtml/rendering/render_layer.cpp: * khtml/rendering/render_line.cpp: * khtml/rendering/render_list.cpp: * khtml/rendering/render_object.cpp: * khtml/rendering/render_replaced.cpp: * khtml/rendering/render_style.cpp: * khtml/rendering/render_style.h: * khtml/rendering/render_table.cpp: * khtml/rendering/render_text.cpp: * khtml/rendering/render_theme.cpp: * khtml/rendering/render_theme_mac.mm: * khtml/rendering/table_layout.cpp: * khtml/xbl/xbl_binding.cpp: * khtml/xbl/xbl_binding_manager.cpp: * khtml/xbl/xbl_docimpl.cpp: * khtml/xbl/xbl_protobinding.cpp: * khtml/xbl/xbl_protohandler.cpp: * khtml/xbl/xbl_protoimplementation.cpp: * khtml/xbl/xbl_tokenizer.cpp: * khtml/xml/EventNames.cpp: * khtml/xml/dom2_eventsimpl.cpp: * khtml/xml/dom2_eventsimpl.h: * khtml/xml/dom2_rangeimpl.cpp: * khtml/xml/dom2_rangeimpl.h: * khtml/xml/dom2_traversalimpl.cpp: * khtml/xml/dom2_traversalimpl.h: * khtml/xml/dom2_viewsimpl.cpp: * khtml/xml/dom2_viewsimpl.h: * khtml/xml/dom_atomicstring.cpp: * khtml/xml/dom_docimpl.cpp: * khtml/xml/dom_docimpl.h: * khtml/xml/dom_elementimpl.cpp: * khtml/xml/dom_elementimpl.h: * khtml/xml/dom_nodeimpl.cpp: * khtml/xml/dom_nodeimpl.h: * khtml/xml/dom_position.cpp: * khtml/xml/dom_qname.cpp: * khtml/xml/dom_stringimpl.cpp: * khtml/xml/dom_stringimpl.h: * khtml/xml/dom_textimpl.cpp: * khtml/xml/dom_xmlimpl.cpp: * khtml/xml/xml_tokenizer.cpp: * khtml/xsl/xsl_stylesheetimpl.cpp: * khtml/xsl/xslt_processorimpl.cpp: * kwq/DOM-CSS.mm: * kwq/DOM.mm: * kwq/DOMEvents.mm: * kwq/DOMHTML.mm: * kwq/DOMInternal.mm: (DOMString::DOMString): * kwq/DOMUtility.mm: * kwq/DOMViews.mm: * kwq/KWQAccObject.mm: * kwq/KWQAccObjectCache.mm: * kwq/KWQApplication.mm: * kwq/KWQArrayImpl.h: * kwq/KWQArrayImpl.mm: * kwq/KWQBuffer.mm: * kwq/KWQButton.mm: * kwq/KWQCString.mm: * kwq/KWQCharsets.mm: * kwq/KWQClipboard.mm: * kwq/KWQCollection.mm: * kwq/KWQColor.mm: * kwq/KWQComboBox.mm: * kwq/KWQCursor.mm: * kwq/KWQDateTime.mm: * kwq/KWQDictImpl.mm: * kwq/KWQEditCommand.mm: * kwq/KWQEvent.mm: * kwq/KWQExceptions.mm: * kwq/KWQFile.mm: * kwq/KWQFileButton.mm: * kwq/KWQFont.mm: * kwq/KWQFontFamily.h: * kwq/KWQFontFamily.mm: * kwq/KWQFontMetrics.mm: * kwq/KWQFormData.mm: * kwq/KWQFrame.mm: * kwq/KWQGlobal.mm: * kwq/KWQGuardedPtr.mm: * kwq/KWQKCharsets.mm: * kwq/KWQKConfigBase.mm: * kwq/KWQKCookieJar.mm: * kwq/KWQKCursor.mm: * kwq/KWQKGlobal.mm: * kwq/KWQKGlobalSettings.mm: * kwq/KWQKHTMLFactory.mm: * kwq/KWQKHTMLPart.cpp: * kwq/KWQKHTMLPart.mm: * kwq/KWQKHTMLPartBrowserExtension.mm: * kwq/KWQKHTMLView.mm: * kwq/KWQKHistoryProvider.mm: * kwq/KWQKJavaAppletWidget.mm: * kwq/KWQKJob.mm: * kwq/KWQKJobClasses.mm: * kwq/KWQKLocale.mm: * kwq/KWQKPartsBrowserInterface.mm: * kwq/KWQKPartsEvent.mm: * kwq/KWQKPartsPart.mm: * kwq/KWQKSSLKeyGen.mm: * kwq/KWQKStandardDirs.mm: * kwq/KWQKStringHandler.mm: * kwq/KWQKURL.mm: (KURL::KURL): (KURL::decode_string): (KURL::parse): (KURL::encode_string): (encodeRelativeString): * kwq/KWQKWin.mm: * kwq/KWQKWinModule.mm: * kwq/KWQLabel.mm: * kwq/KWQLineEdit.mm: * kwq/KWQListBox.mm: * kwq/KWQListImpl.mm: * kwq/KWQLoader.mm: (KWQIsResponseURLEqualToURL): * kwq/KWQMapImpl.h: * kwq/KWQMapImpl.mm: * kwq/KWQMovie.mm: * kwq/KWQObject.mm: * kwq/KWQPageState.mm: * kwq/KWQPaintDeviceMetrics.mm: * kwq/KWQPainter.mm: * kwq/KWQPalette.mm: * kwq/KWQPen.mm: * kwq/KWQPixmap.mm: * kwq/KWQPoint.mm: * kwq/KWQPointArray.mm: * kwq/KWQPtrDictImpl.mm: * kwq/KWQPushButton.mm: * kwq/KWQRect.mm: * kwq/KWQRegExp.mm: * kwq/KWQRegion.mm: * kwq/KWQRenderTreeDebug.cpp: * kwq/KWQResourceLoader.mm: * kwq/KWQScrollBar.mm: * kwq/KWQScrollView.mm: * kwq/KWQSignal.mm: * kwq/KWQSignalStubs.mm: * kwq/KWQSize.mm: * kwq/KWQSlider.mm: * kwq/KWQSlot.mm: * kwq/KWQString.h: * kwq/KWQString.mm: (ALLOC_CHAR): (REALLOC_CHAR): (DELETE_CHAR): (ALLOC_QCHAR): (REALLOC_QCHAR): (DELETE_QCHAR): (_printQStringAllocationStatistics): (allocateHandle): (KWQStringData::operator new): (KWQStringData::operator delete): (freeHandle): * kwq/KWQStringList.mm: * kwq/KWQStyle.mm: * kwq/KWQTextArea.mm: * kwq/KWQTextCodec.mm: * kwq/KWQTextEdit.mm: * kwq/KWQTextField.mm: * kwq/KWQTextStream.mm: * kwq/KWQTextUtilities.mm: * kwq/KWQTimer.mm: * kwq/KWQValueListImpl.h: * kwq/KWQValueListImpl.mm: * kwq/KWQVariant.mm: * kwq/KWQVectorImpl.mm: (KWQVectorImpl::KWQVectorImpl): (KWQVectorImpl::~KWQVectorImpl): (KWQVectorImpl::clear): (KWQVectorImpl::resize): (KWQVectorImpl::assign): * kwq/KWQWMatrix.mm: * kwq/KWQWidget.mm: * kwq/KWQWindowWidget.mm: * kwq/WebCoreBridge.mm: * kwq/WebCoreCache.mm: * kwq/WebCoreEncodings.mm: * kwq/WebCoreJavaScript.mm: * kwq/WebCoreScriptDebugger.mm: * kwq/WebCoreSettings.mm: * kwq/WebCoreTextRendererFactory.mm: * kwq/can-convert.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 23 Sep, 2004 1 commit
-
-
darin authored
- added new VisibleRange class; not used yet * WebCore.pbproj/project.pbxproj: Added visible_range.h and visible_range.cpp. * khtml/editing/visible_range.cpp: Added. * khtml/editing/visible_range.h: Added. - tweaks * kwq/WebCoreBridge.mm: (-[WebCoreBridge alterCurrentSelection:direction:granularity:]): Use switch statement instead of if statement so we get a warning if we ever add a new granularity. * khtml/editing/selection.h: khtml, not DOM, namespace * khtml/editing/visible_position.h: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@7654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 21 Jan, 2003 1 commit
-
-
darin authored
- correct our copyrights to 2003; copyright is based on year of publication, not year worked on git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 31 May, 2002 1 commit
-
-
darin authored
* Makefile.am: Removed some strange uses of "./" and improved stamp-related rules. * WebCore-tests.exp: Removed QDir functions. * khtml/Makefile.am: Removed java subdirectory. * khtml/java/*: Removed. * khtml/rendering/render_applet.cpp: Rearrange APPLE_CHANGES so that we use our own KJavaAppletWidget rather than a QWidget. * kwq/khtml/java/kjavaappletcontext.h: Added. * kwq/khtml/java/kjavaappletwidget.h: Added. * kwq/KWQKJavaAppletWidget.mm: Added. Replaces WCJavaAppletWidget.mm. * kwq/KWQsignals.mm: Removed java-related signals. * khtml/css/Makefile.am: * khtml/misc/Makefile.am: Improve stamp-related rules. * khtml/misc/loader.cpp: Move around and add ifdefs so we don't need as much KWQ code. Maybe revisit this later -- related to the KDE implementation of animated and progressive loading images, which we probably don't need, but it may integrate slightly better than doing our hacks inside QPixmap. * kwq/KWQApplication.mm: * kwq/KWQFontInfo.mm: * kwq/KWQInputDialog.mm: * kwq/KWQKFileDialog.mm: * kwq/KWQKHTMLPartBrowserExtension.mm: * kwq/KWQKWin.mm: * kwq/KWQKWinModule.mm: * kwq/KWQKstddirs.mm: * kwq/KWQPixmap.mm: Simplified, removed unused code, minor tweaks. * kwq/Makefile.am: Removed all the old files, added some new ones. * kwq/KWQBitmap.mm: Removed. * kwq/KWQBrush.mm: Removed. * kwq/KWQDCOPClient.mm: Removed. * kwq/KWQDataStream.h: Removed. * kwq/KWQDir.mm: Removed. * kwq/KWQFontDatabase.mm: Removed. * kwq/KWQImage.mm: Removed. * kwq/KWQKInstance.mm: Removed. * kwq/KWQPaintDevice.mm: Removed. * kwq/KWQPart.mm: Removed. * kwq/KWQasyncimageio.mm: Removed. * kwq/KWQasyncio.mm: Removed. * kwq/KWQbrowserextension.mm: Removed. * kwq/WCJavaAppletWidget.h: Removed. * kwq/WCJavaAppletWidget.mm: Removed. * kwq/qt/qdatastream.h: Removed. * kwq/qt/qdir.h: Removed. * kwq/qt/qlayout.h: Removed. * kwq/KWQCursor.mm: (QCursor::handle): Return the cursor object as an integer rather than just returning 0; makes the code that uses handle() more likely to work although it introduces a 64-bit cleanliness problem. * kwq/KWQEvent.mm: Initialize event type in QEvent subclasses. * kwq/WebCoreImageRenderer.h: Added NSObject and NSCopying protocols to the WebCoreImageRenderer protocol. * kwq/kwqdebug.h: Use displayableString in DEBUG_OBJECT for better logging. * kwq/dcop/dcopclient.h: * kwq/kdecore/kstddirs.h: * kwq/kdecore/kwin.h: * kwq/kdecore/kwinmodule.h: * kwq/kfile/kfiledialog.h: * kwq/kparts/browserextension.h: * kwq/kparts/event.h: * kwq/qt/qapplication.h: * kwq/qt/qasyncimageio.h: * kwq/qt/qasyncio.h: * kwq/qt/qbitmap.h: * kwq/qt/qbrush.h: * kwq/qt/qbutton.h: * kwq/qt/qcheckbox.h: * kwq/qt/qcollection.h: * kwq/qt/qcolor.h: * kwq/qt/qcombobox.h: * kwq/qt/qcursor.h: * kwq/qt/qdrawutil.h: * kwq/qt/qevent.h: * kwq/qt/qfont.h: * kwq/qt/qfontdatabase.h: * kwq/qt/qfontinfo.h: * kwq/qt/qimage.h: * kwq/qt/qinputdialog.h: * kwq/qt/qintcache.h: * kwq/qt/qintdict.h: * kwq/qt/qpaintdevice.h: * kwq/qt/qpixmap.h: * kwq/qt/qstring.h: Removed lots of unused stuff, including old conditionals and the like. * khtml/khtml_part.cpp: (KHTMLPart::khtmlMouseMoveEvent): Add missing parenthesis. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Oct, 2001 1 commit
-
-
rjw authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 Sep, 2001 1 commit
-
-
kocienda authored
- Adding a no-arg constructor for every class that didn't have one - Adding a destructor for every class that didn't have one - Adding a private copy constructor for every class that didn't have one - Adding a private assignment operator for every class that didn't have one - Pretty formatting git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 06 Sep, 2001 2 commits
-
-
kocienda authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kocienda authored
destructors, assignment operators, etc. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Sep, 2001 2 commits
-
-
kocienda authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kocienda authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 30 Aug, 2001 1 commit
-
-
kocienda authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Aug, 2001 1 commit
-
-
gramps authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 24 Aug, 2001 1 commit
-
-
gramps authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-