Timeline



Nov 21, 2005:

6:22 PM Changeset in webkit [11278] by eseidel
  • 4 edits in trunk/WebCore

Bug #: none
Submitted by: eseidel
Reviewed by: No review required, svg target only.

Fixed (hacked?) gradient stop style inheritance since style is not
currently resolved for nodes which do not create renderers,
breaking style resolution across resource-creating nodes
such as gradients, patterns, use, filters, etc.
Also fixed SVG CSS values to be case-insensitive.

  • WebCore.xcodeproj/project.pbxproj: case insensitivity
  • ksvg2/svg/SVGClipPathElementImpl.cpp: (SVGClipPathElementImpl::canvasResource): alternative style call
  • ksvg2/svg/SVGGradientElementImpl.cpp: (SVGGradientElementImpl::rebuildStops): manual style resolution
4:09 PM Changeset in webkit [11277] by eseidel
  • 18 edits in trunk/WebCore

Bug #: none
Submitted by: eseidel
Reviewed by: No review required, svg target only.

No additional test cases needed, this fixes 30 or so existing tests

Standardized all isFoo() methods to use const, which actually
fixes svg_dynmaic_cast
Fixed crasher in SVGGradientElementImpl (missing 0 init)
Broke up SVGPatternElementImpl::notifyAttributeChange

  • kcanvas/KCanvasFilters.cpp: (KCanvasFilter::addFilterEffect): now asserts !0
  • kcanvas/KCanvasFilters.h: (KCanvasFilter::isFilter): added (KCanvasFEImage::image): now RenderObject * (KCanvasFEImage::setImage): now RenderObject *
  • kcanvas/KCanvasResources.cpp: (KCanvasMarker::draw): now uses paint() (getResourceById): added debug loggging
  • kcanvas/KCanvasResources.h: (KCanvasResource::isPaintServer): const (KCanvasResource::isFilter): const (KCanvasResource::isClipper): const (KCanvasResource::isMarker): const (KCanvasClipper::isClipper): added (KCanvasMarker::isMarker): added
  • kcanvas/device/KRenderingPaintServer.h: (KRenderingPaintServer::isPaintServer): added
  • ksvg2/svg/SVGElementImpl.cpp: (SVGElementImpl::parseMappedAttribute): removed extra doc check
  • ksvg2/svg/SVGElementImpl.h: (KSVG::SVGElementImpl::isSVGElement): const (KSVG::SVGElementImpl::isFilterEffect): const (KSVG::SVGElementImpl::isGradientStop): const (KSVG::SVGElementImpl::isValid): const (KSVG::SVGElementImpl::isClosed): const
  • ksvg2/svg/SVGFEImageElementImpl.cpp: (SVGFEImageElementImpl::SVGFEImageElementImpl): (SVGFEImageElementImpl::parseMappedAttribute): load image (SVGFEImageElementImpl::notifyFinished): moved logic (SVGFEImageElementImpl::filterEffect): lazy create
  • ksvg2/svg/SVGFEImageElementImpl.h:
  • ksvg2/svg/SVGFilterElementImpl.cpp: (SVGFilterElementImpl::canvasResource): added
  • ksvg2/svg/SVGFilterPrimitiveStandardAttributesImpl.h: (KSVG::SVGFilterPrimitiveStandardAttributesImpl::isFilterEffect):
  • ksvg2/svg/SVGGradientElementImpl.cpp: (SVGGradientElementImpl::SVGGradientElementImpl): init to 0
  • ksvg2/svg/SVGPatternElementImpl.cpp: (SVGPatternElementImpl::fillAttributesFromReferencePattern): (SVGPatternElementImpl::drawPatternContentIntoTile): (SVGPatternElementImpl::notifyClientsToRepaint): (SVGPatternElementImpl::notifyAttributeChange): split into pieces
  • ksvg2/svg/SVGPatternElementImpl.h:
  • ksvg2/svg/SVGStopElementImpl.h: (KSVG::SVGStopElementImpl::isGradientStop): const
  • ksvg2/svg/SVGTestsImpl.cpp: (SVGTestsImpl::isValid): const
  • ksvg2/svg/SVGTestsImpl.h:
3:59 AM Changeset in webkit [11276] by eseidel
  • 7 edits in trunk/WebCore

Bug #: none
Submitted by: eseidel
Reviewed by: No review required, SVG target only.

Fix SVG from having duplicate entries (with khtml) in its
cssproperties.in and cssvalues.in files. I've added an explicit
check in the build phase for duplicates to prevent this in the
future. Minor code adjustments were necessary to use these
the khtml value & property ids.

No additional test cases needed, this change fixes:
W3C-SVG-1.1/painting-stroke-02-t
W3C-SVG-1.1/painting-stroke-03-t

  • WebCore.xcodeproj/project.pbxproj: duplicate id check
  • ksvg2/css/KSVGCSSParser.cpp: (DOM::CSSParser::parseSVGValue):
  • ksvg2/css/SVGCSSStyleSelector.cpp: (KDOM::CSSStyleSelector::applySVGProperty):
  • ksvg2/css/cssproperties.in: commented out duplicates
  • ksvg2/css/cssvalues.in: commented out duplicates
  • ksvg2/svg/SVGStyledTransformableElementImpl.cpp: (SVGStyledTransformableElementImpl::parseMappedAttribute):
1:39 AM Changeset in webkit [11275] by eseidel
  • 2 edits in trunk/JavaScriptCore

Bug #: 5788
Submitted by: eseidel
Reviewed by: Rubber-stamped by hyatt.

Removed JavaScriptCore+SVG target.

1:36 AM Changeset in webkit [11274] by eseidel
  • 6 edits in trunk/WebKitTools

Bug #: 5788
Submitted by: eseidel
Reviewed by: hyatt

Some simple fixes to the build/test scripts now that SVG uses the
WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
or symlinks for KDOM.

  • Scripts/build-webkit: No longer builds JavaScriptCore+SVG
  • Scripts/prepare-ChangeLog: handles missing LayoutTests directory
  • Scripts/run-webkit-tests: now runs SVG tests using DRT
  • Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
  • checkout: no longer symlink kdom
12:29 AM Changeset in webkit [11273] by eseidel
  • 210 edits
    29 adds
    33 deletes in trunk

Bug #: 3249
Submitted by: eseidel
Reviewed by: Only affects SVG; no review required (or possible due to size).

The KSVG/KCanvas section of the big DOM merger.
http://bugzilla.opendarwin.org/show_bug.cgi?id=3249
At least the following were addressed in this patch:

  • Namespace mapping (KDOM -> DOM, khtml)
  • Forwarding Headers (temp. all kdom .h map to all webcore .h)
  • Various KDOM stub classes added to WebCore+SVG folder
  • Various DOMStringImpl -> DOMString changes
  • DOMString::string() -> DOMString::qstring() in ksvg2
  • DOMString::handle() -> DOMString::impl() in ksvg2
  • DocumentImpl, DocumentType ::impl() -> ::implentation() in khtml
  • Moved NodeImpl::Id to QualifiedString/AtomicString in ksvg2
  • SVGNames.*, SVGElementFactory.* (and generating perl script)
  • EventImpl::id() -> type() with AtomicString
  • Removal of SVGEventImpl
  • Adding svg document and event creation in xml_docimpl.h
  • All in SVGDocumentImpl, also now using SharedPtr
  • Mapped KSVGPart, KDOMPart, KSVGView, KDOMView to KHTML*
  • Removed all throw calls, replacing with exceptioncode parameters
  • SVGElement now derives from StyledElementImpl
  • Corrected SVGNames cases (viewBoxAttr vs. viewboxAttr)
  • Moved TimeScheduler from Doc -> SVGSVGElement (temp. & wrong)
  • Moved off of DocPtr onto DocumentImpl * directly in ksvg2
  • Made SVGRenderStyle a member of khtml::RenderStyle
  • Worked KSVGCSSParser into CSSParser
  • Worked SVGCSSStyleSelector into CSSStyleSelector
  • Changed parseAttribute -> parseMappedAttribute
  • Moved KCanvasContainer onto RenderContainer
  • Renamed KCanvasItem, RenderPath, now subclass of RenderObject
  • Added RenderObject: bbox(), isRenderPath(), isKCanvasContainer()
  • Moved KCanvasContainer and RenderPath from draw() -> paint()
  • Removed RenderSVGBox && render_kcanvaswrapper hacks
  • Gutted KCanvasItem (now RenderPath) and KCanvasContainer
  • Merged KCanvasTreeDebug into KWQRenderTreeDebug
  • Made SVGNames.* SVGElementFactory.* generation a build phase
  • Removed KRenderingStyle
  • Gutted KCanvasRenderingStyle
  • Moved objectTransform onto RenderObject as "localTransform"
  • Removed KCanvasRegistry
  • Changed the way Graidents build their stop lists
  • Removed all dynamic_cast, turned off RTTI and Exceptions
  • Picked up recent marker fix & relative transform fixes from KDE
  • ForwardingHeaders/kcanvas/KCanvas.h: Added.
  • ForwardingHeaders/kcanvas/RenderPath.h: Added.
  • ForwardingHeaders/kdom/core/AttrImpl.h: Added.
  • ForwardingHeaders/kdom/core/CDFInterface.h: Added.
  • ForwardingHeaders/kdom/core/DOMConfigurationImpl.h: Added.
  • ForwardingHeaders/kdom/core/DOMExceptionImpl.h: Added.
  • ForwardingHeaders/kdom/core/DOMImplementationImpl.h: Added.
  • ForwardingHeaders/kdom/core/DOMList.h: Added.
  • ForwardingHeaders/kdom/core/DOMStringImpl.h: Added.
  • ForwardingHeaders/kdom/core/DocumentImpl.h: Added.
  • ForwardingHeaders/kdom/core/DocumentTypeImpl.h: Added.
  • ForwardingHeaders/kdom/core/ElementImpl.h: Added.
  • ForwardingHeaders/kdom/core/NamedAttrMapImpl.h: Added.
  • ForwardingHeaders/kdom/core/NodeImpl.h: Added.
  • ForwardingHeaders/kdom/core/NodeListImpl.h: Added.
  • ForwardingHeaders/kdom/core/ProcessingInstructionImpl.h: Added.
  • ForwardingHeaders/kdom/core/XMLElementImpl.h: Added.
  • ForwardingHeaders/kdom/core/domattrs.h: Added.
  • WebCore+SVG/DrawCanvasItem.mm: (-[DrawCanvasItem dragAnchorPointForControlPointIndex:]): (-[DrawCanvasItem controlPoints]): (-[DrawCanvasItem fitToNewBBox:]): (-[DrawCanvasItem valueForKey:]): (-[DrawCanvasItem attributedXMLString]):
  • WebCore+SVG/DrawDocument.mm: (-[DrawView initWithSVGData:]): (-[DrawView svgText]): (-[DrawDocument documentListensForMouseMovedEvents]): (-[DrawDocument documentListensForMouseDownEvents]): (-[DrawDocument documentListensForMouseUpEvents]): (-[DrawDocument KDOM::newMouseEventWithEventId:KDOM::qMouseEvent:]): (cursorForStyle): (-[DrawDocument cursorAfterPropagatingMouseMovedEvent:fromView:]): (-[DrawDocument removeItemFromDOM:]): (-[DrawDocument createItemForTool:atPoint:]):
  • WebCore+SVG/KDOMHeaders.h:
  • WebCore+SVG/KDOMSettings.cpp:
  • WebCore+SVG/SVGElementFactoryWrapper.cpp: Added.
  • WebCore+SVG/SVGNames.cpp: Removed.
  • WebCore+SVG/SVGNames.h: Removed.
  • WebCore+SVG/SVGNamesWrapper.cpp: Added.
  • WebCore+SVG/dom_kdomdocumentwrapper.cpp: Removed.
  • WebCore+SVG/dom_kdomdocumentwrapper.h: Removed.
  • WebCore+SVG/dom_kdomnodetreewrapper.cpp: Removed.
  • WebCore+SVG/dom_kdomnodetreewrapper.h: Removed.
  • WebCore+SVG/render_kcanvaswrapper.cpp: Removed.
  • WebCore+SVG/render_kcanvaswrapper.h: Removed.
  • WebCore+SVG/xml_kdomtokenizer.cpp: Removed.
  • WebCore.xcodeproj/project.pbxproj:
  • kcanvas/KCanvas.cpp: Removed.
  • kcanvas/KCanvas.h: Removed.
  • kcanvas/KCanvasContainer.cpp: (KCanvasContainer::Private::Private): (KCanvasContainer::KCanvasContainer): (KCanvasContainer::~KCanvasContainer): (KCanvasContainer::localTransform): (KCanvasContainer::setLocalTransform): (KCanvasContainer::fillContains): (KCanvasContainer::strokeContains): (KCanvasContainer::bbox): (KCanvasContainer::setSlice): (KCanvasContainer::slice): (KCanvasContainer::getAspectRatio):
  • kcanvas/KCanvasContainer.h: (KCanvasContainer::isKCanvasContainer): (KCanvasContainer::renderName):
  • kcanvas/KCanvasCreator.cpp: (KCanvasCreator::createCanvasPathData):
  • kcanvas/KCanvasCreator.h:
  • kcanvas/KCanvasFilters.cpp: (getFilterById):
  • kcanvas/KCanvasFilters.h: (KCanvasFEImage::image): (KCanvasFEImage::setImage):
  • kcanvas/KCanvasItem.cpp: (RenderPath::Private::Private): (RenderPath::Private::~Private): (RenderPath::RenderPath): (RenderPath::~RenderPath): (RenderPath::setStyle): (RenderPath::localTransform): (RenderPath::setLocalTransform): (RenderPath::fillContains): (RenderPath::strokeContains): (RenderPath::bbox): (RenderPath::hitsPath): (RenderPath::bboxPath): (RenderPath::setupForDraw): (RenderPath::changePath): (RenderPath::path): (RenderPath::canvasStyle): (RenderPath::commonArgs):
  • kcanvas/KCanvasItem.h: (RenderPath::isRenderPath): (RenderPath::renderName):
  • kcanvas/KCanvasResources.cpp: (KCanvasResource::addClient): (KCanvasResource::invalidate): (KCanvasMarker::KCanvasMarker): (KCanvasMarker::setMarker): (KCanvasMarker::setUseStrokeWidth): (KCanvasMarker::useStrokeWidth): (KCanvasMarker::setScaleX): (KCanvasMarker::scaleX): (KCanvasMarker::setScaleY): (KCanvasMarker::scaleY): (KCanvasMarker::draw): (getResourceById): (getMarkerById): (getClipperById): (getPaintServerById):
  • kcanvas/KCanvasResources.h: (KCanvasResource::isPaintServer): (KCanvasResource::isFilter): (KCanvasResource::isClipper): (KCanvasResource::isMarker):
  • kcanvas/KCanvasTreeDebug.cpp: (operator<<): (writeStyle): (getTagName): (write):
  • kcanvas/KCanvasTreeDebug.h:
  • kcanvas/KCanvasTypes.h:
  • kcanvas/KCanvasView.cpp: Removed.
  • kcanvas/KCanvasView.h: Removed.
  • kcanvas/KCanvasView.moc: Removed.
  • kcanvas/device/KRenderingDevice.cpp: (KCanvasCommonArgs::KCanvasCommonArgs): (KCanvasCommonArgs::canvasStyle): (KCanvasCommonArgs::setStyle):
  • kcanvas/device/KRenderingDevice.h:
  • kcanvas/device/KRenderingDeviceFactory.cpp: Removed.
  • kcanvas/device/KRenderingDeviceFactory.h: Removed.
  • kcanvas/device/KRenderingPaintServer.h: (KRenderingPaintServer::activeClient): (KRenderingPaintServer::setActiveClient):
  • kcanvas/device/KRenderingPaintServerGradient.cpp: (KRenderingPaintServerGradient::externalRepresentation):
  • kcanvas/device/KRenderingPaintServerPattern.cpp: (KRenderingPaintServerPattern::externalRepresentation):
  • kcanvas/device/KRenderingStrokePainter.h:
  • kcanvas/device/KRenderingStyle.cpp: Removed.
  • kcanvas/device/KRenderingStyle.h: Removed.
  • kcanvas/device/quartz/KCanvasFilterQuartz.h:
  • kcanvas/device/quartz/KCanvasFilterQuartz.mm: (KCanvasFilterQuartz::applyFilter):
  • kcanvas/device/quartz/KCanvasItemQuartz.h: (KCanvasItemQuartz::requiresLayer): (KCanvasItemQuartz::layout):
  • kcanvas/device/quartz/KCanvasItemQuartz.mm: (KCanvasItemQuartz::KCanvasItemQuartz): (KCanvasItemQuartz::drawMarkersIfNeeded): (KCanvasItemQuartz::paint): (KCanvasItemQuartz::nodeAtPoint): (KCanvasItemQuartz::bboxPath): (KCanvasItemQuartz::hitsPath):
  • kcanvas/device/quartz/KCanvasResourcesQuartz.h: (KCanvasContainerQuartz::KCanvasContainerQuartz): (KCanvasContainerQuartz::canHaveChildren): (KCanvasContainerQuartz::requiresLayer):
  • kcanvas/device/quartz/KCanvasResourcesQuartz.mm: (KCanvasContainerQuartz::calcMinMaxWidth): (KCanvasContainerQuartz::layout): (KCanvasContainerQuartz::paint): (KCanvasContainerQuartz::setViewport): (KCanvasContainerQuartz::viewport): (KCanvasContainerQuartz::setViewBox): (KCanvasContainerQuartz::viewBox): (KCanvasContainerQuartz::setAlign): (KCanvasContainerQuartz::align): (KCanvasClipperQuartz::applyClip):
  • kcanvas/device/quartz/KCanvasViewQuartz.h: Removed.
  • kcanvas/device/quartz/KCanvasViewQuartz.mm: Removed.
  • kcanvas/device/quartz/KRenderingDeviceQuartz.h:
  • kcanvas/device/quartz/KRenderingDeviceQuartz.mm: (KRenderingDeviceContextQuartz::concatCTM): (KRenderingDeviceContextQuartz::ctm): (KRenderingDeviceQuartz::stringForPath): (KRenderingDeviceQuartz::createContainer): (KRenderingDeviceQuartz::createItem):
  • kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm: (drawShadingWithStyle): (KRenderingPaintServerLinearGradientQuartz::draw): (KRenderingPaintServerRadialGradientQuartz::draw):
  • kcanvas/device/quartz/KRenderingPaintServerQuartz.mm: (KRenderingPaintServerSolidQuartz::draw): (KRenderingPaintServerPatternQuartz::draw):
  • kcanvas/device/quartz/QuartzSupport.h:
  • kcanvas/device/quartz/QuartzSupport.mm: (CFStringFromCGAffineTransform): (CGAffineTransformMakeMapBetweenRects): (CGPathTransformCallback): (CGPathApplyTransform): (applyStrokeStyleToContext): (CGPathToCFStringApplierFunction): (CFStringFromCGPath):
  • kdom/bindings/DocParser.pm: Removed.
  • kdom/bindings/IDLCodeGenerator.pm: Removed.
  • kdom/bindings/IDLCodeGeneratorCpp.pm: Removed.
  • kdom/bindings/IDLCodeGeneratorEcmaInterface.pm: Removed.
  • kdom/bindings/IDLCodeGeneratorJs.pm: Removed.
  • kdom/bindings/IDLParser.pm: Removed.
  • kdom/bindings/IDLStructure.pm: Removed.
  • kdom/bindings/idl/core/Attr.idl: Removed.
  • kdom/bindings/idl/core/CDATASection.idl: Removed.
  • kdom/bindings/idl/core/CharacterData.idl: Removed.
  • kdom/bindings/idl/core/Comment.idl: Removed.
  • kdom/bindings/idl/core/DOMConfiguration.idl: Removed.
  • kdom/bindings/idl/core/DOMError.idl: Removed.
  • kdom/bindings/idl/core/DOMErrorHandler.idl: Removed.
  • kdom/bindings/idl/core/DOMException.idl: Removed.
  • kdom/bindings/idl/core/DOMImplementation.idl: Removed.
  • kdom/bindings/idl/core/DOMLocator.idl: Removed.
  • kdom/bindings/idl/core/DOMObject.idl: Removed.
  • kdom/bindings/idl/core/DOMStringList.idl: Removed.
  • kdom/bindings/idl/core/DOMUserData.idl: Removed.
  • kdom/bindings/idl/core/Document.idl: Removed.
  • kdom/bindings/idl/core/DocumentFragment.idl: Removed.
  • kdom/bindings/idl/core/DocumentType.idl: Removed.
  • kdom/bindings/idl/core/Element.idl: Removed.
  • kdom/bindings/idl/core/Entity.idl: Removed.
  • kdom/bindings/idl/core/EntityReference.idl: Removed.
  • kdom/bindings/idl/core/NamedNodeMap.idl: Removed.
  • kdom/bindings/idl/core/Node.idl: Removed.
  • kdom/bindings/idl/core/NodeList.idl: Removed.
  • kdom/bindings/idl/core/Notation.idl: Removed.
  • kdom/bindings/idl/core/ProcessingInstruction.idl: Removed.
  • kdom/bindings/idl/core/Text.idl: Removed.
  • kdom/bindings/idl/core/TypeInfo.idl: Removed.
  • kdom/bindings/idl/core/kdomdefs.idl: Removed.
  • kdom/bindings/idl/css/CSS2Properties.idl: Removed.
  • kdom/bindings/idl/css/CSSCharsetRule.idl: Removed.
  • kdom/bindings/idl/css/CSSFontFaceRule.idl: Removed.
  • kdom/bindings/idl/css/CSSImportRule.idl: Removed.
  • kdom/bindings/idl/css/CSSMediaRule.idl: Removed.
  • kdom/bindings/idl/css/CSSPageRule.idl: Removed.
  • kdom/bindings/idl/css/CSSPrimitiveValue.idl: Removed.
  • kdom/bindings/idl/css/CSSRule.idl: Removed.
  • kdom/bindings/idl/css/CSSRuleList.idl: Removed.
  • kdom/bindings/idl/css/CSSStyleDeclaration.idl: Removed.
  • kdom/bindings/idl/css/CSSStyleRule.idl: Removed.
  • kdom/bindings/idl/css/CSSStyleSheet.idl: Removed.
  • kdom/bindings/idl/css/CSSUnknownRule.idl: Removed.
  • kdom/bindings/idl/css/CSSValue.idl: Removed.
  • kdom/bindings/idl/css/CSSValueList.idl: Removed.
  • kdom/bindings/idl/css/Counter.idl: Removed.
  • kdom/bindings/idl/css/DocumentCSS.idl: Removed.
  • kdom/bindings/idl/css/ElementCSSInlineStyle.idl: Removed.
  • kdom/bindings/idl/css/RGBColor.idl: Removed.
  • kdom/bindings/idl/css/Rect.idl: Removed.
  • kdom/bindings/idl/css/kdomdefs.idl: Removed.
  • kdom/bindings/idl/events/DocumentEvent.idl: Removed.
  • kdom/bindings/idl/events/Event.idl: Removed.
  • kdom/bindings/idl/events/EventException.idl: Removed.
  • kdom/bindings/idl/events/EventListener.idl: Removed.
  • kdom/bindings/idl/events/EventTarget.idl: Removed.
  • kdom/bindings/idl/events/MouseEvent.idl: Removed.
  • kdom/bindings/idl/events/MutationEvent.idl: Removed.
  • kdom/bindings/idl/events/UIEvent.idl: Removed.
  • kdom/bindings/idl/events/kdomdefs.idl: Removed.
  • kdom/bindings/idl/ls/DOMImplementationLS.idl: Removed.
  • kdom/bindings/idl/ls/LSException.idl: Removed.
  • kdom/bindings/idl/ls/LSInput.idl: Removed.
  • kdom/bindings/idl/ls/LSOutput.idl: Removed.
  • kdom/bindings/idl/ls/LSParser.idl: Removed.
  • kdom/bindings/idl/ls/LSParserFilter.idl: Removed.
  • kdom/bindings/idl/ls/LSResourceResolver.idl: Removed.
  • kdom/bindings/idl/ls/LSSerializer.idl: Removed.
  • kdom/bindings/idl/ls/LSSerializerFilter.idl: Removed.
  • kdom/bindings/idl/ls/kdomdefs.idl: Removed.
  • kdom/bindings/idl/range/DocumentRange.idl: Removed.
  • kdom/bindings/idl/range/Range.idl: Removed.
  • kdom/bindings/idl/range/RangeException.idl: Removed.
  • kdom/bindings/idl/range/kdomdefs.idl: Removed.
  • kdom/bindings/idl/stylesheets/DocumentStyle.idl: Removed.
  • kdom/bindings/idl/stylesheets/LinkStyle.idl: Removed.
  • kdom/bindings/idl/stylesheets/MediaList.idl: Removed.
  • kdom/bindings/idl/stylesheets/StyleSheet.idl: Removed.
  • kdom/bindings/idl/stylesheets/StyleSheetList.idl: Removed.
  • kdom/bindings/idl/stylesheets/kdomdefs.idl: Removed.
  • kdom/bindings/idl/traversal/DocumentTraversal.idl: Removed.
  • kdom/bindings/idl/traversal/NodeFilter.idl: Removed.
  • kdom/bindings/idl/traversal/NodeIterator.idl: Removed.
  • kdom/bindings/idl/traversal/TreeWalker.idl: Removed.
  • kdom/bindings/idl/traversal/kdomdefs.idl: Removed.
  • kdom/bindings/idl/views/AbstractView.idl: Removed.
  • kdom/bindings/idl/views/DocumentView.idl: Removed.
  • kdom/bindings/idl/views/kdomdefs.idl: Removed.
  • kdom/bindings/idl/xpath/XPathEvaluator.idl: Removed.
  • kdom/bindings/idl/xpath/XPathException.idl: Removed.
  • kdom/bindings/idl/xpath/XPathExpression.idl: Removed.
  • kdom/bindings/idl/xpath/XPathNSResolver.idl: Removed.
  • kdom/bindings/idl/xpath/XPathNamespace.idl: Removed.
  • kdom/bindings/idl/xpath/XPathResult.idl: Removed.
  • kdom/bindings/idl/xpath/kdomdefs.idl: Removed.
  • kdom/bindings/idl/xpointer/XPointerEvaluator.idl: Removed.
  • kdom/bindings/idl/xpointer/XPointerException.idl: Removed.
  • kdom/bindings/idl/xpointer/XPointerExpression.idl: Removed.
  • kdom/bindings/idl/xpointer/XPointerResult.idl: Removed.
  • kdom/bindings/idl/xpointer/kdomdefs.idl: Removed.
  • kdom/bindings/kdombinder.sh: Removed.
  • kdom/bindings/kdomidl.pl: Removed.
  • kdom/ls/DOMImplementationLSImpl.cpp: Removed.
  • kdom/ls/DOMImplementationLSImpl.h: Removed.
  • kdom/ls/LSExceptionImpl.cpp: Removed.
  • kdom/ls/LSExceptionImpl.h: Removed.
  • kdom/ls/LSInputImpl.cpp: Removed.
  • kdom/ls/LSInputImpl.h: Removed.
  • kdom/ls/LSOutputImpl.cpp: Removed.
  • kdom/ls/LSOutputImpl.h: Removed.
  • kdom/ls/LSParserFilterImpl.cpp: Removed.
  • kdom/ls/LSParserFilterImpl.h: Removed.
  • kdom/ls/LSParserImpl.cpp: Removed.
  • kdom/ls/LSParserImpl.h: Removed.
  • kdom/ls/LSResourceResolverImpl.cpp: Removed.
  • kdom/ls/LSResourceResolverImpl.h: Removed.
  • kdom/ls/LSSerializerFilterImpl.cpp: Removed.
  • kdom/ls/LSSerializerFilterImpl.h: Removed.
  • kdom/ls/LSSerializerImpl.cpp: Removed.
  • kdom/ls/LSSerializerImpl.h: Removed.
  • kdom/ls/kdomls.h: Removed.
  • kdom/scripts/cssmakeprops: Removed.
  • kdom/scripts/cssmakevalues: Removed.
  • ksvg2/KSVGFactory.cpp: Removed.
  • ksvg2/KSVGFactory.h: Removed.
  • ksvg2/css/KSVGCSSParser.cpp: (DOM::CSSParser::parseSVGValue): (DOM::CSSParser::parseSVGStrokeDasharray): (DOM::CSSParser::parseSVGPaint): (DOM::CSSParser::parseSVGColor):
  • ksvg2/css/SVGCSSStyleDeclarationImpl.cpp: Removed.
  • ksvg2/css/SVGCSSStyleDeclarationImpl.h: Removed.
  • ksvg2/css/SVGCSSStyleSelector.cpp: (KDOM::CSSStyleSelector::applySVGProperty):
  • ksvg2/css/SVGCSSStyleSheetImpl.cpp: Removed.
  • ksvg2/css/SVGCSSStyleSheetImpl.h: Removed.
  • ksvg2/css/SVGRenderStyle.cpp: (SVGRenderStyle::SVGRenderStyle): (SVGRenderStyle::equals): (SVGRenderStyle::inheritFrom):
  • ksvg2/css/SVGRenderStyle.h: (KSVG::SVGRenderStyle::SVGRenderStyle):
  • ksvg2/css/SVGRenderStyleDefs.cpp: (StyleMiscData::StyleMiscData): (StyleMiscData::operator==):
  • ksvg2/css/SVGRenderStyleDefs.h:
  • ksvg2/ecma/Ecma.cpp: (Ecma::inheritedGetDOMNode):
  • ksvg2/ecma/GlobalObject.cpp:
  • ksvg2/events/SVGZoomEventImpl.cpp: (SVGZoomEventImpl::SVGZoomEventImpl):
  • ksvg2/events/SVGZoomEventImpl.h:
  • ksvg2/misc/KCanvasRenderingStyle.cpp: (KCanvasRenderingStyle::KCanvasRenderingStyle): (KCanvasRenderingStyle::updateFill): (KCanvasRenderingStyle::updateStroke): (KCanvasRenderingStyle::updateStyle): (KCanvasRenderingStyle::cssPrimitiveToLength):
  • ksvg2/misc/KCanvasRenderingStyle.h: (KSVG::KCanvasRenderingStyle::renderStyle):
  • ksvg2/misc/KSVGTimeScheduler.cpp: (KSVG::SVGTimer::notifyAll): (KSVG::TimeScheduler::TimeScheduler):
  • ksvg2/misc/KSVGTimeScheduler.h: (KSVG::TimeScheduler::document):
  • ksvg2/scripts/cssmakeprops: Added.
  • ksvg2/scripts/cssmakevalues: Added.
  • ksvg2/scripts/make_names.pl: Added.
  • ksvg2/svg/CDFInterface.cpp: Removed.
  • ksvg2/svg/CDFInterface.h: Removed.
  • ksvg2/svg/SVGAElementImpl.cpp: (SVGAElementImpl::SVGAElementImpl): (SVGAElementImpl::parseMappedAttribute): (SVGAElementImpl::createRenderer): (SVGAElementImpl::defaultEventHandler):
  • ksvg2/svg/SVGAElementImpl.h: (KSVG::SVGAElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGAngleImpl.cpp: (SVGAngleImpl::setValueAsString): (SVGAngleImpl::valueAsString):
  • ksvg2/svg/SVGAnimateColorElementImpl.cpp: (SVGAnimateColorElementImpl::SVGAnimateColorElementImpl): (SVGAnimateColorElementImpl::handleTimerEvent):
  • ksvg2/svg/SVGAnimateColorElementImpl.h:
  • ksvg2/svg/SVGAnimateElementImpl.cpp: (SVGAnimateElementImpl::SVGAnimateElementImpl): (SVGAnimateElementImpl::handleTimerEvent):
  • ksvg2/svg/SVGAnimateElementImpl.h:
  • ksvg2/svg/SVGAnimateTransformElementImpl.cpp: (SVGAnimateTransformElementImpl::SVGAnimateTransformElementImpl): (SVGAnimateTransformElementImpl::~SVGAnimateTransformElementImpl): (SVGAnimateTransformElementImpl::parseMappedAttribute): (SVGAnimateTransformElementImpl::handleTimerEvent): (SVGAnimateTransformElementImpl::initialMatrix): (SVGAnimateTransformElementImpl::transformMatrix):
  • ksvg2/svg/SVGAnimateTransformElementImpl.h:
  • ksvg2/svg/SVGAnimatedLengthListImpl.cpp:
  • ksvg2/svg/SVGAnimatedLengthListImpl.h:
  • ksvg2/svg/SVGAnimatedNumberListImpl.cpp:
  • ksvg2/svg/SVGAnimatedNumberListImpl.h:
  • ksvg2/svg/SVGAnimatedStringImpl.cpp: (SVGAnimatedStringImpl::create):
  • ksvg2/svg/SVGAnimatedStringImpl.h:
  • ksvg2/svg/SVGAnimatedTemplate.h: (KSVG::SVGAnimatedTemplate::setBaseVal): (KSVG::SVGAnimatedTemplate::setAnimVal):
  • ksvg2/svg/SVGAnimatedTransformListImpl.cpp:
  • ksvg2/svg/SVGAnimatedTransformListImpl.h:
  • ksvg2/svg/SVGAnimationElementImpl.cpp: (SVGAnimationElementImpl::SVGAnimationElementImpl): (SVGAnimationElementImpl::targetElement): (SVGAnimationElementImpl::parseMappedAttribute): (SVGAnimationElementImpl::closeRenderer): (SVGAnimationElementImpl::targetAttribute): (SVGAnimationElementImpl::setTargetAttribute):
  • ksvg2/svg/SVGAnimationElementImpl.h: (KSVG::SVGAnimationElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGCircleElementImpl.cpp: (SVGCircleElementImpl::SVGCircleElementImpl): (SVGCircleElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGCircleElementImpl.h: (KSVG::SVGCircleElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGClipPathElementImpl.cpp: (SVGClipPathElementImpl::SVGClipPathElementImpl): (SVGClipPathElementImpl::parseMappedAttribute): (SVGClipPathElementImpl::canvasResource):
  • ksvg2/svg/SVGClipPathElementImpl.h:
  • ksvg2/svg/SVGColorImpl.cpp: (SVGColorImpl::rgbColor): (SVGColorImpl::setRGBColor): (SVGColorImpl::cssText):
  • ksvg2/svg/SVGColorImpl.h:
  • ksvg2/svg/SVGComponentTransferFunctionElementImpl.cpp: (SVGComponentTransferFunctionElementImpl::SVGComponentTransferFunctionElementImpl): (SVGComponentTransferFunctionElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGComponentTransferFunctionElementImpl.h:
  • ksvg2/svg/SVGCursorElementImpl.cpp: (SVGCursorElementImpl::SVGCursorElementImpl): (SVGCursorElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGCursorElementImpl.h:
  • ksvg2/svg/SVGDOMImplementationImpl.cpp: (SVGDOMImplementationImpl::~SVGDOMImplementationImpl): (SVGDOMImplementationImpl::hasFeature): (SVGDOMImplementationImpl::createDocumentType): (SVGDOMImplementationImpl::createDocument): (SVGDOMImplementationImpl::createCSSStyleSheet):
  • ksvg2/svg/SVGDOMImplementationImpl.h:
  • ksvg2/svg/SVGDefsElementImpl.cpp: (SVGDefsElementImpl::SVGDefsElementImpl):
  • ksvg2/svg/SVGDefsElementImpl.h:
  • ksvg2/svg/SVGDescElementImpl.cpp: (SVGDescElementImpl::SVGDescElementImpl): (SVGDescElementImpl::description):
  • ksvg2/svg/SVGDescElementImpl.h:
  • ksvg2/svg/SVGDocumentImpl.cpp: (SVGDocumentImpl::SVGDocumentImpl): (SVGDocumentImpl::~SVGDocumentImpl): (SVGDocumentImpl::title): (SVGDocumentImpl::createElement): (SVGDocumentImpl::rootElement): (SVGDocumentImpl::notifyFinished): (SVGDocumentImpl::dispatchRecursiveEvent): (SVGDocumentImpl::dispatchZoomEvent): (SVGDocumentImpl::dispatchScrollEvent): (SVGDocumentImpl::dispatchKeyEvent): (SVGDocumentImpl::createStyleSelector): (SVGDocumentImpl::addScripts): (SVGDocumentImpl::executeScripts): (SVGDocumentImpl::dispatchUIEvent): (SVGDocumentImpl::dispatchMouseEvent):
  • ksvg2/svg/SVGDocumentImpl.h:
  • ksvg2/svg/SVGElementFactory.cpp: Removed.
  • ksvg2/svg/SVGElementFactory.h: Removed.
  • ksvg2/svg/SVGElementImpl.cpp: (SVGElementImpl::SVGElementImpl): (SVGElementImpl::isSupported): (SVGElementImpl::ownerSVGElement): (SVGElementImpl::viewportElement): (SVGElementImpl::tryGetAttribute): (SVGElementImpl::tryGetAttributeNS): (SVGElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGElementImpl.h: (KSVG::SVGElementImpl::isSVGElement): (KSVG::SVGElementImpl::adjustViewportClipping): (KSVG::SVGElementImpl::isStyledTransformable): (KSVG::SVGElementImpl::isStyledLocatable): (KSVG::SVGElementImpl::isFilterEffect): (KSVG::SVGElementImpl::isGradientStop): (KSVG::SVGElementImpl::isValid): (KSVG::SVGElementImpl::closeRenderer): (KSVG::SVGElementImpl::rendererIsNeeded): (KSVG::SVGElementImpl::isClosed):
  • ksvg2/svg/SVGEllipseElementImpl.cpp: (KSVG::SVGEllipseElementImpl::SVGEllipseElementImpl): (KSVG::SVGEllipseElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGEllipseElementImpl.h: (KSVG::SVGEllipseElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGExternalResourcesRequiredImpl.cpp: (SVGExternalResourcesRequiredImpl::parseMappedAttribute):
  • ksvg2/svg/SVGExternalResourcesRequiredImpl.h:
  • ksvg2/svg/SVGFEBlendElementImpl.cpp: (SVGFEBlendElementImpl::SVGFEBlendElementImpl): (SVGFEBlendElementImpl::parseMappedAttribute): (SVGFEBlendElementImpl::createRenderer):
  • ksvg2/svg/SVGFEBlendElementImpl.h: (KSVG::SVGFEBlendElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGFEColorMatrixElementImpl.cpp: (SVGFEColorMatrixElementImpl::SVGFEColorMatrixElementImpl): (SVGFEColorMatrixElementImpl::parseMappedAttribute): (SVGFEColorMatrixElementImpl::createRenderer):
  • ksvg2/svg/SVGFEColorMatrixElementImpl.h: (KSVG::SVGFEColorMatrixElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGFEComponentTransferElementImpl.cpp: (SVGFEComponentTransferElementImpl::SVGFEComponentTransferElementImpl): (SVGFEComponentTransferElementImpl::parseMappedAttribute): (SVGFEComponentTransferElementImpl::createRenderer): (SVGFEComponentTransferElementImpl::closeRenderer):
  • ksvg2/svg/SVGFEComponentTransferElementImpl.h: (KSVG::SVGFEComponentTransferElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGFECompositeElementImpl.cpp: (SVGFECompositeElementImpl::SVGFECompositeElementImpl): (SVGFECompositeElementImpl::parseMappedAttribute): (SVGFECompositeElementImpl::createRenderer):
  • ksvg2/svg/SVGFECompositeElementImpl.h: (KSVG::SVGFECompositeElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGFEFloodElementImpl.cpp: (SVGFEFloodElementImpl::SVGFEFloodElementImpl): (SVGFEFloodElementImpl::parseMappedAttribute): (SVGFEFloodElementImpl::createRenderer):
  • ksvg2/svg/SVGFEFloodElementImpl.h: (KSVG::SVGFEFloodElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGFEFuncAElementImpl.cpp: (SVGFEFuncAElementImpl::SVGFEFuncAElementImpl):
  • ksvg2/svg/SVGFEFuncAElementImpl.h:
  • ksvg2/svg/SVGFEFuncBElementImpl.cpp: (SVGFEFuncBElementImpl::SVGFEFuncBElementImpl):
  • ksvg2/svg/SVGFEFuncBElementImpl.h:
  • ksvg2/svg/SVGFEFuncGElementImpl.cpp: (SVGFEFuncGElementImpl::SVGFEFuncGElementImpl):
  • ksvg2/svg/SVGFEFuncGElementImpl.h:
  • ksvg2/svg/SVGFEFuncRElementImpl.cpp: (SVGFEFuncRElementImpl::SVGFEFuncRElementImpl):
  • ksvg2/svg/SVGFEFuncRElementImpl.h:
  • ksvg2/svg/SVGFEGaussianBlurElementImpl.cpp: (SVGFEGaussianBlurElementImpl::SVGFEGaussianBlurElementImpl): (SVGFEGaussianBlurElementImpl::parseMappedAttribute): (SVGFEGaussianBlurElementImpl::createRenderer):
  • ksvg2/svg/SVGFEGaussianBlurElementImpl.h: (KSVG::SVGFEGaussianBlurElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGFEImageElementImpl.cpp: (SVGFEImageElementImpl::SVGFEImageElementImpl): (SVGFEImageElementImpl::parseMappedAttribute): (SVGFEImageElementImpl::finalizeStyle): (SVGFEImageElementImpl::createRenderer):
  • ksvg2/svg/SVGFEImageElementImpl.h: (KSVG::SVGFEImageElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGFEMergeElementImpl.cpp: (SVGFEMergeElementImpl::SVGFEMergeElementImpl): (SVGFEMergeElementImpl::createRenderer): (SVGFEMergeElementImpl::closeRenderer):
  • ksvg2/svg/SVGFEMergeElementImpl.h: (KSVG::SVGFEMergeElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGFEMergeNodeElementImpl.cpp: (SVGFEMergeNodeElementImpl::SVGFEMergeNodeElementImpl): (SVGFEMergeNodeElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGFEMergeNodeElementImpl.h:
  • ksvg2/svg/SVGFEOffsetElementImpl.cpp: (SVGFEOffsetElementImpl::SVGFEOffsetElementImpl): (SVGFEOffsetElementImpl::parseMappedAttribute): (SVGFEOffsetElementImpl::createRenderer):
  • ksvg2/svg/SVGFEOffsetElementImpl.h: (KSVG::SVGFEOffsetElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGFETileElementImpl.cpp: (SVGFETileElementImpl::SVGFETileElementImpl): (SVGFETileElementImpl::parseMappedAttribute): (SVGFETileElementImpl::createRenderer):
  • ksvg2/svg/SVGFETileElementImpl.h: (KSVG::SVGFETileElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGFETurbulenceElementImpl.cpp: (SVGFETurbulenceElementImpl::SVGFETurbulenceElementImpl): (SVGFETurbulenceElementImpl::parseMappedAttribute): (SVGFETurbulenceElementImpl::createRenderer):
  • ksvg2/svg/SVGFETurbulenceElementImpl.h: (KSVG::SVGFETurbulenceElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGFilterElementImpl.cpp: (SVGFilterElementImpl::SVGFilterElementImpl): (SVGFilterElementImpl::x): (SVGFilterElementImpl::y): (SVGFilterElementImpl::width): (SVGFilterElementImpl::height): (SVGFilterElementImpl::parseMappedAttribute): (SVGFilterElementImpl::canvasResource):
  • ksvg2/svg/SVGFilterElementImpl.h:
  • ksvg2/svg/SVGFilterPrimitiveStandardAttributesImpl.cpp: (SVGFilterPrimitiveStandardAttributesImpl::SVGFilterPrimitiveStandardAttributesImpl): (SVGFilterPrimitiveStandardAttributesImpl::width): (SVGFilterPrimitiveStandardAttributesImpl::height): (SVGFilterPrimitiveStandardAttributesImpl::parseMappedAttribute): (SVGFilterPrimitiveStandardAttributesImpl::setStandardAttributes):
  • ksvg2/svg/SVGFilterPrimitiveStandardAttributesImpl.h: (KSVG::SVGFilterPrimitiveStandardAttributesImpl::isFilterEffect):
  • ksvg2/svg/SVGFitToViewBoxImpl.cpp: (SVGFitToViewBoxImpl::SVGFitToViewBoxImpl): (SVGFitToViewBoxImpl::~SVGFitToViewBoxImpl): (SVGFitToViewBoxImpl::viewBox): (SVGFitToViewBoxImpl::preserveAspectRatio): (SVGFitToViewBoxImpl::parseViewBox): (SVGFitToViewBoxImpl::parseMappedAttribute):
  • ksvg2/svg/SVGFitToViewBoxImpl.h:
  • ksvg2/svg/SVGGElementImpl.cpp: (SVGGElementImpl::SVGGElementImpl): (SVGGElementImpl::parseMappedAttribute): (SVGGElementImpl::setChanged): (SVGGElementImpl::createRenderer): (SVGDummyElementImpl::SVGDummyElementImpl): (SVGDummyElementImpl::localName):
  • ksvg2/svg/SVGGElementImpl.h: (KSVG::SVGGElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGGradientElementImpl.cpp: (SVGGradientElementImpl::SVGGradientElementImpl): (SVGGradientElementImpl::parseMappedAttribute): (SVGGradientElementImpl::notifyAttributeChange): (SVGGradientElementImpl::canvasResource): (SVGGradientElementImpl::resourceNotification): (SVGGradientElementImpl::rebuildStops):
  • ksvg2/svg/SVGGradientElementImpl.h:
  • ksvg2/svg/SVGHelper.cpp: (SVGHelper::PercentageOfViewport):
  • ksvg2/svg/SVGImageElementImpl.cpp: (SVGImageElementImpl::SVGImageElementImpl): (SVGImageElementImpl::parseMappedAttribute): (SVGImageElementImpl::createRenderer): (SVGImageElementImpl::notifyFinished): (SVGImageElementImpl::finalizeStyle):
  • ksvg2/svg/SVGImageElementImpl.h: (KSVG::SVGImageElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGLangSpaceImpl.cpp: (SVGLangSpaceImpl::SVGLangSpaceImpl): (SVGLangSpaceImpl::~SVGLangSpaceImpl): (SVGLangSpaceImpl::xmllang): (SVGLangSpaceImpl::setXmllang): (SVGLangSpaceImpl::xmlspace): (SVGLangSpaceImpl::setXmlspace): (SVGLangSpaceImpl::parseMappedAttribute):
  • ksvg2/svg/SVGLangSpaceImpl.h:
  • ksvg2/svg/SVGLengthImpl.cpp: (SVGLengthImpl::value): (SVGLengthImpl::setValueAsString): (SVGLengthImpl::updateValue):
  • ksvg2/svg/SVGLengthImpl.h:
  • ksvg2/svg/SVGLengthListImpl.cpp: (SVGLengthListImpl::parse):
  • ksvg2/svg/SVGLineElementImpl.cpp: (SVGLineElementImpl::SVGLineElementImpl): (SVGLineElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGLineElementImpl.h: (KSVG::SVGLineElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGLinearGradientElementImpl.cpp: (SVGLinearGradientElementImpl::SVGLinearGradientElementImpl): (SVGLinearGradientElementImpl::parseMappedAttribute): (SVGLinearGradientElementImpl::buildGradient):
  • ksvg2/svg/SVGLinearGradientElementImpl.h: (KSVG::SVGLinearGradientElementImpl::gradientType):
  • ksvg2/svg/SVGLocatableImpl.cpp: (SVGLocatableImpl::nearestViewportElement): (SVGLocatableImpl::farthestViewportElement): (SVGLocatableImpl::getBBox): (SVGLocatableImpl::getCTM): (SVGLocatableImpl::getScreenCTM):
  • ksvg2/svg/SVGLocatableImpl.h:
  • ksvg2/svg/SVGMarkerElementImpl.cpp: (SVGMarkerElementImpl::SVGMarkerElementImpl): (SVGMarkerElementImpl::parseMappedAttribute): (SVGMarkerElementImpl::canvasResource): (SVGMarkerElementImpl::createRenderer):
  • ksvg2/svg/SVGMarkerElementImpl.h: (KSVG::SVGMarkerElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGNames.cpp: Removed.
  • ksvg2/svg/SVGNames.h: Removed.
  • ksvg2/svg/SVGPaintImpl.cpp: (SVGPaintImpl::setUri): (SVGPaintImpl::cssText):
  • ksvg2/svg/SVGPaintImpl.h:
  • ksvg2/svg/SVGPathElementImpl.cpp: (KSVG::SVGPathElementImpl::SVGPathElementImpl): (KSVG::SVGPathElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGPathElementImpl.h: (KSVG::SVGPathElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGPatternElementImpl.cpp: (SVGPatternElementImpl::SVGPatternElementImpl): (SVGPatternElementImpl::~SVGPatternElementImpl): (SVGPatternElementImpl::parseMappedAttribute): (SVGPatternElementImpl::notifyAttributeChange): (SVGPatternElementImpl::createRenderer): (SVGPatternElementImpl::canvasResource):
  • ksvg2/svg/SVGPatternElementImpl.h: (KSVG::SVGPatternElementImpl::allowAttachChildren): (KSVG::SVGPatternElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGPolyElementImpl.cpp: (SVGPolyElementImpl::SVGPolyElementImpl): (SVGPolyElementImpl::parseMappedAttribute): (SVGPolyElementImpl::notifyAttributeChange):
  • ksvg2/svg/SVGPolyElementImpl.h: (KSVG::SVGPolyElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGPolygonElementImpl.cpp: (SVGPolygonElementImpl::SVGPolygonElementImpl):
  • ksvg2/svg/SVGPolygonElementImpl.h:
  • ksvg2/svg/SVGPolylineElementImpl.cpp: (SVGPolylineElementImpl::SVGPolylineElementImpl):
  • ksvg2/svg/SVGPolylineElementImpl.h:
  • ksvg2/svg/SVGPreserveAspectRatioImpl.cpp: (SVGPreserveAspectRatioImpl::parsePreserveAspectRatio):
  • ksvg2/svg/SVGRadialGradientElementImpl.cpp: (SVGRadialGradientElementImpl::SVGRadialGradientElementImpl): (SVGRadialGradientElementImpl::parseMappedAttribute): (SVGRadialGradientElementImpl::buildGradient):
  • ksvg2/svg/SVGRadialGradientElementImpl.h: (KSVG::SVGRadialGradientElementImpl::gradientType):
  • ksvg2/svg/SVGRectElementImpl.cpp: (SVGRectElementImpl::SVGRectElementImpl): (SVGRectElementImpl::parseMappedAttribute): (SVGRectElementImpl::toPathData):
  • ksvg2/svg/SVGRectElementImpl.h: (KSVG::SVGRectElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGSVGElementImpl.cpp: (SVGSVGElementImpl::SVGSVGElementImpl): (SVGSVGElementImpl::~SVGSVGElementImpl): (SVGSVGElementImpl::width): (SVGSVGElementImpl::height): (SVGSVGElementImpl::contentScriptType): (SVGSVGElementImpl::setContentScriptType): (SVGSVGElementImpl::contentStyleType): (SVGSVGElementImpl::setContentStyleType): (SVGSVGElementImpl::currentScale): (SVGSVGElementImpl::setCurrentScale): (SVGSVGElementImpl::currentTranslate): (SVGSVGElementImpl::parseMappedAttribute): (SVGSVGElementImpl::pauseAnimations): (SVGSVGElementImpl::unpauseAnimations): (SVGSVGElementImpl::animationsPaused): (SVGSVGElementImpl::getCurrentTime): (SVGSVGElementImpl::checkIntersection): (SVGSVGElementImpl::checkEnclosure): (SVGSVGElementImpl::getCTM): (SVGSVGElementImpl::getScreenCTM): (SVGSVGElementImpl::createRenderer): (SVGSVGElementImpl::setZoomAndPan):
  • ksvg2/svg/SVGSVGElementImpl.h: (KSVG::SVGSVGElementImpl::rendererIsNeeded): (KSVG::SVGSVGElementImpl::timeScheduler):
  • ksvg2/svg/SVGScriptElementImpl.cpp: (SVGScriptElementImpl::SVGScriptElementImpl): (SVGScriptElementImpl::parseMappedAttribute): (SVGScriptElementImpl::executeScript):
  • ksvg2/svg/SVGScriptElementImpl.h:
  • ksvg2/svg/SVGSetElementImpl.cpp: (SVGSetElementImpl::SVGSetElementImpl): (SVGSetElementImpl::handleTimerEvent):
  • ksvg2/svg/SVGSetElementImpl.h:
  • ksvg2/svg/SVGStopElementImpl.cpp: (SVGStopElementImpl::SVGStopElementImpl): (SVGStopElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGStopElementImpl.h: (KSVG::SVGStopElementImpl::isGradientStop):
  • ksvg2/svg/SVGStylableImpl.h:
  • ksvg2/svg/SVGStyleElementImpl.cpp: (SVGStyleElementImpl::SVGStyleElementImpl): (SVGStyleElementImpl::~SVGStyleElementImpl): (SVGStyleElementImpl::xmlspace): (SVGStyleElementImpl::setXmlspace): (SVGStyleElementImpl::type): (SVGStyleElementImpl::setType): (SVGStyleElementImpl::media): (SVGStyleElementImpl::setMedia): (SVGStyleElementImpl::title): (SVGStyleElementImpl::setTitle): (SVGStyleElementImpl::sheet): (SVGStyleElementImpl::childrenChanged):
  • ksvg2/svg/SVGStyleElementImpl.h:
  • ksvg2/svg/SVGStyledElementImpl.cpp: (SVGStyledElementImpl::SVGStyledElementImpl): (SVGStyledElementImpl::~SVGStyledElementImpl): (SVGStyledElementImpl::createRenderer): (SVGStyledElementImpl::parseMappedAttribute): (SVGStyledElementImpl::finalizeStyle): (SVGStyledElementImpl::attach): (SVGStyledElementImpl::canvas): (SVGStyledElementImpl::updateCanvasItem): (SVGStyledElementImpl::pushAttributeContext):
  • ksvg2/svg/SVGStyledElementImpl.h: (KSVG::SVGStyledElementImpl::rendererIsNeeded): (KSVG::SVGStyledElementImpl::canvasResource):
  • ksvg2/svg/SVGStyledLocatableElementImpl.cpp: Added. (SVGStyledLocatableElementImpl::SVGStyledLocatableElementImpl): (SVGStyledLocatableElementImpl::~SVGStyledLocatableElementImpl): (SVGStyledLocatableElementImpl::nearestViewportElement): (SVGStyledLocatableElementImpl::farthestViewportElement): (SVGStyledLocatableElementImpl::getBBox): (SVGStyledLocatableElementImpl::getCTM): (SVGStyledLocatableElementImpl::getScreenCTM): (SVGStyledLocatableElementImpl::getTransformToElement):
  • ksvg2/svg/SVGStyledLocatableElementImpl.h: Added. (KSVG::SVGStyledLocatableElementImpl::isStyledLocatable):
  • ksvg2/svg/SVGStyledTransformableElementImpl.cpp: Added. (SVGStyledTransformableElementImpl::SVGStyledTransformableElementImpl): (SVGStyledTransformableElementImpl::~SVGStyledTransformableElementImpl): (SVGStyledTransformableElementImpl::transform): (SVGStyledTransformableElementImpl::localMatrix): (SVGStyledTransformableElementImpl::getCTM): (SVGStyledTransformableElementImpl::getScreenCTM): (SVGStyledTransformableElementImpl::updateLocalTransform): (SVGStyledTransformableElementImpl::parseMappedAttribute): (SVGStyledTransformableElementImpl::nearestViewportElement): (SVGStyledTransformableElementImpl::farthestViewportElement): (SVGStyledTransformableElementImpl::getBBox): (SVGStyledTransformableElementImpl::getTransformToElement): (SVGStyledTransformableElementImpl::attach):
  • ksvg2/svg/SVGStyledTransformableElementImpl.h: Added. (KSVG::SVGStyledTransformableElementImpl::isStyledTransformable):
  • ksvg2/svg/SVGSwitchElementImpl.cpp: (SVGSwitchElementImpl::SVGSwitchElementImpl): (SVGSwitchElementImpl::allowAttachChildren): (SVGSwitchElementImpl::createRenderer):
  • ksvg2/svg/SVGSwitchElementImpl.h: (KSVG::SVGSwitchElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGSymbolElementImpl.cpp: (SVGSymbolElementImpl::SVGSymbolElementImpl): (SVGSymbolElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGSymbolElementImpl.h:
  • ksvg2/svg/SVGTSpanElementImpl.cpp: (SVGTSpanElementImpl::SVGTSpanElementImpl):
  • ksvg2/svg/SVGTSpanElementImpl.h:
  • ksvg2/svg/SVGTestsImpl.cpp: (SVGTestsImpl::isValid): (SVGTestsImpl::parseMappedAttribute):
  • ksvg2/svg/SVGTestsImpl.h:
  • ksvg2/svg/SVGTextContentElementImpl.cpp: (SVGTextContentElementImpl::SVGTextContentElementImpl): (SVGTextContentElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGTextContentElementImpl.h:
  • ksvg2/svg/SVGTextElementImpl.cpp: (SVGTextElementImpl::SVGTextElementImpl): (SVGTextElementImpl::parseMappedAttribute): (SVGTextElementImpl::nearestViewportElement): (SVGTextElementImpl::farthestViewportElement): (SVGTextElementImpl::getBBox): (SVGTextElementImpl::getScreenCTM): (SVGTextElementImpl::getCTM):
  • ksvg2/svg/SVGTextElementImpl.h: (KSVG::SVGTextElementImpl::getTransformToElement): (KSVG::SVGTextElementImpl::transform): (KSVG::SVGTextElementImpl::localMatrix): (KSVG::SVGTextElementImpl::updateLocalTransform):
  • ksvg2/svg/SVGTextPositioningElementImpl.cpp: (SVGTextPositioningElementImpl::SVGTextPositioningElementImpl): (SVGTextPositioningElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGTextPositioningElementImpl.h:
  • ksvg2/svg/SVGTitleElementImpl.cpp: (SVGTitleElementImpl::SVGTitleElementImpl): (SVGTitleElementImpl::title):
  • ksvg2/svg/SVGTitleElementImpl.h:
  • ksvg2/svg/SVGTransformImpl.cpp: (SVGTransformImpl::setMatrix):
  • ksvg2/svg/SVGTransformableImpl.cpp: (SVGTransformableImpl::SVGTransformableImpl): (SVGTransformableImpl::~SVGTransformableImpl): (SVGTransformableImpl::parseTransformAttribute):
  • ksvg2/svg/SVGTransformableImpl.h:
  • ksvg2/svg/SVGURIReferenceImpl.cpp: (SVGURIReferenceImpl::href): (SVGURIReferenceImpl::parseMappedAttribute):
  • ksvg2/svg/SVGURIReferenceImpl.h:
  • ksvg2/svg/SVGUseElementImpl.cpp: (SVGUseElementImpl::SVGUseElementImpl): (SVGUseElementImpl::parseMappedAttribute): (SVGUseElementImpl::closeRenderer): (SVGUseElementImpl::createRenderer):
  • ksvg2/svg/SVGUseElementImpl.h: (KSVG::SVGUseElementImpl::rendererIsNeeded):
  • ksvg2/svg/SVGViewElementImpl.cpp: (SVGViewElementImpl::SVGViewElementImpl): (SVGViewElementImpl::parseMappedAttribute):
  • ksvg2/svg/SVGViewElementImpl.h:
  • ksvg2/svg/SVGZoomAndPanImpl.cpp: (SVGZoomAndPanImpl::parseMappedAttribute):
  • ksvg2/svg/SVGZoomAndPanImpl.h:

Nov 20, 2005:

8:02 PM Changeset in webkit [11272] by eseidel
  • 41 edits in trunk/WebCore

Bug #: 3249
Submitted by: eseidel
Reviewed by: hyatt

The first part of the big KDOM-DOM merger.
This section covers the additions necessary to the khtml/kwq side
in order to support ksvg2 on top of WebCore's DOM. All changes
are enclosed within SVG_SUPPORT blocks for easy disabling.
http://bugzilla.opendarwin.org/show_bug.cgi?id=3249

  • ForwardingHeaders/ksvg2/KSVGPart.h: to KDOMHeaders.h
  • ForwardingHeaders/ksvg2/KSVGView.h: to KDOMHeaders.h
  • WebCore-svg.exp: removed Draw* symbols
  • WebCorePrefix.h: map KDOM to DOM
  • khtml/css/css_valueimpl.h: (DOM::CSSValueImpl::cssValueType): defaults to CSS_CUSTOM
  • khtml/css/cssparser.cpp: (CSSParser::parseValue): calls parseSVGValue as necessary (DOM::CSSParser::lex):
  • khtml/css/cssparser.h:
  • khtml/css/cssstyleselector.cpp: svg specific support (khtml::CSSStyleSelector::loadDefaultStyle): loads svg UA sheet (khtml::CSSStyleSelector::applyProperty): calls applySVGProperty
  • khtml/css/cssstyleselector.h:
  • khtml/css/parser.y: calls KSVG::get(Property|Value)ID
  • khtml/ecma/domparser.cpp: (KJS::DOMParserProtoFunc::callAsFunction): use isXMLMIMEType
  • khtml/ecma/kjs_dom.cpp: (KJS::DOMDocument::getValueProperty): impl -> implementation
  • khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequest::getValueProperty): use isXMLMIMEType
  • khtml/html/html_documentimpl.cpp: remove referrer
  • khtml/html/html_documentimpl.h: remove referrer
  • khtml/khtml_part.cpp: (KHTMLPart::init): (KHTMLPart::begin):
  • khtml/khtml_part.h:
  • khtml/rendering/render_canvas.cpp: m_renderingDevice && m_registry support. (RenderCanvas::RenderCanvas): (RenderCanvas::~RenderCanvas): (RenderCanvas::renderingDevice): new method for svg (RenderCanvas::registry): new method for svg
  • khtml/rendering/render_canvas.h:
  • khtml/rendering/render_container.h: private -> protected (child manipulation)
  • khtml/rendering/render_object.h: (khtml::RenderObject::isKCanvasContainer): new for svg (khtml::RenderObject::isRenderPath): new for svg (khtml::RenderObject::bbox): new for svg
  • khtml/rendering/render_style.cpp: svg support (m_affectedByAttributeSelectors): (RenderStyle::RenderStyle): (RenderStyle::inheritFrom): (RenderStyle::operator==): (RenderStyle::contentDataEquivalent):
  • khtml/rendering/render_style.h: add m_svgStyle (khtml::RenderStyle::svgStyle):
  • khtml/xml/EventNames.h: add zoom event
  • khtml/xml/dom_docimpl.cpp: add referrer (DOMImplementationImpl::hasFeature): made const (DOMImplementationImpl::createDocument): (DOMImplementationImpl::isXMLMIMEType): new function (DocumentImpl::implementation): renamed function (DocumentImpl::createElementNS): svg support (DocumentImpl::recalcStyleSelector): svg <style> support (DocumentImpl::createEvent): SVGEvent support (DocumentImpl::referrer): moved from HTMLDocument
  • khtml/xml/dom_docimpl.h: (DOM::DocumentTypeImpl::implementation): renamed function
  • khtml/xml/dom_elementimpl.cpp: (ElementImpl::hasAttribute): convenience function (ElementImpl::rendererIsNeeded): disable renderers for unknown elements in svg
  • khtml/xml/dom_elementimpl.h:
  • khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::createRendererIfNeeded): null check on returned rederer
  • khtml/xml/dom_nodeimpl.h: (DOM::NodeImpl::isSVGElement): added for svg
  • khtml/xml/dom_stringimpl.cpp: (DOM::DOMStringImpl::DOMStringImpl): init from QString
  • khtml/xml/dom_stringimpl.h:
  • khtml/xml/dom_textimpl.cpp: (TextImpl::rendererIsNeeded): don't create RenderText in SVG trees
  • khtml/xsl/xslt_processorimpl.cpp: (DOM::XSLTProcessorImpl::createDocumentFromSource): impl -> implementation
  • kwq/DOM.mm: (-[DOMDocument implementation]): impl -> implementation
  • kwq/KWQRenderTreeDebug.cpp: (write): dispatch to kcanvas write functions (externalRepresentation): dump registry
  • kwq/KWQRenderTreeDebug.h: export write function for kcanvas to use
5:20 PM Changeset in webkit [11271] by eseidel
  • 110 edits in trunk/WebCore

Bug #: 5711
Submitted by: eseidel
Reviewed by: mjs

Remove #if !APPLE_CHANGES and #if 0 blocks. No functional changes.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5711

  • khtml/css/css_computedstyle.cpp: (DOM::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
  • khtml/css/css_valueimpl.cpp: (DOM::CSSMutableStyleDeclarationImpl::setProperty): (DOM::CSSPrimitiveValueImpl::computeLength): (DOM::CSSPrimitiveValueImpl::computeLengthFloat): (DOM::CSSPrimitiveValueImpl::cssText): (DOM::FontFamilyValueImpl::FontFamilyValueImpl):
  • khtml/css/css_valueimpl.h:
  • khtml/css/cssparser.cpp: (qFatal): (CSSParser::parseValue): (CSSParser::parseDashboardRegions):
  • khtml/css/cssstyleselector.cpp: (khtml::): (khtml::colorForCSSValue): (khtml::CSSStyleSelector::applyDeclarations): (khtml::CSSStyleSelector::applyProperty): (khtml::CSSStyleSelector::checkForTextSizeAdjust):
  • khtml/css/cssstyleselector.h:
  • khtml/dom/dom_node.h:
  • khtml/ecma/kjs_binding.cpp:
  • khtml/ecma/kjs_binding.h:
  • khtml/ecma/kjs_css.cpp: (KJS::DOMStyleSheetList::getOwnPropertySlot):
  • khtml/ecma/kjs_dom.cpp: (KJS::DOMNode::getValueProperty): (KJS::NodeConstructor::getValueProperty): (KJS::DOMExceptionConstructor::getValueProperty):
  • khtml/ecma/kjs_html.cpp: (KJS::HTMLElement::getOwnPropertySlot): (KJS::KJS::HTMLElementFunction::callAsFunction): (KJS::KJS::HTMLElement::put):
  • khtml/ecma/kjs_html.h:
  • khtml/ecma/kjs_navigator.cpp: (KJS::Navigator::getValueProperty): (KJS::PluginBase::refresh):
  • khtml/ecma/kjs_proxy.cpp: (KJSProxyImpl::evaluate): (KJSProxyImpl::initScript):
  • khtml/ecma/kjs_window.cpp: (KJS::allowPopUp): (KJS::Window::getValueProperty): (KJS::Window::put): (KJS::Window::resumeTimeouts): (KJS::Window::scheduleClose): (KJS::Window::isSafeScript): (KJS::WindowFunc::callAsFunction): (KJS::WindowQObject::hasTimeouts): (KJS::Location::put): (KJS::LocationFunc::callAsFunction): (KJS::BarInfo::getValueProperty):
  • khtml/ecma/kjs_window.h:
  • khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequestQObject::slotData): (KJS::XMLHttpRequest::send): (KJS::XMLHttpRequest::processSyncLoadResults): (KJS::XMLHttpRequest::slotData):
  • khtml/ecma/xmlhttprequest.h:
  • khtml/editing/SelectionController.cpp: (khtml::SelectionController::debugPosition):
  • 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/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/wrap_contents_in_dummy_span_command.cpp:
  • khtml/html/html_documentimpl.cpp: (DOM::HTMLDocumentImpl::referrer): (DOM::HTMLDocumentImpl::cookie): (DOM::HTMLDocumentImpl::setCookie):
  • khtml/html/html_formimpl.cpp: (DOM::HTMLFormElementImpl::attach): (DOM::HTMLFormElementImpl::formData): (DOM::HTMLFormElementImpl::submit): (DOM::HTMLFormElementImpl::parseMappedAttribute): (DOM::HTMLGenericFormElementImpl::isMouseFocusable): (DOM::HTMLGenericFormElementImpl::defaultEventHandler): (DOM::HTMLInputElementImpl::setInputType): (DOM::HTMLInputElementImpl::type): (DOM::HTMLInputElementImpl::canHaveSelection): (DOM::HTMLInputElementImpl::selectionStart): (DOM::HTMLInputElementImpl::selectionEnd): (DOM::HTMLInputElementImpl::setSelectionStart): (DOM::HTMLInputElementImpl::setSelectionEnd): (DOM::HTMLInputElementImpl::select): (DOM::HTMLInputElementImpl::setSelectionRange): (DOM::HTMLInputElementImpl::click): (DOM::HTMLInputElementImpl::accessKeyAction): (DOM::HTMLInputElementImpl::rendererIsNeeded): (DOM::HTMLInputElementImpl::createRenderer): (DOM::HTMLInputElementImpl::attach): (DOM::HTMLInputElementImpl::altText): (DOM::HTMLInputElementImpl::appendFormData): (DOM::HTMLInputElementImpl::valueWithDefault): (DOM::HTMLInputElementImpl::storesValueSeparateFromAttribute): (DOM::HTMLInputElementImpl::defaultEventHandler): (DOM::HTMLSelectElementImpl::state): (DOM::HTMLSelectElementImpl::restoreState): (DOM::HTMLKeygenElementImpl::appendFormData):
  • khtml/html/html_formimpl.h: (DOM::HTMLInputElementImpl::):
  • khtml/html/html_imageimpl.cpp: (HTMLImageLoader::updateFromElement): (HTMLImageElementImpl::parseMappedAttribute):
  • khtml/html/html_inlineimpl.cpp: (DOM::HTMLAnchorElementImpl::isMouseFocusable):
  • khtml/html/html_objectimpl.cpp: (DOM::HTMLAppletElementImpl::getMember): (DOM::HTMLAppletElementImpl::callMember): (DOM::HTMLAppletElementImpl::allParamsAvailable): (DOM::HTMLEmbedElementImpl::getEmbedInstance): (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl): (DOM::HTMLObjectElementImpl::getObjectInstance): (DOM::HTMLObjectElementImpl::rendererIsNeeded):
  • khtml/html/html_objectimpl.h: (DOM::HTMLObjectElementImpl::isDocNamedItem):
  • khtml/html/html_tableimpl.cpp: (DOM::HTMLTableElementImpl::HTMLTableElementImpl): (DOM::HTMLTableElementImpl::parseMappedAttribute):
  • khtml/html/htmlparser.cpp: (HTMLParser::handleIsindex):
  • khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::scriptExecution):
  • khtml/html/htmltokenizer.h:
  • khtml/khtml_part.cpp: (KHTMLPart::KHTMLPart): (KHTMLPart::init): (KHTMLPart::~KHTMLPart): (KHTMLPart::restoreURL): (KHTMLPart::didOpenURL): (KHTMLPart::stopLoading): (KHTMLPart::createJavaContext): (KHTMLPart::setAutoloadImages): (KHTMLPart::clear): (KHTMLPart::receivedFirstData): (KHTMLPart::slotFinished): (KHTMLPart::childBegin): (KHTMLPart::begin): (KHTMLPart::write): (KHTMLPart::gotoAnchor): (KHTMLPart::slotLoaderRequestStarted): (KHTMLPart::slotLoaderRequestDone): (KHTMLPart::checkCompleted): (KHTMLPart::completeURL): (KHTMLPart::scheduleHistoryNavigation): (KHTMLPart::urlCursor): (KHTMLPart::text): (KHTMLPart::selectedText): (KHTMLPart::hasSelection): (KHTMLPart::setSelection): (KHTMLPart::urlSelected): (KHTMLPart::requestFrameName): (KHTMLPart::requestObject): (KHTMLPart::processObjectRequest): (KHTMLPart::submitForm): (KHTMLPart::slotChildStarted): (KHTMLPart::slotChildCompleted): (KHTMLPart::childFrame): (KHTMLPart::findFrame): (KHTMLPart::frameExists): (KHTMLPart::parentPart): (KHTMLPart::emitSelectionChanged): (KHTMLPart::setZoomFactor): (KHTMLPart::reparseConfiguration): (KHTMLPart::khtmlMousePressEvent): (KHTMLPart::khtmlMouseMoveEvent): (KHTMLPart::startAutoScroll): (KHTMLPart::stopAutoScroll): (KHTMLPart::shouldChangeSelection): (KHTMLPart::appliedEditing): (KHTMLPart::unappliedEditing): (KHTMLPart::reappliedEditing): (KHTMLPart::copyToPasteboard): (KHTMLPart::cutToPasteboard): (KHTMLPart::pasteFromPasteboard): (KHTMLPart::pasteAndMatchStyle): (KHTMLPart::transpose): (KHTMLPart::redo): (KHTMLPart::undo):
  • khtml/khtml_part.h: (KHTMLPart::didFirstLayout):
  • khtml/khtmlpart_p.h: (KHTMLPartPrivate::KHTMLPartPrivate): (KHTMLPartPrivate::~KHTMLPartPrivate):
  • khtml/khtmlview.cpp: (KHTMLViewPrivate::KHTMLViewPrivate): (KHTMLViewPrivate::~KHTMLViewPrivate): (KHTMLViewPrivate::reset): (KHTMLView::KHTMLView): (KHTMLView::~KHTMLView): (KHTMLView::resetScrollBars): (KHTMLView::init): (KHTMLView::clear): (KHTMLView::resizeEvent): (KHTMLView::initScrollBars): (KHTMLView::layout): (KHTMLView::updateDashboardRegions): (KHTMLView::viewportMousePressEvent): (KHTMLView::viewportMouseDoubleClickEvent): (KHTMLView::viewportMouseMoveEvent): (KHTMLView::viewportMouseReleaseEvent): (KHTMLView::keyPressEvent): (KHTMLView::contentsContextMenuEvent): (KHTMLView::dispatchDragEvent): (KHTMLView::focusNextPrevNode): (KHTMLView::mediaType): (KHTMLView::setScrollBarsMode): (KHTMLView::restoreScrollBar): (KHTMLView::viewportWheelEvent):
  • khtml/khtmlview.h:
  • khtml/misc/decoder.cpp: (Decoder::setEncoding): (Decoder::decode): (Decoder::flush):
  • khtml/misc/decoder.h:
  • khtml/misc/helper.cpp: (khtml::findWordBoundary): (khtml::nextWordFromIndex): (khtml::findSentenceBoundary): (khtml::nextSentenceFromIndex):
  • khtml/misc/helper.h:
  • khtml/misc/loader.cpp: (CachedObject::~CachedObject): (CachedImageCallback::clear): (CachedImage::CachedImage): (CachedImage::tiled_pixmap): (CachedImage::pixmap): (CachedImage::setShowAnimations): (CachedImage::clear): (CachedImage::data): (CachedImage::error): (DocLoader::DocLoader): (DocLoader::requestImage): (DocLoader::requestStyleSheet): (DocLoader::requestScript): (DocLoader::requestXSLStyleSheet): (DocLoader::requestXBLDocument): (Loader::Loader): (Loader::~Loader): (Loader::servePendingRequests): (Loader::slotFinished): (Loader::slotData): (Loader::numRequests): (Loader::cancelRequests): (Loader::removeBackgroundDecodingRequest): (Cache::init): (Cache::requestImage): (Cache::requestStyleSheet): (Cache::requestScript): (Cache::requestXSLStyleSheet): (Cache::requestXBLDocument):
  • khtml/misc/loader.h: (khtml::CachedObject::CachedObject):
  • khtml/misc/stringit.h: (khtml::TokenizerSubstring::TokenizerSubstring):
  • khtml/rendering/render_applet.cpp: (RenderApplet::RenderApplet): (RenderApplet::layout): (RenderEmptyApplet::RenderEmptyApplet): (RenderEmptyApplet::layout):
  • khtml/rendering/render_applet.h:
  • khtml/rendering/render_canvas.cpp: (RenderCanvas::setBestTruncatedAt):
  • khtml/rendering/render_canvas.h: (khtml::RenderCanvas::printImages):
  • khtml/rendering/render_container.cpp: (RenderContainer::addChild): (RenderContainer::removeChildNode): (RenderContainer::appendChildNode): (RenderContainer::insertChildNode):
  • khtml/rendering/render_flexbox.cpp: (khtml::RenderFlexibleBox::layoutVerticalBox):
  • khtml/rendering/render_flow.cpp: (RenderFlow::paintLines): (RenderFlow::paintFocusRing):
  • khtml/rendering/render_flow.h:
  • khtml/rendering/render_form.cpp: (RenderFormElement::baselinePosition): (RenderFormElement::setStyle): (RenderFormElement::updateFromElement): (RenderFormElement::layout): (RenderLineEdit::RenderLineEdit): (RenderLineEdit::slotReturnPressed): (RenderLineEdit::addSearchResult): (RenderLineEdit::calcMinMaxWidth): (RenderLineEdit::setStyle): (RenderLineEdit::updateFromElement): (RenderFileButton::RenderFileButton): (RenderFileButton::calcMinMaxWidth): (RenderFileButton::slotClicked): (RenderFileButton::updateFromElement): (RenderFileButton::select): (ComboBoxWidget::event): (ComboBoxWidget::eventFilter): (RenderSelect::updateFromElement): (RenderSelect::layout): (RenderTextArea::RenderTextArea): (RenderTextArea::calcMinMaxWidth): (RenderTextArea::setStyle): (RenderTextArea::updateFromElement): (RenderTextArea::text): (RenderTextArea::selectionStart): (RenderTextArea::selectionEnd): (RenderTextArea::setSelectionStart): (RenderTextArea::setSelectionEnd): (RenderTextArea::setSelectionRange):
  • khtml/rendering/render_form.h: (khtml::RenderFormElement::intrinsicMargin): (khtml::RenderLineEdit::canHaveIntrinsicMargins): (khtml::RenderSelect::canHaveIntrinsicMargins): (khtml::RenderTextArea::canHaveIntrinsicMargins):
  • khtml/rendering/render_frames.cpp: (RenderFrameSet::userResize): (RenderFrame::slotViewCleared): (RenderPartObject::layout): (RenderPartObject::slotViewCleared):
  • khtml/rendering/render_image.cpp: (RenderImage::setPixmap): (RenderImage::resetAnimation): (RenderImage::paint): (RenderImage::layout):
  • khtml/rendering/render_image.h:
  • khtml/rendering/render_layer.cpp: (khtml::RenderLayer::scrollToOffset): (khtml::RenderLayer::updateScrollInfoAfterLayout): (khtml::RenderLayer::paintScrollbars): (khtml::setClip): (khtml::RenderLayer::paintLayer): (khtml::RenderLayer::hitTest):
  • khtml/rendering/render_layer.h:
  • khtml/rendering/render_line.cpp: (khtml::InlineFlowBox::paintDecorations):
  • khtml/rendering/render_list.cpp: (RenderListMarker::paint):
  • khtml/rendering/render_list.h: (khtml::RenderListItem::markerStringValue):
  • khtml/rendering/render_object.cpp: (RenderObject::addFocusRingRects): (RenderObject::paintOutline): (RenderObject::setStyle): (RenderObject::removeFromObjectLists): (RenderObject::remove): (RenderObject::backslashAsCurrencySymbol):
  • khtml/rendering/render_object.h:
  • khtml/rendering/render_replaced.cpp: (RenderWidget::resizeWidget): (RenderWidget::sendConsumedMouseUp): (RenderWidget::setStyle):
  • khtml/rendering/render_replaced.h:
  • khtml/rendering/render_style.cpp: (StyleVisualData::StyleVisualData): (StyleCSS3NonInheritedData::operator==): (textSizeAdjust): (StyleCSS3InheritedData): (StyleCSS3InheritedData::operator==): (RenderStyle::diff):
  • khtml/rendering/render_style.h: (khtml::StyleVisualData::operator==): (khtml::RenderStyle::textSizeAdjust): (khtml::RenderStyle::setDashboardRegion): (khtml::RenderStyle::setTextSizeAdjust):
  • khtml/rendering/render_text.h:
  • khtml/xml/dom_docimpl.cpp: (DocumentImpl::DocumentImpl): (DocumentImpl::~DocumentImpl): (DocumentImpl::updateTitle): (DocumentImpl::recalcStyle): (DocumentImpl::updateRendering): (DocumentImpl::attach): (DocumentImpl::detach): (DocumentImpl::getAccObjectCache): (DocumentImpl::updateSelection): (DocumentImpl::implicitClose): (DocumentImpl::processHttpEquiv): (DocumentImpl::updateStyleSelector): (DocumentImpl::setFocusNode):
  • khtml/xml/dom_docimpl.h:
  • khtml/xml/dom_elementimpl.cpp: (ElementImpl::recalcStyle):
  • khtml/xml/dom_elementimpl.h:
  • khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::dispatchKeyEvent): (DOM::NodeImpl::createRendererIfNeeded):
  • khtml/xml/dom_position.cpp:
  • khtml/xml/dom_textimpl.h:
  • khtml/xml/dom_xmlimpl.h:
  • khtml/xml/xml_tokenizer.cpp: (khtml::Tokenizer::Tokenizer): (khtml::Tokenizer::finishedParsing): (khtml::XMLTokenizer::error):
  • khtml/xml/xml_tokenizer.h:
1:34 PM Changeset in webkit [11270] by eseidel
  • 11 edits in trunk/WebCore

Bug #: 5777
Submitted by: eseidel
Reviewed by: none

Rolling out the getMatchedCSSRules change, as it caused

many layout tests to crash on TOT:
http://bugzilla.opendarwin.org/show_bug.cgi?id=5777

  • khtml/css/cssparser.cpp:
  • khtml/css/cssstyleselector.cpp: (khtml::CSSStyleSelector::matchRules): (khtml::CSSStyleSelector::matchRulesForList): (khtml::CSSStyleSelector::initForStyleResolve):
  • khtml/css/cssstyleselector.h:
  • khtml/css/parser.y:
  • khtml/ecma/kjs_views.cpp: (KJS::DOMAbstractViewProtoFunc::callAsFunction):
  • khtml/ecma/kjs_views.h: (KJS::DOMAbstractView::):
  • khtml/xml/dom2_viewsimpl.cpp: (DOM::AbstractViewImpl::getComputedStyle):
  • khtml/xml/dom2_viewsimpl.h:
  • kwq/DOM-CSS.mm:
  • kwq/DOMCSS.h:

Nov 18, 2005:

7:51 PM Changeset in webkit [11269]
  • 55 copies
    22 deletes in tags/WebKit-417~5

This commit was manufactured by cvs2svn to create tag 'WebKit-417~5'.

7:51 PM Changeset in webkit [11268]
  • 210 copies
    17 deletes in tags/WebCore-417~7

This commit was manufactured by cvs2svn to create tag
'WebCore-417~7'.

7:51 PM Changeset in webkit [11267]
  • 72 copies
    5 deletes in tags/JavaScriptCore-417~8

This commit was manufactured by cvs2svn to create tag
'JavaScriptCore-417~8'.

7:51 PM Changeset in webkit [11266] by thatcher
  • 6 edits in branches/Safari-2-0-branch

Versioning

6:47 PM Changeset in webkit [11265] by thatcher
  • 4 edits in branches/Safari-1-3-branch/WebCore

Merged fix from TOT to Safari-1-3-branch

2005-11-18 David Harrison <harrison@apple.com>

Reviewed by Tim Hatcher.

http://bugzilla.opendarwin.org/show_bug.cgi?id=5774
Failed assertion `!eventDispatchForbidden()' in dom_nodeimpl.cpp:892

Tests added: None, becaause it keeps some existing ones from crashing.

  • khtml/xml/dom_nodeimpl.cpp: (DOM::ContainerNodeImpl::insertBefore): (DOM::ContainerNodeImpl::replaceChild): (DOM::ContainerNodeImpl::removeChild): (DOM::ContainerNodeImpl::appendChild): (DOM::ContainerNodeImpl::addChild): Call enableEventDispatch() sooner, when basic dom mods are done.
6:46 PM Changeset in webkit [11264] by thatcher
  • 4 edits in branches/Safari-2-0-branch/WebCore

Merged fix from TOT to Safari-2-0-branch

2005-11-18 David Harrison <harrison@apple.com>

Reviewed by Tim Hatcher.

http://bugzilla.opendarwin.org/show_bug.cgi?id=5774
Failed assertion `!eventDispatchForbidden()' in dom_nodeimpl.cpp:892

Tests added: None, becaause it keeps some existing ones from crashing.

  • khtml/xml/dom_nodeimpl.cpp: (DOM::ContainerNodeImpl::insertBefore): (DOM::ContainerNodeImpl::replaceChild): (DOM::ContainerNodeImpl::removeChild): (DOM::ContainerNodeImpl::appendChild): (DOM::ContainerNodeImpl::addChild): Call enableEventDispatch() sooner, when basic dom mods are done.
6:36 PM Changeset in webkit [11263] by harrison
  • 4 edits in trunk/WebCore

Reviewed by Tim Hatcher.

http://bugzilla.opendarwin.org/show_bug.cgi?id=5774
Failed assertion `!eventDispatchForbidden()' in dom_nodeimpl.cpp:892

Tests added: None, becaause it keeps some existing ones from crashing.

  • khtml/xml/dom_nodeimpl.cpp: (DOM::ContainerNodeImpl::insertBefore): (DOM::ContainerNodeImpl::replaceChild): (DOM::ContainerNodeImpl::removeChild): (DOM::ContainerNodeImpl::appendChild): (DOM::ContainerNodeImpl::addChild): Call enableEventDispatch() sooner, when basic dom mods are done.
6:36 PM Changeset in webkit [11262] by thatcher
  • 19 edits in branches/Safari-2-0-branch

WebCore:

Merged fix from TOT to Safari-2-0-branch

2005-11-18 Vicki Murley <vicki@apple.com>

Changes by Darin, reviewed by Beth and Vicki.

  • fix <rdar://problem/3939265> support "before unload" event and onbeforeunload handler (supported by both IE and Mozilla)
  • khtml/ecma/kjs_events.cpp: (KJS::JSAbstractEventListener::handleEvent):
  • khtml/ecma/kjs_window.cpp: (KJS::Window::getValueProperty): (KJS::Window::put):
  • khtml/ecma/kjs_window.h: (KJS::Window::):
  • khtml/html/html_baseimpl.cpp: (HTMLBodyElementImpl::parseMappedAttribute): (HTMLFrameElementImpl::parseMappedAttribute): (HTMLFrameSetElementImpl::parseMappedAttribute):
  • khtml/html/htmlnames.h:
  • khtml/xml/EventNames.h:
  • khtml/xml/dom2_eventsimpl.cpp: (DOM::EventImpl::storesResultAsString): (DOM::EventImpl::storeResult): (DOM::BeforeUnloadEventImpl::BeforeUnloadEventImpl): (DOM::BeforeUnloadEventImpl::storesResultAsString): (DOM::BeforeUnloadEventImpl::storeResult):
  • khtml/xml/dom2_eventsimpl.h: (DOM::BeforeUnloadEventImpl::result):
  • kwq/KWQKHTMLPart.h:
  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::shouldClose):
  • kwq/WebCoreBridge.h:
  • kwq/WebCoreBridge.mm: (-[WebCoreBridge shouldClose]):

WebKit:

Merged fix from TOT to Safari-2-0-branch

2005-11-18 Vicki Murley <vicki@apple.com>

Changes by Darin, reviewed by Beth and Vicki.

  • fix <rdar://problem/3939265> support "before unload" event and onbeforeunload handler (supported by both IE and Mozilla)
  • WebCoreSupport.subproj/WebBridge.m: (-[WebBridge canRunBeforeUnloadConfirmPanel]): (-[WebBridge runBeforeUnloadConfirmPanelWithMessage:]):
  • WebView.subproj/WebFrame.m: (-[WebFrame _checkNavigationPolicyForRequest:dataSource:formState:andCall:withSelector:]): (-[WebFrame _continueLoadRequestAfterNavigationPolicy:formState:]):
  • WebView.subproj/WebUIDelegatePrivate.h:
  • WebView.subproj/WebView.m: (-[WebView shouldClose]):
  • WebView.subproj/WebViewPrivate.h:
6:08 PM Changeset in webkit [11261] by vicki
  • 2 edits in trunk/WebKit

Changes by Tim H, reviewed by Vicki.

  • call shouldClose on the bridge for the main frame
  • WebView.subproj/WebView.m: (-[WebView shouldClose]):
5:27 PM Changeset in webkit [11260] by vicki
  • 6 edits in trunk/WebKit

Changes by Darin, reviewed by Beth and Vicki.

  • fix <rdar://problem/3939265> support "before unload" event and onbeforeunload handler (supported by both IE and Mozilla)
  • WebCoreSupport.subproj/WebBridge.m: (-[WebBridge canRunBeforeUnloadConfirmPanel]): (-[WebBridge runBeforeUnloadConfirmPanelWithMessage:]):
  • WebView.subproj/WebFrame.m: (-[WebFrame _checkNavigationPolicyForRequest:dataSource:formState:andCall:withSelector:]): (-[WebFrame _continueLoadRequestAfterNavigationPolicy:formState:]):
  • WebView.subproj/WebUIDelegatePrivate.h:
  • WebView.subproj/WebView.m: (-[WebView shouldClose]):
  • WebView.subproj/WebViewPrivate.h:
5:26 PM Changeset in webkit [11259] by vicki
  • 13 edits in trunk/WebCore

Changes by Darin, reviewed by Beth and Vicki.

  • fix <rdar://problem/3939265> support "before unload" event and onbeforeunload handler (supported by both IE and Mozilla)
  • khtml/ecma/kjs_events.cpp: (KJS::JSAbstractEventListener::handleEvent):
  • khtml/ecma/kjs_window.cpp: (KJS::Window::getValueProperty): (KJS::Window::put):
  • khtml/ecma/kjs_window.h: (KJS::Window::):
  • khtml/html/html_baseimpl.cpp: (HTMLBodyElementImpl::parseMappedAttribute): (HTMLFrameElementImpl::parseMappedAttribute): (HTMLFrameSetElementImpl::parseMappedAttribute):
  • khtml/html/htmlnames.h:
  • khtml/xml/EventNames.h:
  • khtml/xml/dom2_eventsimpl.cpp: (DOM::EventImpl::storesResultAsString): (DOM::EventImpl::storeResult): (DOM::BeforeUnloadEventImpl::BeforeUnloadEventImpl): (DOM::BeforeUnloadEventImpl::storesResultAsString): (DOM::BeforeUnloadEventImpl::storeResult):
  • khtml/xml/dom2_eventsimpl.h: (DOM::BeforeUnloadEventImpl::result):
  • kwq/KWQKHTMLPart.h:
  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::shouldClose):
  • kwq/WebCoreBridge.h:
  • kwq/WebCoreBridge.mm: (-[WebCoreBridge shouldClose]):
4:19 PM Changeset in webkit [11258] by thatcher
  • 3 edits in branches/Safari-1-3-branch/WebCore

Merged fix from TOT to Safari-1-3-branch

2005-11-16 Adele Peterson <adele@apple.com>

Reviewed by Dave Harrson.

  • khtml/rendering/render_layer.cpp: (khtml::RenderLayer::getRectToExpose): If the rect is larger than the visible rect, and we're trying to align to the closest edge, align to the left edge.
  • khtml/xml/dom_nodeimpl.cpp: (DOM::ContainerNodeImpl::getRect): If width or height is negative, we were setting both to zero. Now we only set the negative value to zero without affecting the other value.
4:12 PM Changeset in webkit [11257] by thatcher
  • 2 edits in branches/Safari-1-3-branch/WebCore

Merged fix from TOT to Safari-1-3-branch

2005-11-18 Beth Dakin <Beth Dakin>

Reviewed by Darin.

This is an additional fix for <rdar://problem/3871165> text box
in nested table disappears when you click on it (3452) (Safari
PSOFT: US EDU PS8: Lead List searches). The test case I used
previously did not cover the case where one cell has both a
rowspan and a colspan and other cells later have rowspan and
colspan from two different cells overlapping.

One manual test case added.

  • khtml/rendering/render_table.cpp: Remove check for inColSpan (RenderTableSection::addCell):
4:11 PM Changeset in webkit [11256] by thatcher
  • 2 edits in branches/Safari-2-0-branch/WebCore

Merged fix from TOT to Safari-2-0-branch

2005-11-18 Beth Dakin <Beth Dakin>

Reviewed by Darin.

This is an additional fix for <rdar://problem/3871165> text box
in nested table disappears when you click on it (3452) (Safari
PSOFT: US EDU PS8: Lead List searches). The test case I used
previously did not cover the case where one cell has both a
rowspan and a colspan and other cells later have rowspan and
colspan from two different cells overlapping.

One manual test case added.

  • khtml/rendering/render_table.cpp: Remove check for inColSpan (RenderTableSection::addCell):
3:42 PM Changeset in webkit [11255] by bdakin
  • 2 edits
    1 add in trunk/WebCore

Bug #:
Submitted by:
Reviewed by:

3:39 PM Changeset in webkit [11254] by thatcher
  • 4 edits in branches/Safari-1-3-branch/WebCore

Merged fix from TOT to Safari-1-3-branch

2005-11-18 David Harrison <harrison@apple.com>

<http://bugzilla.opendarwin.org/show_bug.cgi?id=5629>
REGRESSION: appendChild() does not remove nodes from source nodelist when inserting into destination

Enable event dispatch when calling removeChild() in loops. That it was
disabled previously was wrong because the DOM is not fragile at that point.
Makes the event dispatch forbiddance a debug-only check

  • khtml/xml/dom_docimpl.cpp: (DocumentImpl::createEvent):
  • khtml/xml/dom_docimpl.h:
  • khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::dispatchEvent): (DOM::NodeImpl::dispatchGenericEvent): (DOM::NodeImpl::dispatchHTMLEvent): (DOM::NodeImpl::dispatchWindowEvent): (DOM::NodeImpl::dispatchMouseEvent): (DOM::NodeImpl::dispatchSimulatedMouseEvent): (DOM::NodeImpl::dispatchUIEvent): (DOM::NodeImpl::dispatchSubtreeModifiedEvent): (DOM::NodeImpl::dispatchKeyEvent): (DOM::NodeImpl::dispatchWheelEvent): (DOM::ContainerNodeImpl::insertBefore): (DOM::ContainerNodeImpl::replaceChild): (DOM::ContainerNodeImpl::removeChild): (DOM::ContainerNodeImpl::removeChildren): (DOM::ContainerNodeImpl::appendChild): (DOM::ContainerNodeImpl::addChild): (DOM::ContainerNodeImpl::dispatchChildInsertedEvents):
3:38 PM Changeset in webkit [11253] by thatcher
  • 4 edits in branches/Safari-2-0-branch/WebCore

Merged fix from TOT to Safari-2-0-branch

2005-11-18 David Harrison <harrison@apple.com>

<http://bugzilla.opendarwin.org/show_bug.cgi?id=5629>
REGRESSION: appendChild() does not remove nodes from source nodelist when inserting into destination

Enable event dispatch when calling removeChild() in loops. That it was
disabled previously was wrong because the DOM is not fragile at that point.
Makes the event dispatch forbiddance a debug-only check

  • khtml/xml/dom_docimpl.cpp: (DocumentImpl::createEvent):
  • khtml/xml/dom_docimpl.h:
  • khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::dispatchEvent): (DOM::NodeImpl::dispatchGenericEvent): (DOM::NodeImpl::dispatchHTMLEvent): (DOM::NodeImpl::dispatchWindowEvent): (DOM::NodeImpl::dispatchMouseEvent): (DOM::NodeImpl::dispatchSimulatedMouseEvent): (DOM::NodeImpl::dispatchUIEvent): (DOM::NodeImpl::dispatchSubtreeModifiedEvent): (DOM::NodeImpl::dispatchKeyEvent): (DOM::NodeImpl::dispatchWheelEvent): (DOM::ContainerNodeImpl::insertBefore): (DOM::ContainerNodeImpl::replaceChild): (DOM::ContainerNodeImpl::removeChild): (DOM::ContainerNodeImpl::removeChildren): (DOM::ContainerNodeImpl::appendChild): (DOM::ContainerNodeImpl::addChild): (DOM::ContainerNodeImpl::dispatchChildInsertedEvents):
2:46 PM Changeset in webkit [11252] by thatcher
  • 17 edits in branches/Safari-1-3-branch/WebCore

Merged fix from TOT to Safari-1-3-branch

2005-07-29 David Hyatt <hyatt@apple.com>

(1) Fixes khtml-user-select: none to have the following additional behavior (that matches Firefox's implementation of the property as well)
(a) If you mouse down (or click, double click, triple click) inside a "none" region, the selection should not be cleared or changed
(b) If you drag from within a "none" region out to a selectable region, so what, no selection should be changed or started.

(2) Adds a new value to khtml-user-select called "element" that is used for any object that should have the behavior of (a) and (b) above (but that is selectable aside from that). This includes images, links, buttons, and so on. html4.css is patched to add support for these objects.

This feature fixes the big contenteditable issue and selection is no longer cleared now when you click on these controls (or on links). This behavior matches other browsers.

(3) :active and :hover have been substantially reworked.

(a) If you mouse down on a selectable region, then the behavior is unchanged. :hover/:active is completely frozen, and they aren't updated at all.
(b) If you mouse down on a non-selectable region and start moving, then the behavior has changed. Instead of not updating at all, we mark the chain at the time the mouse goes down, and we restrict :hover/:active updates to only apply to elements that are in that chain. This yields perfect hover/active control behavior, even when :active has been applied hierarchically.
(c) :hover has moved onto the node and is no longer on the renderobject (allowing them to be consistent).

Reviewed by john

  • khtml/css/cssparser.cpp: (CSSParser::parseValue):
  • khtml/css/cssstyleselector.cpp: (khtml::CSSStyleSelector::canShareStyleWithElement): (khtml::CSSStyleSelector::checkOneSelector): (khtml::CSSStyleSelector::applyProperty):
  • khtml/css/html4.css:
  • khtml/khtml_part.cpp: (KHTMLPart::setSelection): (KHTMLPart::selectClosestWordFromMouseEvent): (KHTMLPart::handleMousePressEventTripleClick): (KHTMLPart::handleMousePressEventSingleClick): (KHTMLPart::handleMouseMoveEventSelection): (KHTMLPart::khtmlMouseReleaseEvent):
  • khtml/khtml_part.h: (KHTMLPart::mouseDownMayStartSelect):
  • khtml/khtmlview.cpp: (KHTMLView::viewportMouseMoveEvent):
  • khtml/rendering/render_layer.cpp: (RenderLayer::hitTest): (RenderLayer::updateHoverActiveState):
  • khtml/rendering/render_object.cpp: (RenderObject::RenderObject): (RenderObject::information):
  • khtml/rendering/render_object.h: (khtml::RenderObject::isRunIn): (khtml::RenderObject::setInline): (khtml::RenderObject::NodeInfo::NodeInfo): (khtml::RenderObject::NodeInfo::mouseMove):
  • khtml/rendering/render_style.h: (khtml::):
  • khtml/xml/dom_docimpl.cpp: (DocumentImpl::DocumentImpl): (DocumentImpl::~DocumentImpl): (DocumentImpl::prepareMouseEvent): (DocumentImpl::setActiveNode):
  • khtml/xml/dom_docimpl.h: (DOM::DocumentImpl::activeNode):
  • khtml/xml/dom_nodeimpl.cpp: (DOM::ContainerNodeImpl::setHovered):
  • khtml/xml/dom_nodeimpl.h: (DOM::NodeImpl::inActiveChain): (DOM::NodeImpl::hovered): (DOM::NodeImpl::setInActiveChain): (DOM::NodeImpl::setHovered):
  • kwq/KWQKHTMLPart.h: (KWQKHTMLPart::mouseDownMayStartSelect):
  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::canMouseDownStartSelect): (KWQKHTMLPart::khtmlMousePressEvent):
2:41 PM Changeset in webkit [11251] by thatcher
  • 17 edits in branches/Safari-2-0-branch/WebCore

Merged fix from TOT to Safari-2-0-branch

2005-07-29 David Hyatt <hyatt@apple.com>

(1) Fixes khtml-user-select: none to have the following additional behavior (that matches Firefox's implementation of the property as well)
(a) If you mouse down (or click, double click, triple click) inside a "none" region, the selection should not be cleared or changed
(b) If you drag from within a "none" region out to a selectable region, so what, no selection should be changed or started.

(2) Adds a new value to khtml-user-select called "element" that is used for any object that should have the behavior of (a) and (b) above (but that is selectable aside from that). This includes images, links, buttons, and so on. html4.css is patched to add support for these objects.

This feature fixes the big contenteditable issue and selection is no longer cleared now when you click on these controls (or on links). This behavior matches other browsers.

(3) :active and :hover have been substantially reworked.

(a) If you mouse down on a selectable region, then the behavior is unchanged. :hover/:active is completely frozen, and they aren't updated at all.
(b) If you mouse down on a non-selectable region and start moving, then the behavior has changed. Instead of not updating at all, we mark the chain at the time the mouse goes down, and we restrict :hover/:active updates to only apply to elements that are in that chain. This yields perfect hover/active control behavior, even when :active has been applied hierarchically.
(c) :hover has moved onto the node and is no longer on the renderobject (allowing them to be consistent).

Reviewed by john

  • khtml/css/cssparser.cpp: (CSSParser::parseValue):
  • khtml/css/cssstyleselector.cpp: (khtml::CSSStyleSelector::canShareStyleWithElement): (khtml::CSSStyleSelector::checkOneSelector): (khtml::CSSStyleSelector::applyProperty):
  • khtml/css/html4.css:
  • khtml/khtml_part.cpp: (KHTMLPart::setSelection): (KHTMLPart::selectClosestWordFromMouseEvent): (KHTMLPart::handleMousePressEventTripleClick): (KHTMLPart::handleMousePressEventSingleClick): (KHTMLPart::handleMouseMoveEventSelection): (KHTMLPart::khtmlMouseReleaseEvent):
  • khtml/khtml_part.h: (KHTMLPart::mouseDownMayStartSelect):
  • khtml/khtmlview.cpp: (KHTMLView::viewportMouseMoveEvent):
  • khtml/rendering/render_layer.cpp: (RenderLayer::hitTest): (RenderLayer::updateHoverActiveState):
  • khtml/rendering/render_object.cpp: (RenderObject::RenderObject): (RenderObject::information):
  • khtml/rendering/render_object.h: (khtml::RenderObject::isRunIn): (khtml::RenderObject::setInline): (khtml::RenderObject::NodeInfo::NodeInfo): (khtml::RenderObject::NodeInfo::mouseMove):
  • khtml/rendering/render_style.h: (khtml::):
  • khtml/xml/dom_docimpl.cpp: (DocumentImpl::DocumentImpl): (DocumentImpl::~DocumentImpl): (DocumentImpl::prepareMouseEvent): (DocumentImpl::setActiveNode):
  • khtml/xml/dom_docimpl.h: (DOM::DocumentImpl::activeNode):
  • khtml/xml/dom_nodeimpl.cpp: (DOM::ContainerNodeImpl::setHovered):
  • khtml/xml/dom_nodeimpl.h: (DOM::NodeImpl::inActiveChain): (DOM::NodeImpl::hovered): (DOM::NodeImpl::setInActiveChain): (DOM::NodeImpl::setHovered):
  • kwq/KWQKHTMLPart.h: (KWQKHTMLPart::mouseDownMayStartSelect):
  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::canMouseDownStartSelect): (KWQKHTMLPart::khtmlMousePressEvent):
1:35 PM Changeset in webkit [11250] by harrison
  • 1 edit
    4 adds in trunk/LayoutTests

Layout tests for <http://bugzilla.opendarwin.org/show_bug.cgi?id=5629>

  • editing/deleting/move-nodes-001-expected.checksum: Added.
  • editing/deleting/move-nodes-001-expected.png: Added.
  • editing/deleting/move-nodes-001-expected.txt: Added.
  • editing/deleting/move-nodes-001.html: Added.
1:34 PM Changeset in webkit [11249] by harrison
  • 4 edits in trunk/WebCore

<http://bugzilla.opendarwin.org/show_bug.cgi?id=5629>
REGRESSION: appendChild() does not remove nodes from source nodelist when inserting into destination

Enable event dispatch when calling removeChild() in loops. That it was
disabled previously was wrong because the DOM is not fragile at that point.
Makes the event dispatch forbiddance a debug-only check

  • khtml/xml/dom_docimpl.cpp: (DocumentImpl::createEvent):
  • khtml/xml/dom_docimpl.h:
  • khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::dispatchEvent): (DOM::NodeImpl::dispatchGenericEvent): (DOM::NodeImpl::dispatchHTMLEvent): (DOM::NodeImpl::dispatchWindowEvent): (DOM::NodeImpl::dispatchMouseEvent): (DOM::NodeImpl::dispatchSimulatedMouseEvent): (DOM::NodeImpl::dispatchUIEvent): (DOM::NodeImpl::dispatchSubtreeModifiedEvent): (DOM::NodeImpl::dispatchKeyEvent): (DOM::NodeImpl::dispatchWheelEvent): (DOM::ContainerNodeImpl::insertBefore): (DOM::ContainerNodeImpl::replaceChild): (DOM::ContainerNodeImpl::removeChild): (DOM::ContainerNodeImpl::removeChildren): (DOM::ContainerNodeImpl::appendChild): (DOM::ContainerNodeImpl::addChild): (DOM::ContainerNodeImpl::dispatchChildInsertedEvents):
10:27 AM Changeset in webkit [11248] by thatcher
  • 2 edits in branches/Safari-1-3-branch/WebCore

Reviewed by Dave Harrson.
Commited by Tim Hatcher.

  • khtml/rendering/render_layer.cpp: (khtml::ContainerNodeImpl::appendChild): Dispatch old parent's subtree modified event from appendChild()
10:26 AM Changeset in webkit [11247] by thatcher
  • 2 edits in branches/Safari-2-0-branch/WebCore

Reviewed by Dave Harrson.
Commited by Tim Hatcher.

  • khtml/rendering/render_layer.cpp: (khtml::ContainerNodeImpl::appendChild): Dispatch old parent's subtree modified event from appendChild()
10:02 AM Changeset in webkit [11246] by thatcher
  • 2 edits in branches/Safari-2-0-branch/WebCore

Merged fix from TOT to Safari-2-0-branch

2005-11-17 Adele Peterson <adele@apple.com>

Reviewed by Beth.

  • fix for <rdar://problem/4347856> Safari crash after browsing Fandango.

When removeFormElement is getting called in a destructor, there may not be a document.
So we don't need to worry about cleaning up the radio buttons in this case, not only to
avoid the crash, but also because the document's destructor will clean that up.

  • khtml/html/html_formimpl.cpp: (DOM::HTMLFormElementImpl::removeFormElement): Added nil check for document.
10:01 AM Changeset in webkit [11245] by thatcher
  • 2 edits in branches/Safari-1-3-branch/WebCore

Merged fix from TOT to Safari-1-3-branch

2005-11-17 Adele Peterson <adele@apple.com>

Reviewed by Beth.

  • fix for <rdar://problem/4347856> Safari crash after browsing Fandango.

When removeFormElement is getting called in a destructor, there may not be a document.
So we don't need to worry about cleaning up the radio buttons in this case, not only to
avoid the crash, but also because the document's destructor will clean that up.

  • khtml/html/html_formimpl.cpp: (DOM::HTMLFormElementImpl::removeFormElement): Added nil check for document.

Nov 17, 2005:

4:57 PM Changeset in webkit [11244]
  • 24 copies
    3 deletes in tags/WebKit-312~6

This commit was manufactured by cvs2svn to create tag 'WebKit-312~6'.

4:57 PM Changeset in webkit [11243]
  • 105 copies
    5 deletes in tags/WebCore-315~11

This commit was manufactured by cvs2svn to create tag
'WebCore-315~11'.

4:57 PM Changeset in webkit [11242]
  • 9 copies
    3 deletes in tags/JavaScriptCore-312~2

This commit was manufactured by cvs2svn to create tag
'JavaScriptCore-312~2'.

4:57 PM Changeset in webkit [11241] by thatcher
  • 3 edits in branches/Safari-1-3-branch

Versioning

4:49 PM Changeset in webkit [11240] by thatcher
  • 3 edits in branches/Safari-1-3-branch

Versioning

3:40 PM Changeset in webkit [11239] by bdakin
  • 3 edits in trunk/WebCore

Bug #:
Submitted by:
Reviewed by:

3:17 PM Changeset in webkit [11238] by adele
  • 2 edits in trunk/WebCore

Reviewed by Beth.

  • fix for <rdar://problem/4347856> Safari crash after browsing Fandango.

When removeFormElement is getting called in a destructor, there may not be a document.
So we don't need to worry about cleaning up the radio buttons in this case, not only to
avoid the crash, but also because the document's destructor will clean that up.

  • khtml/html/html_formimpl.cpp: (DOM::HTMLFormElementImpl::removeFormElement): Added nil check for document.
2:44 PM Changeset in webkit [11237] by adele
  • 2 edits in branches/Safari-2-0-branch/JavaScriptCore

Fix by Darin, reviewed by me.

fix for <rdar://problem/3885811> Some values used with setAttribute() cause the attribute to be removed (null strings vs. empty strings) (4059)

Changed the constructors to return the emtpy string if the string is null.

  • kjs/value.cpp: (Value::Value): (String::String):
2:36 PM Changeset in webkit [11236] by thatcher
  • 4 edits in branches/Safari-1-3-branch/WebCore

Merged fix from TOT to Safari-1-3-branch

2005-11-17 Beth Dakin <Beth Dakin>

Reviewed by Darin

Fix for <rdar://problem/3871165> text box in nested table
disappears when you click on it (3452) (Safari PSOFT: US
EDU PS8: Lead List searches)

Table cells that are in an overlap of a rowspan and a colspan
were not always being repainted correctly. This is because our
previous implementation had no way for a cell to keep track of
both its rowspan and its colspan. This patch maintains the old
way of dealing with rowspan and introduces CellStruct for dealing
with colspan. CellStruct is a structure that contains a
RenderTableCell and a boolean value that is true if the cell is in
a colspan.

  • khtml/rendering/render_table.cpp: (RenderTable::splitColumn): The section grid now returns a CellStruct. (RenderTable::appendColumn): Same as above, and cellAt() also returns

a CellStruct and needs to be set appropriately.

(RenderTable::cellAbove): cellAt() now returns a CellStruct.
(RenderTable::cellBelow): Same.
(RenderTable::cellLeft): Same.
(RenderTable::cellRight): Same.
(RenderTableSection::ensureRows): Create empty CellStruct to fill the

grid.

(RenderTableSection::addCell): cellAt() now returns a CellStruct. This

is also where the change in behavior is to fix
the bug.

(RenderTableSection::setCellWidths): cellAt() now returns a CellStruct.
(RenderTableSection::calcRowHeight): Same.
(RenderTableSection::layoutRows): Same.
(RenderTableSection::paint): Same.
(RenderTableSection::dump): Same.

  • khtml/rendering/render_table.h: (khtml::RenderTableSection::cellAt): Same.
  • khtml/rendering/table_layout.cpp: (AutoTableLayout::recalcColumn): Same. (AutoTableLayout::calcEffectiveWidth): Removed reference to

(RenderTableCell *)-1 because that is now
removed, and a cell will never be in a colspan
in this function anyway.

(AutoTableLayout::insertSpanCell): Same.

2:29 PM Changeset in webkit [11235] by hyatt
  • 4 edits in trunk/WebCore

Add support for getting a style property off of a DOMAttr. This is an API that allows
access to the style declaration for HTML presentational attributes like width and height. This API exists only
in Objective-C, since JS would have to make the declaration readonly before it could be safely
returned.

Reviewed by darin

  • khtml/xml/dom_elementimpl.h: (DOM::AttributeImpl::style): (DOM::AttrImpl::style): (DOM::MappedAttributeImpl::style):
  • kwq/DOM.mm: (-[DOMAttr style]):
  • kwq/DOMPrivate.h:
2:24 PM Changeset in webkit [11234] by thatcher
  • 4 edits in branches/Safari-2-0-branch/WebCore

Merged fix from TOT to Safari-2-0-branch

2005-11-17 Beth Dakin <Beth Dakin>

Reviewed by Darin

Fix for <rdar://problem/3871165> text box in nested table
disappears when you click on it (3452) (Safari PSOFT: US
EDU PS8: Lead List searches)

Table cells that are in an overlap of a rowspan and a colspan
were not always being repainted correctly. This is because our
previous implementation had no way for a cell to keep track of
both its rowspan and its colspan. This patch maintains the old
way of dealing with rowspan and introduces CellStruct for dealing
with colspan. CellStruct is a structure that contains a
RenderTableCell and a boolean value that is true if the cell is in
a colspan.

  • khtml/rendering/render_table.cpp: (RenderTable::splitColumn): The section grid now returns a CellStruct. (RenderTable::appendColumn): Same as above, and cellAt() also returns

a CellStruct and needs to be set appropriately.

(RenderTable::cellAbove): cellAt() now returns a CellStruct.
(RenderTable::cellBelow): Same.
(RenderTable::cellLeft): Same.
(RenderTable::cellRight): Same.
(RenderTableSection::ensureRows): Create empty CellStruct to fill the

grid.

(RenderTableSection::addCell): cellAt() now returns a CellStruct. This

is also where the change in behavior is to fix
the bug.

(RenderTableSection::setCellWidths): cellAt() now returns a CellStruct.
(RenderTableSection::calcRowHeight): Same.
(RenderTableSection::layoutRows): Same.
(RenderTableSection::paint): Same.
(RenderTableSection::dump): Same.

  • khtml/rendering/render_table.h: (khtml::RenderTableSection::cellAt): Same.
  • khtml/rendering/table_layout.cpp: (AutoTableLayout::recalcColumn): Same. (AutoTableLayout::calcEffectiveWidth): Removed reference to

(RenderTableCell *)-1 because that is now
removed, and a cell will never be in a colspan
in this function anyway.

(AutoTableLayout::insertSpanCell): Same.

1:28 PM Changeset in webkit [11233] by hyatt
  • 11 edits in trunk/WebCore

Add support for getMatchedCSSRules, an API that can be used to
inspect the set of rules that match on an element. From Obj-C
you see all rules (user agent, author, user). From JS you just
see author rules.

Reviewed by darin

  • khtml/css/cssparser.cpp:
  • khtml/css/cssstyleselector.cpp: (khtml::CSSStyleSelector::matchRules): (khtml::CSSStyleSelector::matchRulesForList): (khtml::CSSStyleSelector::initForStyleResolve): (khtml::CSSStyleSelector::styleRulesForElement): (khtml::CSSStyleSelector::pseudoStyleRulesForElement):
  • khtml/css/cssstyleselector.h:
  • khtml/css/parser.y:
  • khtml/ecma/kjs_views.cpp: (KJS::DOMAbstractViewProtoFunc::callAsFunction):
  • khtml/ecma/kjs_views.h: (KJS::DOMAbstractView::):
  • khtml/xml/dom2_viewsimpl.cpp: (DOM::AbstractViewImpl::getComputedStyle): (DOM::AbstractViewImpl::getMatchedCSSRules):
  • khtml/xml/dom2_viewsimpl.h:
  • kwq/DOM-CSS.mm: (-[DOMDocument getMatchedCSSRules::]):
  • kwq/DOMCSS.h:
10:45 AM Changeset in webkit [11232] by bdakin
  • 5 edits
    4 adds in trunk

Bug #:
Submitted by:
Reviewed by:

10:32 AM Changeset in webkit [11231] by thatcher
  • 3 edits in branches/Safari-1-3-branch/WebCore

Merged fix from TOT to Safari-1-3-branch

2005-11-15 Adele Peterson <adele@apple.com>

Reviewed by Darin.

  • fix for <rdar://problem/4341948> REGRESSION(TOT/GLENDALE): Safari won't tab between input/textarea elements if a select element is present
  • kwq/KWQComboBox.mm: (-[KWQPopUpButton canBecomeKeyView]): removed check for tabsToAllControls() since we now always allow tabbing to select elements
  • kwq/KWQListBox.mm: (-[KWQTableView canBecomeKeyView]): ditto.
10:29 AM Changeset in webkit [11230] by thatcher
  • 3 edits in branches/Safari-2-0-branch/WebCore

Merged fix from TOT to Safari-2-0-branch

2005-11-15 Adele Peterson <adele@apple.com>

Reviewed by Darin.

  • fix for <rdar://problem/4341948> REGRESSION(TOT/GLENDALE): Safari won't tab between input/textarea elements if a select element is present
  • kwq/KWQComboBox.mm: (-[KWQPopUpButton canBecomeKeyView]): removed check for tabsToAllControls() since we now always allow tabbing to select elements
  • kwq/KWQListBox.mm: (-[KWQTableView canBecomeKeyView]): ditto.
Note: See TracTimeline for information about the timeline view.