1. 30 Nov, 2007 1 commit
  2. 25 Sep, 2007 1 commit
    • ddkilzer's avatar
      JavaScriptCore: · c8eccecd
      ddkilzer authored
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * COPYING.LIB:
              * bindings/testbindings.cpp:
              * kjs/AllInOneFile.cpp:
              * kjs/DateMath.cpp:
              * kjs/PropertyNameArray.cpp:
              * kjs/PropertyNameArray.h:
              * kjs/config.h:
      
      WebCore:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * LICENSE-LGPL-2:
              * LICENSE-LGPL-2.1:
              * WebCorePrefix.h:
              * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSHTMLCollectionCustom.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/JSHTMLInputElementBase.cpp:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.cpp:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
              * bindings/js/JSHTMLSelectElementCustom.cpp:
              * bindings/js/JSNodeFilterCondition.cpp:
              * bindings/js/JSNodeFilterCondition.h:
              * bindings/js/JSNodeIteratorCustom.cpp:
              * bindings/js/JSSVGElementWrapperFactory.cpp:
              * bindings/js/JSSVGElementWrapperFactory.h:
              * bindings/js/JSSVGMatrixCustom.cpp:
              * bindings/js/JSSVGPathSegCustom.cpp:
              * bindings/js/JSSVGPathSegListCustom.cpp:
              * bindings/js/JSSVGPointListCustom.cpp:
              * bindings/js/JSTreeWalkerCustom.cpp:
              * bindings/js/JSXMLHttpRequest.cpp:
              * bindings/js/JSXMLHttpRequest.h:
              * bindings/js/kjs_binding.cpp:
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_css.h:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_events.cpp:
              * bindings/js/kjs_events.h:
              * bindings/js/kjs_html.cpp:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_navigator.cpp:
              * bindings/js/kjs_navigator.h:
              * bindings/js/kjs_proxy.cpp:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_window.cpp:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOMImplementationFront.cpp:
              * bindings/objc/DOMImplementationFront.h:
              * bindings/scripts/CodeGenerator.pm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * bindings/scripts/IDLParser.pm:
              * bindings/scripts/IDLStructure.pm:
              * bindings/scripts/generate-bindings.pl:
              * config.h:
              * css/CSSBorderImageValue.cpp:
              * css/CSSBorderImageValue.h:
              * css/CSSCharsetRule.cpp:
              * css/CSSCharsetRule.h:
              * css/CSSCharsetRule.idl:
              * css/CSSComputedStyleDeclaration.cpp:
              * css/CSSComputedStyleDeclaration.h:
              * css/CSSCursorImageValue.cpp:
              * css/CSSCursorImageValue.h:
              * css/CSSFontFaceRule.cpp:
              * css/CSSFontFaceRule.h:
              * css/CSSFontFaceRule.idl:
              * css/CSSGrammar.y:
              * css/CSSHelper.cpp:
              * css/CSSHelper.h:
              * css/CSSImageValue.cpp:
              * css/CSSImageValue.h:
              * css/CSSImportRule.cpp:
              * css/CSSImportRule.h:
              * css/CSSImportRule.idl:
              * css/CSSInheritedValue.cpp:
              * css/CSSInheritedValue.h:
              * css/CSSInitialValue.cpp:
              * css/CSSInitialValue.h:
              * css/CSSMediaRule.cpp:
              * css/CSSMediaRule.h:
              * css/CSSMediaRule.idl:
              * css/CSSMutableStyleDeclaration.cpp:
              * css/CSSMutableStyleDeclaration.h:
              * css/CSSNamespace.h:
              * css/CSSPageRule.cpp:
              * css/CSSPageRule.h:
              * css/CSSPageRule.idl:
              * css/CSSParser.cpp:
              * css/CSSParser.h:
              * css/CSSPrimitiveValue.cpp:
              * css/CSSPrimitiveValue.h:
              * css/CSSPrimitiveValue.idl:
              * css/CSSProperty.cpp:
              * css/CSSProperty.h:
              * css/CSSQuirkPrimitiveValue.h:
              * css/CSSRule.cpp:
              * css/CSSRule.h:
              * css/CSSRule.idl:
              * css/CSSRuleList.cpp:
              * css/CSSRuleList.h:
              * css/CSSSelector.cpp:
              * css/CSSSelector.h:
              * css/CSSStyleDeclaration.cpp:
              * css/CSSStyleDeclaration.h:
              * css/CSSStyleDeclaration.idl:
              * css/CSSStyleRule.cpp:
              * css/CSSStyleRule.h:
              * css/CSSStyleRule.idl:
              * css/CSSStyleSelector.cpp:
              * css/CSSStyleSelector.h:
              * css/CSSStyleSheet.cpp:
              * css/CSSStyleSheet.h:
              * css/CSSStyleSheet.idl:
              * css/CSSUnknownRule.h:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.h:
              * css/CSSValue.idl:
              * css/CSSValueList.cpp:
              * css/CSSValueList.h:
              * css/Counter.h:
              * css/Counter.idl:
              * css/DashboardRegion.h:
              * css/FontFamilyValue.cpp:
              * css/FontFamilyValue.h:
              * css/FontValue.cpp:
              * css/FontValue.h:
              * css/MediaFeatureNames.cpp:
              * css/MediaFeatureNames.h:
              * css/MediaList.cpp:
              * css/MediaList.h:
              * css/Pair.h:
              * css/RGBColor.idl:
              * css/Rect.h:
              * css/Rect.idl:
              * css/ShadowValue.cpp:
              * css/ShadowValue.h:
              * css/StyleBase.cpp:
              * css/StyleBase.h:
              * css/StyleList.cpp:
              * css/StyleList.h:
              * css/StyleSheet.cpp:
              * css/StyleSheet.h:
              * css/StyleSheet.idl:
              * css/StyleSheetList.cpp:
              * css/StyleSheetList.h:
              * css/StyleSheetList.idl:
              * css/html4.css:
              * css/make-css-file-arrays.pl:
              * css/makegrammar.pl:
              * css/makeprop.pl:
              * css/maketokenizer:
              * css/makevalues.pl:
              * css/quirks.css:
              * dom/AtomicStringList.h:
              * dom/Attr.cpp:
              * dom/Attr.h:
              * dom/Attr.idl:
              * dom/Attribute.cpp:
              * dom/Attribute.h:
              * dom/BeforeUnloadEvent.cpp:
              * dom/BeforeUnloadEvent.h:
              * dom/CDATASection.cpp:
              * dom/CDATASection.h:
              * dom/CDATASection.idl:
              * dom/CSSMappedAttributeDeclaration.cpp:
              * dom/CSSMappedAttributeDeclaration.h:
              * dom/CharacterData.cpp:
              * dom/CharacterData.h:
              * dom/CharacterData.idl:
              * dom/ChildNodeList.cpp:
              * dom/ChildNodeList.h:
              * dom/Clipboard.h:
              * dom/ClipboardEvent.cpp:
              * dom/ClipboardEvent.h:
              * dom/Comment.cpp:
              * dom/Comment.h:
              * dom/Comment.idl:
              * dom/ContainerNode.cpp:
              * dom/ContainerNode.h:
              * dom/DOMImplementation.cpp:
              * dom/DOMImplementation.h:
              * dom/DOMImplementation.idl:
              * dom/DocPtr.h:
              * dom/Document.cpp:
              * dom/Document.h:
              * dom/Document.idl:
              * dom/DocumentFragment.cpp:
              * dom/DocumentFragment.h:
              * dom/DocumentFragment.idl:
              * dom/DocumentMarker.h:
              * dom/DocumentType.cpp:
              * dom/DocumentType.h:
              * dom/DocumentType.idl:
              * dom/EditingText.cpp:
              * dom/EditingText.h:
              * dom/Element.cpp:
              * dom/Element.h:
              * dom/Element.idl:
              * dom/Entity.cpp:
              * dom/Entity.h:
              * dom/Entity.idl:
              * dom/EntityReference.cpp:
              * dom/EntityReference.h:
              * dom/EntityReference.idl:
              * dom/Event.cpp:
              * dom/Event.h:
              * dom/Event.idl:
              * dom/EventListener.h:
              * dom/EventListener.idl:
              * dom/EventNames.cpp:
              * dom/EventNames.h:
              * dom/EventTarget.idl:
              * dom/EventTargetNode.cpp:
              * dom/EventTargetNode.h:
              * dom/ExceptionCode.h:
              * dom/KeyboardEvent.cpp:
              * dom/KeyboardEvent.h:
              * dom/KeyboardEvent.idl:
              * dom/MappedAttribute.cpp:
              * dom/MappedAttribute.h:
              * dom/MappedAttributeEntry.h:
              * dom/MouseEvent.cpp:
              * dom/MouseEvent.h:
              * dom/MouseEvent.idl:
              * dom/MouseRelatedEvent.cpp:
              * dom/MouseRelatedEvent.h:
              * dom/MutationEvent.cpp:
              * dom/MutationEvent.h:
              * dom/MutationEvent.idl:
              * dom/NameNodeList.cpp:
              * dom/NameNodeList.h:
              * dom/NamedAttrMap.cpp:
              * dom/NamedAttrMap.h:
              * dom/NamedMappedAttrMap.cpp:
              * dom/NamedMappedAttrMap.h:
              * dom/NamedNodeMap.h:
              * dom/NamedNodeMap.idl:
              * dom/Node.cpp:
              * dom/Node.h:
              * dom/Node.idl:
              * dom/NodeFilter.cpp:
              * dom/NodeFilter.h:
              * dom/NodeFilter.idl:
              * dom/NodeFilterCondition.cpp:
              * dom/NodeFilterCondition.h:
              * dom/NodeIterator.cpp:
              * dom/NodeIterator.h:
              * dom/NodeIterator.idl:
              * dom/NodeList.cpp:
              * dom/NodeList.h:
              * dom/NodeList.idl:
              * dom/Notation.cpp:
              * dom/Notation.h:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.cpp:
              * dom/ProcessingInstruction.h:
              * dom/ProcessingInstruction.idl:
              * dom/QualifiedName.cpp:
              * dom/QualifiedName.h:
              * dom/Range.cpp:
              * dom/Range.h:
              * dom/Range.idl:
              * dom/RangeException.h:
              * dom/RangeException.idl:
              * dom/RegisteredEventListener.cpp:
              * dom/RegisteredEventListener.h:
              * dom/StyleElement.cpp:
              * dom/StyleElement.h:
              * dom/StyledElement.cpp:
              * dom/StyledElement.h:
              * dom/Text.cpp:
              * dom/Text.h:
              * dom/Text.idl:
              * dom/Tokenizer.h:
              * dom/Traversal.cpp:
              * dom/Traversal.h:
              * dom/TreeWalker.cpp:
              * dom/TreeWalker.h:
              * dom/TreeWalker.idl:
              * dom/UIEvent.cpp:
              * dom/UIEvent.h:
              * dom/UIEvent.idl:
              * dom/UIEventWithKeyState.cpp:
              * dom/UIEventWithKeyState.h:
              * dom/WheelEvent.cpp:
              * dom/WheelEvent.h:
              * dom/WheelEvent.idl:
              * dom/XMLTokenizer.cpp:
              * dom/XMLTokenizer.h:
              * html/FormDataList.cpp:
              * html/FormDataList.h:
              * html/HTMLAnchorElement.cpp:
              * html/HTMLAnchorElement.h:
              * html/HTMLAnchorElement.idl:
              * html/HTMLAppletElement.cpp:
              * html/HTMLAppletElement.h:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.cpp:
              * html/HTMLAreaElement.h:
              * html/HTMLAreaElement.idl:
              * html/HTMLBRElement.cpp:
              * html/HTMLBRElement.h:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.cpp:
              * html/HTMLBaseElement.h:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.cpp:
              * html/HTMLBaseFontElement.h:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.cpp:
              * html/HTMLBlockquoteElement.h:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.cpp:
              * html/HTMLBodyElement.h:
              * html/HTMLBodyElement.idl:
              * html/HTMLButtonElement.cpp:
              * html/HTMLButtonElement.h:
              * html/HTMLButtonElement.idl:
              * html/HTMLCollection.cpp:
              * html/HTMLCollection.h:
              * html/HTMLCollection.idl:
              * html/HTMLDListElement.cpp:
              * html/HTMLDListElement.h:
              * html/HTMLDListElement.idl:
              * html/HTMLDirectoryElement.cpp:
              * html/HTMLDirectoryElement.h:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLDivElement.cpp:
              * html/HTMLDivElement.h:
              * html/HTMLDivElement.idl:
              * html/HTMLDocument.cpp:
              * html/HTMLDocument.h:
              * html/HTMLDocument.idl:
              * html/HTMLElement.cpp:
              * html/HTMLElement.h:
              * html/HTMLElement.idl:
              * html/HTMLElementFactory.cpp:
              * html/HTMLElementFactory.h:
              * html/HTMLEmbedElement.cpp:
              * html/HTMLEmbedElement.h:
              * html/HTMLEmbedElement.idl:
              * html/HTMLEntityNames.gperf:
              * html/HTMLFieldSetElement.cpp:
              * html/HTMLFieldSetElement.h:
              * html/HTMLFieldSetElement.idl:
              * html/HTMLFontElement.cpp:
              * html/HTMLFontElement.h:
              * html/HTMLFontElement.idl:
              * html/HTMLFormCollection.cpp:
              * html/HTMLFormCollection.h:
              * html/HTMLFormElement.cpp:
              * html/HTMLFormElement.h:
              * html/HTMLFormElement.idl:
              * html/HTMLFrameElement.cpp:
              * html/HTMLFrameElement.h:
              * html/HTMLFrameElement.idl:
              * html/HTMLFrameElementBase.cpp:
              * html/HTMLFrameElementBase.h:
              * html/HTMLFrameOwnerElement.cpp:
              * html/HTMLFrameOwnerElement.h:
              * html/HTMLFrameSetElement.cpp:
              * html/HTMLFrameSetElement.h:
              * html/HTMLFrameSetElement.idl:
              * html/HTMLGenericFormElement.cpp:
              * html/HTMLGenericFormElement.h:
              * html/HTMLHRElement.cpp:
              * html/HTMLHRElement.h:
              * html/HTMLHRElement.idl:
              * html/HTMLHeadElement.cpp:
              * html/HTMLHeadElement.h:
              * html/HTMLHeadElement.idl:
              * html/HTMLHeadingElement.cpp:
              * html/HTMLHeadingElement.h:
              * html/HTMLHeadingElement.idl:
              * html/HTMLHtmlElement.cpp:
              * html/HTMLHtmlElement.h:
              * html/HTMLHtmlElement.idl:
              * html/HTMLIFrameElement.cpp:
              * html/HTMLIFrameElement.h:
              * html/HTMLIFrameElement.idl:
              * html/HTMLImageElement.cpp:
              * html/HTMLImageElement.h:
              * html/HTMLImageElement.idl:
              * html/HTMLImageLoader.cpp:
              * html/HTMLImageLoader.h:
              * html/HTMLInputElement.cpp:
              * html/HTMLInputElement.h:
              * html/HTMLInputElement.idl:
              * html/HTMLIsIndexElement.cpp:
              * html/HTMLIsIndexElement.h:
              * html/HTMLIsIndexElement.idl:
              * html/HTMLKeygenElement.cpp:
              * html/HTMLKeygenElement.h:
              * html/HTMLLIElement.cpp:
              * html/HTMLLIElement.h:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.cpp:
              * html/HTMLLabelElement.h:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.cpp:
              * html/HTMLLegendElement.h:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.cpp:
              * html/HTMLLinkElement.h:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.cpp:
              * html/HTMLMapElement.h:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.cpp:
              * html/HTMLMarqueeElement.h:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMenuElement.cpp:
              * html/HTMLMenuElement.h:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.cpp:
              * html/HTMLMetaElement.h:
              * html/HTMLMetaElement.idl:
              * html/HTMLModElement.cpp:
              * html/HTMLModElement.h:
              * html/HTMLModElement.idl:
              * html/HTMLNameCollection.cpp:
              * html/HTMLNameCollection.h:
              * html/HTMLOListElement.cpp:
              * html/HTMLOListElement.h:
              * html/HTMLOListElement.idl:
              * html/HTMLObjectElement.cpp:
              * html/HTMLObjectElement.h:
              * html/HTMLObjectElement.idl:
              * html/HTMLOptGroupElement.cpp:
              * html/HTMLOptGroupElement.h:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.cpp:
              * html/HTMLOptionElement.h:
              * html/HTMLOptionElement.idl:
              * html/HTMLOptionsCollection.cpp:
              * html/HTMLOptionsCollection.h:
              * html/HTMLOptionsCollection.idl:
              * html/HTMLParagraphElement.cpp:
              * html/HTMLParagraphElement.h:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.cpp:
              * html/HTMLParamElement.h:
              * html/HTMLParamElement.idl:
              * html/HTMLParser.cpp:
              * html/HTMLParser.h:
              * html/HTMLPlugInElement.cpp:
              * html/HTMLPlugInElement.h:
              * html/HTMLPreElement.cpp:
              * html/HTMLPreElement.h:
              * html/HTMLPreElement.idl:
              * html/HTMLQuoteElement.cpp:
              * html/HTMLQuoteElement.h:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.cpp:
              * html/HTMLScriptElement.h:
              * html/HTMLScriptElement.idl:
              * html/HTMLSelectElement.cpp:
              * html/HTMLSelectElement.h:
              * html/HTMLSelectElement.idl:
              * html/HTMLStyleElement.cpp:
              * html/HTMLStyleElement.h:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.cpp:
              * html/HTMLTableCaptionElement.h:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.cpp:
              * html/HTMLTableCellElement.h:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.cpp:
              * html/HTMLTableColElement.h:
              * html/HTMLTableColElement.idl:
              * html/HTMLTableElement.cpp:
              * html/HTMLTableElement.h:
              * html/HTMLTableElement.idl:
              * html/HTMLTablePartElement.cpp:
              * html/HTMLTablePartElement.h:
              * html/HTMLTableRowElement.cpp:
              * html/HTMLTableRowElement.h:
              * html/HTMLTableRowElement.idl:
              * html/HTMLTableSectionElement.cpp:
              * html/HTMLTableSectionElement.h:
              * html/HTMLTableSectionElement.idl:
              * html/HTMLTextAreaElement.cpp:
              * html/HTMLTextAreaElement.h:
              * html/HTMLTextAreaElement.idl:
              * html/HTMLTitleElement.cpp:
              * html/HTMLTitleElement.h:
              * html/HTMLTitleElement.idl:
              * html/HTMLTokenizer.cpp:
              * html/HTMLTokenizer.h:
              * html/HTMLUListElement.cpp:
              * html/HTMLUListElement.h:
              * html/HTMLUListElement.idl:
              * ksvg2/css/SVGCSSParser.cpp:
              * ksvg2/css/SVGCSSStyleSelector.cpp:
              * ksvg2/css/SVGRenderStyle.cpp:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.cpp:
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/events/JSSVGLazyEventListener.cpp:
              * ksvg2/events/JSSVGLazyEventListener.h:
              * ksvg2/events/SVGZoomEvent.cpp:
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/PointerEventsHitRules.cpp:
              * ksvg2/misc/PointerEventsHitRules.h:
              * ksvg2/misc/SVGDocumentExtensions.cpp:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGImageLoader.cpp:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/misc/SVGTimer.cpp:
              * ksvg2/misc/SVGTimer.h:
              * ksvg2/misc/TimeScheduler.cpp:
              * ksvg2/misc/TimeScheduler.h:
              * ksvg2/scripts/cssmakeprops:
              * ksvg2/scripts/cssmakevalues:
              * ksvg2/svg/ColorDistance.cpp:
              * ksvg2/svg/ColorDistance.h:
              * ksvg2/svg/GradientAttributes.h:
              * ksvg2/svg/LinearGradientAttributes.h:
              * ksvg2/svg/PatternAttributes.h:
              * ksvg2/svg/RadialGradientAttributes.h:
              * ksvg2/svg/SVGAElement.cpp:
              * ksvg2/svg/SVGAElement.h:
              * ksvg2/svg/SVGAngle.cpp:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAngle.idl:
              * ksvg2/svg/SVGAnimateColorElement.cpp:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimateElement.cpp:
              * ksvg2/svg/SVGAnimateElement.h:
              * ksvg2/svg/SVGAnimateMotionElement.cpp:
              * ksvg2/svg/SVGAnimateMotionElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.cpp:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimatedPathData.cpp:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.cpp:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedTemplate.h:
              * ksvg2/svg/SVGAnimationElement.cpp:
              * ksvg2/svg/SVGAnimationElement.h:
              * ksvg2/svg/SVGCircleElement.cpp:
              * ksvg2/svg/SVGCircleElement.h:
              * ksvg2/svg/SVGClipPathElement.cpp:
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGColor.cpp:
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGColor.idl:
              * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
              * ksvg2/svg/SVGComponentTransferFunctionElement.h:
              * ksvg2/svg/SVGCursorElement.cpp:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGDefsElement.cpp:
              * ksvg2/svg/SVGDefsElement.h:
              * ksvg2/svg/SVGDescElement.cpp:
              * ksvg2/svg/SVGDescElement.h:
              * ksvg2/svg/SVGDocument.cpp:
              * ksvg2/svg/SVGDocument.h:
              * ksvg2/svg/SVGDocument.idl:
              * ksvg2/svg/SVGElement.cpp:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGElement.idl:
              * ksvg2/svg/SVGElementInstance.cpp:
              * ksvg2/svg/SVGElementInstance.h:
              * ksvg2/svg/SVGElementInstanceList.cpp:
              * ksvg2/svg/SVGElementInstanceList.h:
              * ksvg2/svg/SVGEllipseElement.cpp:
              * ksvg2/svg/SVGEllipseElement.h:
              * ksvg2/svg/SVGException.h:
              * ksvg2/svg/SVGExternalResourcesRequired.cpp:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFEBlendElement.cpp:
              * ksvg2/svg/SVGFEBlendElement.h:
              * ksvg2/svg/SVGFEColorMatrixElement.cpp:
              * ksvg2/svg/SVGFEColorMatrixElement.h:
              * ksvg2/svg/SVGFEComponentTransferElement.cpp:
              * ksvg2/svg/SVGFEComponentTransferElement.h:
              * ksvg2/svg/SVGFECompositeElement.cpp:
              * ksvg2/svg/SVGFECompositeElement.h:
              * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
              * ksvg2/svg/SVGFEDiffuseLightingElement.h:
              * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEDistantLightElement.cpp:
              * ksvg2/svg/SVGFEDistantLightElement.h:
              * ksvg2/svg/SVGFEFloodElement.cpp:
              * ksvg2/svg/SVGFEFloodElement.h:
              * ksvg2/svg/SVGFEFuncAElement.cpp:
              * ksvg2/svg/SVGFEFuncAElement.h:
              * ksvg2/svg/SVGFEFuncBElement.cpp:
              * ksvg2/svg/SVGFEFuncBElement.h:
              * ksvg2/svg/SVGFEFuncGElement.cpp:
              * ksvg2/svg/SVGFEFuncGElement.h:
              * ksvg2/svg/SVGFEFuncRElement.cpp:
              * ksvg2/svg/SVGFEFuncRElement.h:
              * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
              * ksvg2/svg/SVGFEGaussianBlurElement.h:
              * ksvg2/svg/SVGFEImageElement.cpp:
              * ksvg2/svg/SVGFEImageElement.h:
              * ksvg2/svg/SVGFELightElement.cpp:
              * ksvg2/svg/SVGFELightElement.h:
              * ksvg2/svg/SVGFEMergeElement.cpp:
              * ksvg2/svg/SVGFEMergeElement.h:
              * ksvg2/svg/SVGFEMergeNodeElement.cpp:
              * ksvg2/svg/SVGFEMergeNodeElement.h:
              * ksvg2/svg/SVGFEOffsetElement.cpp:
              * ksvg2/svg/SVGFEOffsetElement.h:
              * ksvg2/svg/SVGFEPointLightElement.cpp:
              * ksvg2/svg/SVGFEPointLightElement.h:
              * ksvg2/svg/SVGFESpecularLightingElement.cpp:
              * ksvg2/svg/SVGFESpecularLightingElement.h:
              * ksvg2/svg/SVGFESpotLightElement.cpp:
              * ksvg2/svg/SVGFESpotLightElement.h:
              * ksvg2/svg/SVGFETileElement.cpp:
              * ksvg2/svg/SVGFETileElement.h:
              * ksvg2/svg/SVGFETurbulenceElement.cpp:
              * ksvg2/svg/SVGFETurbulenceElement.h:
              * ksvg2/svg/SVGFilterElement.cpp:
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
              * ksvg2/svg/SVGFitToViewBox.cpp:
              * ksvg2/svg/SVGFitToViewBox.h:
              * ksvg2/svg/SVGForeignObjectElement.cpp:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGGElement.cpp:
              * ksvg2/svg/SVGGElement.h:
              * ksvg2/svg/SVGGradientElement.cpp:
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGImageElement.h:
              * ksvg2/svg/SVGLangSpace.cpp:
              * ksvg2/svg/SVGLangSpace.h:
              * ksvg2/svg/SVGLength.cpp:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGLength.idl:
              * ksvg2/svg/SVGLengthList.cpp:
              * ksvg2/svg/SVGLengthList.h:
              * ksvg2/svg/SVGLineElement.cpp:
              * ksvg2/svg/SVGLineElement.h:
              * ksvg2/svg/SVGLinearGradientElement.cpp:
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGList.h:
              * ksvg2/svg/SVGListTraits.h:
              * ksvg2/svg/SVGLocatable.cpp:
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMPathElement.cpp:
              * ksvg2/svg/SVGMPathElement.h:
              * ksvg2/svg/SVGMarkerElement.cpp:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMatrix.idl:
              * ksvg2/svg/SVGMetadataElement.cpp:
              * ksvg2/svg/SVGMetadataElement.h:
              * ksvg2/svg/SVGMetadataElement.idl:
              * ksvg2/svg/SVGNumber.idl:
              * ksvg2/svg/SVGNumberList.cpp:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.cpp:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGParserUtilities.cpp:
              * ksvg2/svg/SVGParserUtilities.h:
              * ksvg2/svg/SVGPathElement.cpp:
              * ksvg2/svg/SVGPathElement.h:
              * ksvg2/svg/SVGPathSeg.h:
              * ksvg2/svg/SVGPathSegArc.cpp:
              * ksvg2/svg/SVGPathSegArc.h:
              * ksvg2/svg/SVGPathSegClosePath.cpp:
              * ksvg2/svg/SVGPathSegClosePath.h:
              * ksvg2/svg/SVGPathSegCurvetoCubic.cpp:
              * ksvg2/svg/SVGPathSegCurvetoCubic.h:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
              * ksvg2/svg/SVGPathSegLineto.cpp:
              * ksvg2/svg/SVGPathSegLineto.h:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.cpp:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
              * ksvg2/svg/SVGPathSegLinetoVertical.cpp:
              * ksvg2/svg/SVGPathSegLinetoVertical.h:
              * ksvg2/svg/SVGPathSegList.cpp:
              * ksvg2/svg/SVGPathSegList.h:
              * ksvg2/svg/SVGPathSegMoveto.cpp:
              * ksvg2/svg/SVGPathSegMoveto.h:
              * ksvg2/svg/SVGPatternElement.cpp:
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGPoint.idl:
              * ksvg2/svg/SVGPointList.cpp:
              * ksvg2/svg/SVGPointList.h:
              * ksvg2/svg/SVGPolyElement.cpp:
              * ksvg2/svg/SVGPolyElement.h:
              * ksvg2/svg/SVGPolygonElement.cpp:
              * ksvg2/svg/SVGPolygonElement.h:
              * ksvg2/svg/SVGPolylineElement.cpp:
              * ksvg2/svg/SVGPolylineElement.h:
              * ksvg2/svg/SVGPreserveAspectRatio.cpp:
              * ksvg2/svg/SVGPreserveAspectRatio.h:
              * ksvg2/svg/SVGRadialGradientElement.cpp:
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGRect.idl:
              * ksvg2/svg/SVGRectElement.cpp:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGRenderingIntent.h:
              * ksvg2/svg/SVGSVGElement.cpp:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGSVGElement.idl:
              * ksvg2/svg/SVGScriptElement.cpp:
              * ksvg2/svg/SVGScriptElement.h:
              * ksvg2/svg/SVGSetElement.cpp:
              * ksvg2/svg/SVGSetElement.h:
              * ksvg2/svg/SVGStopElement.cpp:
              * ksvg2/svg/SVGStopElement.h:
              * ksvg2/svg/SVGStringList.cpp:
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGStylable.cpp:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGStyleElement.cpp:
              * ksvg2/svg/SVGStyleElement.h:
              * ksvg2/svg/SVGStyledElement.cpp:
              * ksvg2/svg/SVGStyledElement.h:
              * ksvg2/svg/SVGStyledLocatableElement.cpp:
              * ksvg2/svg/SVGStyledLocatableElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.cpp:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.cpp:
              * ksvg2/svg/SVGSwitchElement.h:
              * ksvg2/svg/SVGSymbolElement.cpp:
              * ksvg2/svg/SVGSymbolElement.h:
              * ksvg2/svg/SVGTRefElement.cpp:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.cpp:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTests.cpp:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTextContentElement.cpp:
              * ksvg2/svg/SVGTextContentElement.h:
              * ksvg2/svg/SVGTextElement.cpp:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/SVGTextPositioningElement.cpp:
              * ksvg2/svg/SVGTextPositioningElement.h:
              * ksvg2/svg/SVGTitleElement.cpp:
              * ksvg2/svg/SVGTitleElement.h:
              * ksvg2/svg/SVGTransform.cpp:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransform.idl:
              * ksvg2/svg/SVGTransformDistance.cpp:
              * ksvg2/svg/SVGTransformDistance.h:
              * ksvg2/svg/SVGTransformList.cpp:
              * ksvg2/svg/SVGTransformList.h:
              * ksvg2/svg/SVGTransformable.cpp:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGURIReference.cpp:
              * ksvg2/svg/SVGURIReference.h:
              * ksvg2/svg/SVGUnitTypes.h:
              * ksvg2/svg/SVGUseElement.cpp:
              * ksvg2/svg/SVGUseElement.h:
              * ksvg2/svg/SVGViewElement.cpp:
              * ksvg2/svg/SVGViewElement.h:
              * ksvg2/svg/SVGZoomAndPan.cpp:
              * ksvg2/svg/SVGZoomAndPan.h:
              * loader/Cache.cpp:
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.cpp:
              * loader/CachedImage.h:
              * loader/CachedResource.cpp:
              * loader/CachedResource.h:
              * loader/CachedResourceClient.h:
              * loader/CachedResourceClientWalker.cpp:
              * loader/CachedResourceClientWalker.h:
              * loader/CachedScript.cpp:
              * loader/CachedScript.h:
              * loader/CachedXBLDocument.cpp:
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.cpp:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.cpp:
              * loader/DocLoader.h:
              * loader/FTPDirectoryParser.cpp:
              * loader/FTPDirectoryParser.h:
              * loader/Request.cpp:
              * loader/Request.h:
              * loader/TextResourceDecoder.cpp:
              * loader/TextResourceDecoder.h:
              * loader/loader.cpp:
              * loader/loader.h:
              * page/Chrome.cpp:
              * page/Chrome.h:
              * page/ChromeClient.h:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameTree.cpp:
              * page/FrameTree.h:
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/MouseEventWithHitTestResults.cpp:
              * page/MouseEventWithHitTestResults.h:
              * page/Page.cpp:
              * page/Page.h:
              * page/Plugin.h:
              * page/mac/ChromeMac.mm:
              * platform/Arena.cpp:
              * platform/Arena.h:
              * platform/AtomicString.cpp:
              * platform/AtomicString.h:
              * platform/AtomicStringImpl.h:
              * platform/BidiContext.cpp:
              * platform/BidiContext.h:
              * platform/BidiResolver.h:
              * platform/Font.cpp:
              * platform/Font.h:
              * platform/FontData.h:
              * platform/FontDescription.h:
              * platform/FontFallbackList.h:
              * platform/PlatformString.h:
              * platform/PopupMenu.h:
              * platform/PopupMenuClient.h:
              * platform/SearchPopupMenu.h:
              * platform/SegmentedString.cpp:
              * platform/SegmentedString.h:
              * platform/Shared.h:
              * platform/StaticConstructors.h:
              * platform/String.cpp:
              * platform/StringHash.h:
              * platform/StringImpl.cpp:
              * platform/StringImpl.h:
              * platform/TextBreakIterator.h:
              * platform/TextBreakIteratorICU.cpp:
              * platform/TextBreakIteratorInternalICU.h:
              * platform/TextStyle.h:
              * platform/UnicodeRange.cpp:
              * platform/UnicodeRange.h:
              * platform/cf/StringCF.cpp:
              * platform/cf/StringImplCF.cpp:
              * platform/graphics/FloatPoint3D.cpp:
              * platform/graphics/FloatPoint3D.h:
              * platform/graphics/Icon.h:
              * platform/graphics/IntSizeHash.h:
              * platform/graphics/PathTraversalState.cpp:
              * platform/graphics/cairo/CairoPath.h:
              * platform/graphics/cairo/PathCairo.cpp:
              * platform/graphics/mac/IconMac.mm:
              * platform/graphics/qt/IconQt.cpp:
              * platform/graphics/svg/SVGResourceFilter.cpp:
              * platform/graphics/svg/SVGResourceFilter.h:
              * platform/graphics/svg/cg/SVGPaintServerCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp:
              * platform/graphics/svg/filters/SVGDistantLightSource.h:
              * platform/graphics/svg/filters/SVGFEBlend.cpp:
              * platform/graphics/svg/filters/SVGFEBlend.h:
              * platform/graphics/svg/filters/SVGFEColorMatrix.cpp:
              * platform/graphics/svg/filters/SVGFEColorMatrix.h:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.cpp:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
              * platform/graphics/svg/filters/SVGFEComposite.cpp:
              * platform/graphics/svg/filters/SVGFEComposite.h:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.cpp:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
              * platform/graphics/svg/filters/SVGFEFlood.cpp:
              * platform/graphics/svg/filters/SVGFEFlood.h:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.cpp:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
              * platform/graphics/svg/filters/SVGFEImage.cpp:
              * platform/graphics/svg/filters/SVGFEImage.h:
              * platform/graphics/svg/filters/SVGFEMerge.cpp:
              * platform/graphics/svg/filters/SVGFEMerge.h:
              * platform/graphics/svg/filters/SVGFEMorphology.cpp:
              * platform/graphics/svg/filters/SVGFEMorphology.h:
              * platform/graphics/svg/filters/SVGFEOffset.cpp:
              * platform/graphics/svg/filters/SVGFEOffset.h:
              * platform/graphics/svg/filters/SVGFESpecularLighting.cpp:
              * platform/graphics/svg/filters/SVGFESpecularLighting.h:
              * platform/graphics/svg/filters/SVGFETile.h:
              * platform/graphics/svg/filters/SVGFETurbulence.cpp:
              * platform/graphics/svg/filters/SVGFETurbulence.h:
              * platform/graphics/svg/filters/SVGFilterEffect.cpp:
              * platform/graphics/svg/filters/SVGFilterEffect.h:
              * platform/graphics/svg/filters/SVGLightSource.cpp:
              * platform/graphics/svg/filters/SVGLightSource.h:
              * platform/graphics/svg/filters/SVGPointLightSource.h:
              * platform/graphics/svg/filters/SVGSpotLightSource.h:
              * platform/graphics/svg/filters/cg/SVGFEBlendCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEComponentTransferCg.mm:
              * platform/graphics/svg/filters/cg/SVGFECompositeCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEDiffuseLightingCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEDisplacementMapCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEFloodCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEGaussianBlurCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEHelpersCg.h:
              * platform/graphics/svg/filters/cg/SVGFEHelpersCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEImageCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEMergeCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEOffsetCg.mm:
              * platform/graphics/svg/filters/cg/SVGFESpecularLightingCg.mm:
              * platform/graphics/svg/filters/cg/SVGFETileCg.mm:
              * platform/graphics/svg/filters/cg/SVGFilterEffectCg.mm:
              * platform/graphics/svg/qt/RenderPathQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp:
              * platform/graphics/svg/qt/SVGResourceClipperQt.cpp:
              * platform/graphics/svg/qt/SVGResourceFilterQt.cpp:
              * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp:
              * platform/graphics/win/IconWin.cpp:
              * platform/gtk/FontPlatformData.h:
              * platform/gtk/FontPlatformDataGtk.cpp:
              * platform/gtk/PopupMenuGtk.cpp:
              * platform/gtk/RenderThemeGtk.cpp:
              * platform/gtk/RenderThemeGtk.h:
              * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
              * platform/image-decoders/png/PNGImageDecoder.cpp:
              * platform/mac/FontMac.mm:
              * platform/mac/FontPlatformData.h:
              * platform/mac/LocalCurrentGraphicsContext.h:
              * platform/mac/LocalCurrentGraphicsContext.mm:
              * platform/mac/PopupMenuMac.mm:
              * platform/mac/SearchPopupMenuMac.mm:
              * platform/mac/StringImplMac.mm:
              * platform/mac/StringMac.mm:
              * platform/mac/TextBreakIteratorInternalICUMac.mm:
              * platform/network/FormData.cpp:
              * platform/network/FormData.h:
              * platform/qt/FileChooserQt.cpp:
              * platform/qt/FontQt.cpp:
              * platform/qt/MenuEventProxy.h:
              * platform/qt/PlugInInfoStoreQt.cpp:
              * platform/qt/PopupMenuQt.cpp:
              * platform/qt/QWebPopup.cpp:
              * platform/qt/QWebPopup.h:
              * platform/qt/RenderThemeQt.cpp:
              * platform/qt/RenderThemeQt.h:
              * platform/qt/SearchPopupMenuQt.cpp:
              * platform/qt/TextBreakIteratorQt.cpp:
              * platform/qt/WheelEventQt.cpp:
              * platform/win/FontPlatformData.h:
              * platform/win/FontPlatformDataWin.cpp:
              * platform/win/PopupMenuWin.cpp:
              * platform/win/SearchPopupMenuWin.cpp:
              * platform/win/TextBreakIteratorInternalICUWin.cpp:
              * rendering/AutoTableLayout.cpp:
              * rendering/AutoTableLayout.h:
              * rendering/CounterNode.cpp:
              * rendering/CounterNode.h:
              * rendering/DataRef.h:
              * rendering/EllipsisBox.cpp:
              * rendering/EllipsisBox.h:
              * rendering/FixedTableLayout.cpp:
              * rendering/FixedTableLayout.h:
              * rendering/GapRects.h:
              * rendering/HitTestRequest.h:
              * rendering/HitTestResult.cpp:
              * rendering/HitTestResult.h:
              * rendering/InlineBox.cpp:
              * rendering/InlineBox.h:
              * rendering/InlineFlowBox.cpp:
              * rendering/InlineFlowBox.h:
              * rendering/InlineRunBox.h:
              * rendering/InlineTextBox.cpp:
              * rendering/InlineTextBox.h:
              * rendering/Length.h:
              * rendering/ListMarkerBox.cpp:
              * rendering/ListMarkerBox.h:
              * rendering/RenderApplet.cpp:
              * rendering/RenderApplet.h:
              * rendering/RenderArena.cpp:
              * rendering/RenderArena.h:
              * rendering/RenderBR.cpp:
              * rendering/RenderBR.h:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBlock.h:
              * rendering/RenderBox.cpp:
              * rendering/RenderBox.h:
              * rendering/RenderButton.cpp:
              * rendering/RenderButton.h:
              * rendering/RenderContainer.cpp:
              * rendering/RenderContainer.h:
              * rendering/RenderCounter.cpp:
              * rendering/RenderCounter.h:
              * rendering/RenderFieldset.cpp:
              * rendering/RenderFieldset.h:
              * rendering/RenderFileUploadControl.cpp:
              * rendering/RenderFileUploadControl.h:
              * rendering/RenderFlexibleBox.cpp:
              * rendering/RenderFlexibleBox.h:
              * rendering/RenderFlow.cpp:
              * rendering/RenderFlow.h:
              * rendering/RenderForeignObject.cpp:
              * rendering/RenderForeignObject.h:
              * rendering/RenderFrame.cpp:
              * rendering/RenderFrame.h:
              * rendering/RenderFrameSet.cpp:
              * rendering/RenderFrameSet.h:
              * rendering/RenderImage.cpp:
              * rendering/RenderImage.h:
              * rendering/RenderInline.cpp:
              * rendering/RenderInline.h:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLayer.h:
              * rendering/RenderLegend.cpp:
              * rendering/RenderLegend.h:
              * rendering/RenderListItem.cpp:
              * rendering/RenderListItem.h:
              * rendering/RenderListMarker.cpp:
              * rendering/RenderListMarker.h:
              * rendering/RenderMenuList.cpp:
              * rendering/RenderMenuList.h:
              * rendering/RenderObject.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderPart.cpp:
              * rendering/RenderPart.h:
              * rendering/RenderPartObject.cpp:
              * rendering/RenderPartObject.h:
              * rendering/RenderPath.cpp:
              * rendering/RenderPath.h:
              * rendering/RenderReplaced.cpp:
              * rendering/RenderReplaced.h:
              * rendering/RenderSVGBlock.cpp:
              * rendering/RenderSVGBlock.h:
              * rendering/RenderSVGContainer.cpp:
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGGradientStop.cpp:
              * rendering/RenderSVGGradientStop.h:
              * rendering/RenderSVGHiddenContainer.cpp:
              * rendering/RenderSVGHiddenContainer.h:
              * rendering/RenderSVGImage.cpp:
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGInline.cpp:
              * rendering/RenderSVGInline.h:
              * rendering/RenderSVGInlineText.cpp:
              * rendering/RenderSVGInlineText.h:
              * rendering/RenderSVGTSpan.cpp:
              * rendering/RenderSVGTSpan.h:
              * rendering/RenderSVGText.cpp:
              * rendering/RenderSVGText.h:
              * rendering/RenderSlider.cpp:
              * rendering/RenderSlider.h:
              * rendering/RenderStyle.cpp:
              * rendering/RenderStyle.h:
              * rendering/RenderTable.cpp:
              * rendering/RenderTable.h:
              * rendering/RenderTableCell.cpp:
              * rendering/RenderTableCell.h:
              * rendering/RenderTableCol.cpp:
              * rendering/RenderTableCol.h:
              * rendering/RenderTableRow.cpp:
              * rendering/RenderTableRow.h:
              * rendering/RenderTableSection.cpp:
              * rendering/RenderTableSection.h:
              * rendering/RenderText.cpp:
              * rendering/RenderText.h:
              * rendering/RenderTextControl.cpp:
              * rendering/RenderTextControl.h:
              * rendering/RenderTextFragment.cpp:
              * rendering/RenderTextFragment.h:
              * rendering/RenderTheme.cpp:
              * rendering/RenderTheme.h:
              * rendering/RenderThemeMac.h:
              * rendering/RenderThemeMac.mm:
              * rendering/RenderThemeSafari.cpp:
              * rendering/RenderThemeSafari.h:
              * rendering/RenderThemeWin.cpp:
              * rendering/RenderThemeWin.h:
              * rendering/RenderView.cpp:
              * rendering/RenderView.h:
              * rendering/RenderWidget.cpp:
              * rendering/RenderWidget.h:
              * rendering/RootInlineBox.cpp:
              * rendering/RootInlineBox.h:
              * rendering/SVGInlineFlowBox.cpp:
              * rendering/SVGInlineFlowBox.h:
              * rendering/SVGInlineTextBox.cpp:
              * rendering/SVGInlineTextBox.h:
              * rendering/SVGRootInlineBox.cpp:
              * rendering/SVGRootInlineBox.h:
              * rendering/TableLayout.h:
              * rendering/bidi.cpp:
              * rendering/bidi.h:
              * rendering/break_lines.cpp:
              * rendering/break_lines.h:
              * xml/DOMParser.cpp:
              * xml/DOMParser.h:
              * xml/DOMParser.idl:
              * xml/XMLHttpRequest.cpp:
              * xml/XMLHttpRequest.h:
              * xml/XMLSerializer.cpp:
              * xml/XMLSerializer.h:
              * xml/XMLSerializer.idl:
              * xml/XPathEvaluator.idl:
              * xml/XPathExpression.idl:
              * xml/XPathNSResolver.idl:
              * xml/XPathResult.idl:
              * xml/XSLImportRule.cpp:
              * xml/XSLImportRule.h:
              * xml/XSLStyleSheet.cpp:
              * xml/XSLStyleSheet.h:
              * xml/XSLTProcessor.cpp:
              * xml/XSLTProcessor.h:
      
      WebKitQt:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * Api/qcookiejar.cpp:
              * Api/qcookiejar.h:
              * Api/qwebframe.cpp:
              * Api/qwebframe.h:
              * Api/qwebframe_p.h:
              * Api/qwebhistoryinterface.cpp:
              * Api/qwebhistoryinterface.h:
              * Api/qwebkitglobal.h:
              * Api/qwebnetworkinterface.cpp:
              * Api/qwebnetworkinterface.h:
              * Api/qwebnetworkinterface_p.h:
              * Api/qwebobjectplugin.cpp:
              * Api/qwebobjectplugin.h:
              * Api/qwebobjectpluginconnector.cpp:
              * Api/qwebobjectpluginconnector.h:
              * Api/qwebpage.cpp:
              * Api/qwebpage.h:
              * Api/qwebpage_p.h:
              * Api/qwebpagehistory.cpp:
              * Api/qwebpagehistory.h:
              * Api/qwebsettings.cpp:
              * Api/qwebsettings.h:
              * WebCoreSupport/EditCommandQt.cpp:
              * WebCoreSupport/EditCommandQt.h:
      
      WebKitSite:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * blog/wp-content/plugins/wp-cache/wp-cache.php:
              * blog/wp-includes/class-snoopy.php:
              * blog/wp-includes/gettext.php:
              * blog/wp-includes/js/tinymce/license.html:
              * blog/wp-includes/streams.php:
      
      WebKitTools:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * Drosera/config.h:
      
      LayoutTests:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * svg/carto.net/resources/button.js:
              * svg/carto.net/resources/colourPicker.js:
              * svg/carto.net/resources/comboBox.js:
              * svg/carto.net/resources/helper_functions.js:
              * svg/carto.net/resources/mapApp.js:
              * svg/carto.net/resources/scrollbar.js:
              * svg/carto.net/resources/selectionList.js:
              * svg/carto.net/resources/slider.js:
              * svg/carto.net/resources/tabgroup.js:
              * svg/carto.net/resources/textbox.js:
              * svg/carto.net/resources/window.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8eccecd
  3. 23 Sep, 2007 1 commit
    • zecke's avatar
      /: · 2752405f
      zecke authored
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * WebKit.pri:
              * WebKit.pro:
      
      JavaScriptCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK 
      
              * JavaScriptCore.pri:
              * kjs/testkjs.pro:
              * pcre/dftables.pro:
              * wtf/Platform.h: PLATFORM(GDK) to PLATFORM(GTK)
      
      WebCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.pro:
              * WebCoreSources.bkl:
              * loader/gdk: Removed.
              * loader/gdk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk: Added.
              * loader/gtk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk/DocumentLoaderGtk.cpp: Added.
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/gdk: Removed.
              * page/gdk/DragControllerGdk.cpp: Removed.
              * page/gdk/EventHandlerGdk.cpp: Removed.
              * page/gdk/FrameGdk.cpp: Removed.
              * page/gtk: Added.
              * page/gtk/DragControllerGdk.cpp: Removed.
              * page/gtk/DragControllerGtk.cpp: Added.
              * page/gtk/EventHandlerGdk.cpp: Removed.
              * page/gtk/EventHandlerGtk.cpp: Added.
              (WebCore::EventHandler::createDraggingClipboard):
              * page/gtk/FrameGdk.cpp: Removed.
              * page/gtk/FrameGtk.cpp: Added.
              * platform/ContextMenuItem.h:
              * platform/Cursor.h:
              * platform/DragData.h:
              * platform/DragImage.h:
              * platform/FontData.h:
              * platform/NotImplemented.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/PlatformMenuDescription.h:
              * platform/PlatformMouseEvent.h:
              * platform/PlatformWheelEvent.h:
              * platform/ScrollView.h:
              * platform/Widget.h:
              * platform/gdk: Removed.
              * platform/gdk/ClipboardGdk.cpp: Removed.
              * platform/gdk/ClipboardGdk.h: Removed.
              * platform/gdk/ContextMenuGdk.cpp: Removed.
              * platform/gdk/ContextMenuItemGdk.cpp: Removed.
              * platform/gdk/CookieJarGdk.cpp: Removed.
              * platform/gdk/CursorGdk.cpp: Removed.
              * platform/gdk/DragDataGdk.cpp: Removed.
              * platform/gdk/DragImageGdk.cpp: Removed.
              * platform/gdk/FileChooserGdk.cpp: Removed.
              * platform/gdk/FileSystemGdk.cpp: Removed.
              * platform/gdk/FontCacheGdk.cpp: Removed.
              * platform/gdk/FontDataGdk.cpp: Removed.
              * platform/gdk/FontGdk.cpp: Removed.
              * platform/gdk/FontPlatformData.h: Removed.
              * platform/gdk/FontPlatformDataGdk.cpp: Removed.
              * platform/gdk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gdk/KeyEventGdk.cpp: Removed.
              * platform/gdk/KeyboardCodes.h: Removed.
              * platform/gdk/LocalizedStringsGdk.cpp: Removed.
              * platform/gdk/LoggingGdk.cpp: Removed.
              * platform/gdk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gdk/MouseEventGdk.cpp: Removed.
              * platform/gdk/PasteboardGdk.cpp: Removed.
              * platform/gdk/PlatformScreenGdk.cpp: Removed.
              * platform/gdk/PlatformScrollBar.h: Removed.
              * platform/gdk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gdk/PopupMenuGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.h: Removed.
              * platform/gdk/ScrollViewGdk.cpp: Removed.
              * platform/gdk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gdk/SharedTimerLinux.cpp: Removed.
              * platform/gdk/SoundGdk.cpp: Removed.
              * platform/gdk/SystemTimeLinux.cpp: Removed.
              * platform/gdk/TemporaryLinkStubs.cpp: Removed.
              * platform/gdk/WheelEventGdk.cpp: Removed.
              * platform/gdk/WidgetGdk.cpp: Removed.
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContext::setPlatformFont):
              * platform/graphics/gdk: Removed.
              * platform/graphics/gdk/IconGdk.cpp: Removed.
              * platform/graphics/gdk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk: Added.
              * platform/graphics/gtk/IconGdk.cpp: Removed.
              * platform/graphics/gtk/IconGtk.cpp: Added.
              * platform/graphics/gtk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk/ImageGtk.cpp: Added.
              * platform/gtk: Added.
              * platform/gtk/ClipboardGdk.cpp: Removed.
              * platform/gtk/ClipboardGdk.h: Removed.
              * platform/gtk/ClipboardGtk.cpp: Added.
              (WebCore::ClipboardGtk::ClipboardGtk):
              (WebCore::ClipboardGtk::~ClipboardGtk):
              (WebCore::ClipboardGtk::clearData):
              (WebCore::ClipboardGtk::clearAllData):
              (WebCore::ClipboardGtk::getData):
              (WebCore::ClipboardGtk::setData):
              (WebCore::ClipboardGtk::types):
              (WebCore::ClipboardGtk::dragLocation):
              (WebCore::ClipboardGtk::dragImage):
              (WebCore::ClipboardGtk::setDragImage):
              (WebCore::ClipboardGtk::dragImageElement):
              (WebCore::ClipboardGtk::setDragImageElement):
              (WebCore::ClipboardGtk::createDragImage):
              (WebCore::ClipboardGtk::declareAndWriteDragImage):
              (WebCore::ClipboardGtk::writeURL):
              (WebCore::ClipboardGtk::writeRange):
              (WebCore::ClipboardGtk::hasData):
              * platform/gtk/ClipboardGtk.h: Added.
              * platform/gtk/ContextMenuGdk.cpp: Removed.
              * platform/gtk/ContextMenuGtk.cpp: Added.
              * platform/gtk/ContextMenuItemGdk.cpp: Removed.
              * platform/gtk/ContextMenuItemGtk.cpp: Added.
              * platform/gtk/CookieJarGdk.cpp: Removed.
              * platform/gtk/CookieJarGtk.cpp: Added.
              * platform/gtk/CursorGdk.cpp: Removed.
              * platform/gtk/CursorGtk.cpp: Added.
              * platform/gtk/DragDataGdk.cpp: Removed.
              * platform/gtk/DragDataGtk.cpp: Added.
              * platform/gtk/DragImageGdk.cpp: Removed.
              * platform/gtk/DragImageGtk.cpp: Added.
              * platform/gtk/FileChooserGdk.cpp: Removed.
              * platform/gtk/FileChooserGtk.cpp: Added.
              * platform/gtk/FileSystemGdk.cpp: Removed.
              * platform/gtk/FileSystemGtk.cpp: Added.
              * platform/gtk/FontCacheGdk.cpp: Removed.
              * platform/gtk/FontCacheGtk.cpp: Added.
              * platform/gtk/FontDataGdk.cpp: Removed.
              * platform/gtk/FontDataGtk.cpp: Added.
              * platform/gtk/FontGdk.cpp: Removed.
              * platform/gtk/FontGtk.cpp: Added.
              * platform/gtk/FontPlatformDataGdk.cpp: Removed.
              * platform/gtk/FontPlatformDataGtk.cpp: Added.
              * platform/gtk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gtk/GlyphPageTreeNodeGtk.cpp: Added.
              * platform/gtk/KeyEventGdk.cpp: Removed.
              * platform/gtk/KeyEventGtk.cpp: Added.
              * platform/gtk/LocalizedStringsGdk.cpp: Removed.
              * platform/gtk/LocalizedStringsGtk.cpp: Added.
              * platform/gtk/LoggingGdk.cpp: Removed.
              * platform/gtk/LoggingGtk.cpp: Added.
              * platform/gtk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gtk/MIMETypeRegistryGtk.cpp: Added.
              * platform/gtk/MouseEventGdk.cpp: Removed.
              * platform/gtk/MouseEventGtk.cpp: Added.
              * platform/gtk/PasteboardGdk.cpp: Removed.
              * platform/gtk/PasteboardGtk.cpp: Added.
              * platform/gtk/PlatformScreenGdk.cpp: Removed.
              * platform/gtk/PlatformScreenGtk.cpp: Added.
              * platform/gtk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gtk/PlatformScrollBarGtk.cpp: Added.
              * platform/gtk/PopupMenuGdk.cpp: Removed.
              * platform/gtk/PopupMenuGtk.cpp: Added.
              * platform/gtk/RenderThemeGdk.cpp: Removed.
              * platform/gtk/RenderThemeGdk.h: Removed.
              * platform/gtk/RenderThemeGtk.cpp: Added.
              (WebCore::theme):
              (WebCore::RenderThemeGtk::RenderThemeGtk):
              (WebCore::RenderThemeGtk::close):
              (WebCore::RenderThemeGtk::addIntrinsicMargins):
              (WebCore::RenderThemeGtk::supportsFocus):
              (WebCore::RenderThemeGtk::determineState):
              (WebCore::RenderThemeGtk::determineShadow):
              (WebCore::RenderThemeGtk::getThemeData):
              (WebCore::RenderThemeGtk::setCheckboxSize):
              (WebCore::RenderThemeGtk::paintCheckbox):
              (WebCore::RenderThemeGtk::setRadioSize):
              (WebCore::RenderThemeGtk::paintRadio):
              (WebCore::RenderThemeGtk::paintButton):
              (WebCore::RenderThemeGtk::adjustTextFieldStyle):
              (WebCore::RenderThemeGtk::paintTextField):
              (WebCore::RenderThemeGtk::paintTextArea):
              (WebCore::RenderThemeGtk::adjustButtonStyle):
              (WebCore::RenderThemeGtk::systemFont):
              (WebCore::RenderThemeGtk::gtkButton):
              (WebCore::RenderThemeGtk::gtkCheckbox):
              (WebCore::RenderThemeGtk::gtkRadioButton):
              (WebCore::RenderThemeGtk::gtkWindowContainer):
              * platform/gtk/RenderThemeGtk.h: Added.
              * platform/gtk/ScrollViewGdk.cpp: Removed.
              * platform/gtk/ScrollViewGtk.cpp: Added.
              * platform/gtk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gtk/SearchPopupMenuGtk.cpp: Added.
              * platform/gtk/SoundGdk.cpp: Removed.
              * platform/gtk/SoundGtk.cpp: Added.
              * platform/gtk/WheelEventGdk.cpp: Removed.
              * platform/gtk/WheelEventGtk.cpp: Added.
              * platform/gtk/WidgetGdk.cpp: Removed.
              * platform/gtk/WidgetGtk.cpp: Added.
              * platform/network/ResourceHandle.h:
      
      WebKitTools:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              * GdkLauncher: Removed.
              * GdkLauncher/Bakefiles.bkgen: Removed.
              * GdkLauncher/ENV: Removed.
              * GdkLauncher/GdkLauncher.pro: Removed.
              * GdkLauncher/gdklauncher.bkl: Removed.
              * GdkLauncher/main.cpp: Removed.
              * GdkLauncher/mk: Removed.
              * GdkLauncher/simple.svg: Removed.
              * GdkLauncher/text.html: Removed.
              * GtkLauncher: Added.
              * GtkLauncher/GdkLauncher.pro: Removed.
              * GtkLauncher/GtkLauncher.pro: Added.
              * GtkLauncher/main.cpp:
              (updateWindowTitle):
              (main):
              * Scripts/build-webkit:
              * Scripts/regenerate-makefiles:
              * Scripts/run-javascriptcore-tests:
              * Scripts/run-launcher:
              * Scripts/run-webkit-tests:
              * Scripts/webkitdirs.pm:
      
      
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2752405f
  4. 16 Sep, 2007 1 commit
  5. 11 Sep, 2007 1 commit
  6. 05 Jul, 2007 1 commit
    • bdash's avatar
      2007-07-05 Holger Hans Peter Freyther <zecke@selfish.org> · c2be7ea2
      bdash authored
              Reviewed by Rob Buis.
      
              Rework FontData and FontPlatformData for the Gdk work to make valgrind
              happy.
      
              Move destroying of FontConfig and Cairo objects held in FontPlatformData
              to FontData::platformDestroy. The ownership of these objects is held by
              FontData. This is following the Mac and Qt port at least.
      
              Currently it is possible that FontPlatformData will not create cairo resources
              in this case at least make sure the variables are initialized to 0.
              Initialize x,y of the cairo_glyph_t with zero to avoid extents.x_advance depending
              on subtracing with not defined values.
      
              FontPlatformData::hash. Using FontDescription is a bad idea as we don't have a clue
              about how it is packed, if holes are present, etc. The FcPattern and the m_fontMatrix
              should be good enough to describe the Font. All other objects are created using these
              variables
      
              Replace C-style casts with C++ casts, in this case reinterpret_cast.
      
              * platform/gdk/FontDataGdk.cpp:
              (WebCore::FontData::platformInit): Don't assert
              (WebCore::FontData::platformDestroy): Take over ownership
              (WebCore::FontData::platformWidthForGlyph): initialize
              (WebCore::FontData::setFont): be paranoid and assert
              * platform/gdk/FontPlatformData.h:
              (WebCore::FontPlatformData::FontPlatformData): Initialize everything
              (WebCore::FontPlatformData::hash): make valgrind happy and don't use m_fontDescription
              * platform/gdk/FontPlatformDataGdk.cpp:
              (WebCore::FontPlatformData::FontPlatformData):
              (WebCore::FontPlatformData::~FontPlatformData): FontData::platformDestroy will do this
              (WebCore::FontPlatformData::list): Don't use C-style casts.
              (WebCore::FontPlatformData::setFont): m_fontFace, m_fontMatrix, m_options might not be initialized
              (WebCore::FontPlatformData::operator==): Don't use C-style casts.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2be7ea2
  7. 26 Jun, 2007 1 commit
    • bdash's avatar
      2007-06-26 Alp Toker <alp.toker@collabora.co.uk> · 5a06e1d4
      bdash authored
              Reviewed by Maciej.
      
              http://bugs.webkit.org/show_bug.cgi?id=14058
              Gdk font backend cleanup
      
              * platform/FontData.h: Remove obsolete function.
              * platform/gdk/FontDataGdk.cpp:
              (WebCore::FontData::containsCharacters): Lock/unlock only once.
              (WebCore::FontData::platformWidthForGlyph): Remove needless cast.
              * platform/gdk/FontPlatformData.h: Remove obsolete function.
              * platform/gdk/FontPlatformDataGdk.cpp:
              (WebCore::FontPlatformData::FontPlatformData): Pass the actual size,
              not the pixel size.
              (WebCore::FontPlatformData::~FontPlatformData): Free m_fontMatrix.
              * platform/gdk/GlyphPageTreeNodeGdk.cpp:
              (WebCore::GlyphPage::fill): Lock/unlock only once.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a06e1d4
  8. 15 Jan, 2007 1 commit
    • eseidel's avatar
      2007-01-15 Eric Seidel <eric@webkit.org> · 8eddecf9
      eseidel authored
              Reviewed by bdash.
      
              Update header guards to follow new style guidelines using new clean-header-guards script.
      
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSSVGElementWrapperFactory.h:
              * bindings/js/JSSVGPODTypeWrapper.h:
              * bindings/js/JSXMLHttpRequest.h:
              * bindings/js/JSXSLTProcessor.h:
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_css.h:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_domnode.h:
              * bindings/js/kjs_events.h:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_navigator.h:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_traversal.h:
              * bindings/js/kjs_window.h:
              * bridge/EditorClient.h:
              * bridge/History.h:
              * css/CSSStyleSheet.h:
              * css/CSSValue.h:
              * css/CSSValueList.h:
              * css/DashboardRegion.h:
              * css/FontFamilyValue.h:
              * css/FontValue.h:
              * css/MediaFeatureNames.h:
              * css/MediaList.h:
              * css/Pair.h:
              * css/RectImpl.h:
              * css/ShadowValue.h:
              * css/StyleBase.h:
              * css/StyleList.h:
              * css/StyleSheet.h:
              * css/StyleSheetList.h:
              * css/cssstyleselector.h:
              * dom/BeforeTextInsertedEvent.h:
              * dom/CDATASection.h:
              * dom/CharacterData.h:
              * dom/ChildNodeList.h:
              * dom/Comment.h:
              * dom/DOMImplementation.h:
              * dom/DocPtr.h:
              * dom/Document.h:
              * dom/DocumentFragment.h:
              * dom/DocumentMarker.h:
              * dom/DocumentType.h:
              * dom/EditingText.h:
              * dom/Entity.h:
              * dom/EntityReference.h:
              * dom/EventNames.h:
              * dom/EventTargetNode.h:
              * dom/NameNodeList.h:
              * dom/NamedNodeMap.h:
              * dom/Node.h:
              * dom/NodeList.h:
              * dom/Notation.h:
              * dom/Position.h:
              * dom/ProcessingInstruction.h:
              * dom/Range.h:
              * dom/StyleElement.h:
              * dom/Text.h:
              * editing/AppendNodeCommand.h:
              * editing/ApplyStyleCommand.h:
              * editing/BreakBlockquoteCommand.h:
              * editing/CommandByName.h:
              * editing/CompositeEditCommand.h:
              * editing/DeleteButton.h:
              * editing/DeleteButtonController.h:
              * editing/DeleteFromTextNodeCommand.h:
              * editing/DeleteSelectionCommand.h:
              * editing/InsertIntoTextNodeCommand.h:
              * editing/InsertLineBreakCommand.h:
              * editing/InsertNodeBeforeCommand.h:
              * editing/InsertParagraphSeparatorCommand.h:
              * editing/InsertTextCommand.h:
              * editing/JoinTextNodesCommand.h:
              * editing/MergeIdenticalElementsCommand.h:
              * editing/ModifySelectionListLevel.h:
              * editing/MoveSelectionCommand.h:
              * editing/RemoveCSSPropertyCommand.h:
              * editing/RemoveNodeAttributeCommand.h:
              * editing/RemoveNodeCommand.h:
              * editing/RemoveNodePreservingChildrenCommand.h:
              * editing/ReplaceSelectionCommand.h:
              * editing/SetNodeAttributeCommand.h:
              * editing/SplitElementCommand.h:
              * editing/SplitTextNodeCommand.h:
              * editing/SplitTextNodeContainingElementCommand.h:
              * editing/TextGranularity.h:
              * editing/TypingCommand.h:
              * editing/WrapContentsInDummySpanCommand.h:
              * history/BackForwardList.h:
              * history/HistoryItem.h:
              * history/HistoryItemTimer.h:
              * history/PageCache.h:
              * html/CanvasGradient.h:
              * html/CanvasPattern.h:
              * html/CanvasRenderingContext2D.h:
              * html/CanvasStyle.h:
              * html/FormDataList.h:
              * html/HTMLAnchorElement.h:
              * html/HTMLAppletElement.h:
              * html/HTMLAreaElement.h:
              * html/HTMLBRElement.h:
              * html/HTMLBaseElement.h:
              * html/HTMLBaseFontElement.h:
              * html/HTMLBlockquoteElement.h:
              * html/HTMLBodyElement.h:
              * html/HTMLButtonElement.h:
              * html/HTMLCanvasElement.h:
              * html/HTMLCollection.h:
              * html/HTMLDListElement.h:
              * html/HTMLDirectoryElement.h:
              * html/HTMLDivElement.h:
              * html/HTMLElement.h:
              * html/HTMLElementFactory.h:
              * html/HTMLEmbedElement.h:
              * html/HTMLFieldSetElement.h:
              * html/HTMLFontElement.h:
              * html/HTMLFormCollection.h:
              * html/HTMLFormElement.h:
              * html/HTMLFrameSetElement.h:
              * html/HTMLGenericFormElement.h:
              * html/HTMLHRElement.h:
              * html/HTMLHeadElement.h:
              * html/HTMLHeadingElement.h:
              * html/HTMLHtmlElement.h:
              * html/HTMLImageElement.h:
              * html/HTMLImageLoader.h:
              * html/HTMLInputElement.h:
              * html/HTMLIsIndexElement.h:
              * html/HTMLKeygenElement.h:
              * html/HTMLLIElement.h:
              * html/HTMLLabelElement.h:
              * html/HTMLLegendElement.h:
              * html/HTMLLinkElement.h:
              * html/HTMLMapElement.h:
              * html/HTMLMarqueeElement.h:
              * html/HTMLMenuElement.h:
              * html/HTMLMetaElement.h:
              * html/HTMLModElement.h:
              * html/HTMLNameCollection.h:
              * html/HTMLOListElement.h:
              * html/HTMLObjectElement.h:
              * html/HTMLOptGroupElement.h:
              * html/HTMLOptionElement.h:
              * html/HTMLOptionsCollection.h:
              * html/HTMLParagraphElement.h:
              * html/HTMLParamElement.h:
              * html/HTMLParser.h:
              * html/HTMLPlugInElement.h:
              * html/HTMLPreElement.h:
              * html/HTMLQuoteElement.h:
              * html/HTMLScriptElement.h:
              * html/HTMLSelectElement.h:
              * html/HTMLStyleElement.h:
              * html/HTMLTableCaptionElement.h:
              * html/HTMLTableCellElement.h:
              * html/HTMLTableColElement.h:
              * html/HTMLTableElement.h:
              * html/HTMLTablePartElement.h:
              * html/HTMLTableRowElement.h:
              * html/HTMLTableSectionElement.h:
              * html/HTMLTextAreaElement.h:
              * html/HTMLTextFieldInnerElement.h:
              * html/HTMLTitleElement.h:
              * html/HTMLUListElement.h:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/events/JSSVGLazyEventListener.h:
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/PointerEventsHitRules.h:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/misc/TimeScheduler.h:
              * ksvg2/svg/GradientAttributes.h:
              * ksvg2/svg/LinearGradientAttributes.h:
              * ksvg2/svg/PatternAttributes.h:
              * ksvg2/svg/RadialGradientAttributes.h:
              * ksvg2/svg/SVGAElement.h:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimateElement.h:
              * ksvg2/svg/SVGAnimateMotionElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedTemplate.h:
              * ksvg2/svg/SVGAnimationElement.h:
              * ksvg2/svg/SVGCircleElement.h:
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGComponentTransferFunctionElement.h:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGDOMImplementation.h:
              * ksvg2/svg/SVGDefsElement.h:
              * ksvg2/svg/SVGDescElement.h:
              * ksvg2/svg/SVGDocument.h:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGElementInstance.h:
              * ksvg2/svg/SVGElementInstanceList.h:
              * ksvg2/svg/SVGEllipseElement.h:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFEBlendElement.h:
              * ksvg2/svg/SVGFEColorMatrixElement.h:
              * ksvg2/svg/SVGFEComponentTransferElement.h:
              * ksvg2/svg/SVGFECompositeElement.h:
              * ksvg2/svg/SVGFEDiffuseLightingElement.h:
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEDistantLightElement.h:
              * ksvg2/svg/SVGFEFloodElement.h:
              * ksvg2/svg/SVGFEFuncAElement.h:
              * ksvg2/svg/SVGFEFuncBElement.h:
              * ksvg2/svg/SVGFEFuncGElement.h:
              * ksvg2/svg/SVGFEFuncRElement.h:
              * ksvg2/svg/SVGFEGaussianBlurElement.h:
              * ksvg2/svg/SVGFEImageElement.h:
              * ksvg2/svg/SVGFELightElement.h:
              * ksvg2/svg/SVGFEMergeElement.h:
              * ksvg2/svg/SVGFEMergeNodeElement.h:
              * ksvg2/svg/SVGFEOffsetElement.h:
              * ksvg2/svg/SVGFEPointLightElement.h:
              * ksvg2/svg/SVGFESpecularLightingElement.h:
              * ksvg2/svg/SVGFESpotLightElement.h:
              * ksvg2/svg/SVGFETileElement.h:
              * ksvg2/svg/SVGFETurbulenceElement.h:
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
              * ksvg2/svg/SVGFitToViewBox.h:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGGElement.h:
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGImageElement.h:
              * ksvg2/svg/SVGLangSpace.h:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGLengthList.h:
              * ksvg2/svg/SVGLineElement.h:
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGList.h:
              * ksvg2/svg/SVGListTraits.h:
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMetadataElement.h:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGParserUtilities.h:
              * ksvg2/svg/SVGPathElement.h:
              * ksvg2/svg/SVGPathSeg.h:
              * ksvg2/svg/SVGPathSegArc.h:
              * ksvg2/svg/SVGPathSegClosePath.h:
              * ksvg2/svg/SVGPathSegCurvetoCubic.h:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
              * ksvg2/svg/SVGPathSegLineto.h:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
              * ksvg2/svg/SVGPathSegLinetoVertical.h:
              * ksvg2/svg/SVGPathSegList.h:
              * ksvg2/svg/SVGPathSegMoveto.h:
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGPointList.h:
              * ksvg2/svg/SVGPolyElement.h:
              * ksvg2/svg/SVGPolygonElement.h:
              * ksvg2/svg/SVGPolylineElement.h:
              * ksvg2/svg/SVGPreserveAspectRatio.h:
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGRenderingIntent.h:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGScriptElement.h:
              * ksvg2/svg/SVGSetElement.h:
              * ksvg2/svg/SVGStopElement.h:
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGStyleElement.h:
              * ksvg2/svg/SVGStyledElement.h:
              * ksvg2/svg/SVGStyledLocatableElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.h:
              * ksvg2/svg/SVGSymbolElement.h:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTextContentElement.h:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/SVGTextPositioningElement.h:
              * ksvg2/svg/SVGTitleElement.h:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransformList.h:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGURIReference.h:
              * ksvg2/svg/SVGUnitTypes.h:
              * ksvg2/svg/SVGUseElement.h:
              * ksvg2/svg/SVGViewElement.h:
              * ksvg2/svg/SVGZoomAndPan.h:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.h:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocumentLoader.h:
              * loader/Request.h:
              * loader/SubresourceLoader.h:
              * loader/icon/IconDataCache.h:
              * loader/icon/IconDatabase.h:
              * loader/icon/IconLoader.h:
              * loader/icon/SQLDatabase.h:
              * loader/icon/SQLStatement.h:
              * loader/icon/SQLTransaction.h:
              * page/Frame.h:
              * page/FrameLoadRequest.h:
              * page/FrameTree.h:
              * page/FrameView.h:
              * page/PageState.h:
              * page/Plugin.h:
              * page/qt/FrameQt.h:
              * page/qt/FrameQtClient.h:
              * platform/Arena.h:
              * platform/ArrayImpl.h:
              * platform/Cursor.h:
              * platform/DeprecatedArray.h:
              * platform/DeprecatedCString.h:
              * platform/FileChooser.h:
              * platform/Font.h:
              * platform/FontCache.h:
              * platform/FontData.h:
              * platform/FontDescription.h:
              * platform/FontFamily.h:
              * platform/GlyphBuffer.h:
              * platform/GlyphMap.h:
              * platform/GlyphWidthMap.h:
              * platform/Logging.h:
              * platform/Pasteboard.h:
              * platform/PlatformString.h:
              * platform/PlugInInfoStore.h:
              * platform/PopupMenu.h:
              * platform/PopupMenuClient.h:
              * platform/ScrollBar.h:
              * platform/ScrollView.h:
              * platform/SearchPopupMenu.h:
              * platform/Shared.h:
              * platform/Sound.h:
              * platform/SystemTime.h:
              * platform/Timer.h:
              * platform/Widget.h:
              * platform/cf/RetainPtr.h:
              * platform/gdk/ChromeClientGdk.h:
              * platform/gdk/FontPlatformData.h:
              * platform/gdk/FrameGdk.h:
              * platform/gdk/KeyboardCodes.h:
              * platform/gdk/RenderPopupMenuGdk.h:
              * platform/gdk/RenderThemeGdk.h:
              * platform/graphics/BitmapImage.h:
              * platform/graphics/Color.h:
              * platform/graphics/FloatPoint.h:
              * platform/graphics/FloatPoint3D.h:
              * platform/graphics/FloatRect.h:
              * platform/graphics/Icon.h:
              * platform/graphics/Image.h:
              * platform/graphics/ImageAnimationObserver.h:
              * platform/graphics/ImageBuffer.h:
              * platform/graphics/ImageSource.h:
              * platform/graphics/IntPoint.h:
              * platform/graphics/IntRect.h:
              * platform/graphics/IntSize.h:
              * platform/graphics/IntSizeHash.h:
              * platform/graphics/PathTraversalState.h:
              * platform/graphics/Pen.h:
              * platform/graphics/qt/ImageDecoderQt.h:
              * platform/graphics/svg/SVGImage.h:
              * platform/graphics/svg/SVGImageEmptyClients.h:
              * platform/graphics/svg/SVGPaintServer.h:
              * platform/graphics/svg/SVGPaintServerGradient.h:
              * platform/graphics/svg/SVGPaintServerLinearGradient.h:
              * platform/graphics/svg/SVGPaintServerPattern.h:
              * platform/graphics/svg/SVGPaintServerRadialGradient.h:
              * platform/graphics/svg/SVGPaintServerSolid.h:
              * platform/graphics/svg/SVGResource.h:
              * platform/graphics/svg/SVGResourceClipper.h:
              * platform/graphics/svg/SVGResourceFilter.h:
              * platform/graphics/svg/SVGResourceMarker.h:
              * platform/graphics/svg/SVGResourceMasker.h:
              * platform/graphics/svg/cg/CgSupport.h:
              * platform/graphics/svg/filters/SVGDistantLightSource.h:
              * platform/graphics/svg/filters/SVGFEBlend.h:
              * platform/graphics/svg/filters/SVGFEColorMatrix.h:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
              * platform/graphics/svg/filters/SVGFEComposite.h:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
              * platform/graphics/svg/filters/SVGFEFlood.h:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
              * platform/graphics/svg/filters/SVGFEImage.h:
              * platform/graphics/svg/filters/SVGFEMerge.h:
              * platform/graphics/svg/filters/SVGFEMorphology.h:
              * platform/graphics/svg/filters/SVGFEOffset.h:
              * platform/graphics/svg/filters/SVGFESpecularLighting.h:
              * platform/graphics/svg/filters/SVGFETile.h:
              * platform/graphics/svg/filters/SVGFETurbulence.h:
              * platform/graphics/svg/filters/SVGFilterEffect.h:
              * platform/graphics/svg/filters/SVGLightSource.h:
              * platform/graphics/svg/filters/SVGPointLightSource.h:
              * platform/graphics/svg/filters/SVGSpotLightSource.h:
              * platform/mac/FontPlatformData.h:
              * platform/mac/PlatformScrollBar.h:
              * platform/network/AuthenticationChallenge.h:
              * platform/network/Credential.h:
              * platform/network/HTTPHeaderMap.h:
              * platform/network/ProtectionSpace.h:
              * platform/network/ResourceError.h:
              * platform/network/ResourceRequest.h:
              * platform/network/ResourceResponse.h:
              * platform/network/cf/FormDataStreamCFNet.h:
              * platform/network/cf/ResourceRequestCFNet.h:
              * platform/network/cf/ResourceResponseCFNet.h:
              * platform/network/gdk/ResourceHandleManager.h:
              * platform/network/mac/AuthenticationMac.h:
              * platform/network/mac/FormDataStreamMac.h:
              * platform/network/qt/ResourceHandleManagerKDE.h:
              * platform/network/qt/ResourceHandleManagerQt.h:
              * platform/network/win/ResourceHandleWin.h:
              * platform/qt/FontPlatformData.h:
              * platform/qt/KeyboardCodes.h:
              * platform/qt/PlatformScrollBar.h:
              * platform/qt/ScrollViewCanvasQt.h:
              * platform/qt/SharedTimerQt.h:
              * platform/win/FontPlatformData.h:
              * platform/win/PlatformScrollBar.h:
              * rendering/AutoTableLayout.h:
              * rendering/HitTestRequest.h:
              * rendering/HitTestResult.h:
              * rendering/InlineBox.h:
              * rendering/InlineFlowBox.h:
              * rendering/Length.h:
              * rendering/ListMarkerBox.h:
              * rendering/RenderBox.h:
              * rendering/RenderMenuList.h:
              * rendering/RenderPart.h:
              * rendering/RenderPartObject.h:
              * rendering/RenderPath.h:
              * rendering/RenderReplaced.h:
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGInline.h:
              * rendering/RenderSVGInlineText.h:
              * rendering/RenderSVGTSpan.h:
              * rendering/RenderSVGText.h:
              * rendering/RenderStyle.h:
              * rendering/RenderTableCol.h:
              * rendering/RenderThemeWin.h:
              * rendering/bidi.h:
              * xml/DOMParser.h:
              * xml/XPathEvaluator.h:
              * xml/XPathExpression.h:
              * xml/XPathExpressionNode.h:
              * xml/XPathFunctions.h:
              * xml/XPathNSResolver.h:
              * xml/XPathNamespace.h:
              * xml/XPathParser.h:
              * xml/XPathPath.h:
              * xml/XPathPredicate.h:
              * xml/XPathResult.h:
              * xml/XPathStep.h:
              * xml/XPathUtil.h:
              * xml/XPathValue.h:
              * xml/XPathVariableReference.h:
              * xml/XSLImportRule.h:
              * xml/XSLStyleSheet.h:
              * xml/XSLTProcessor.h:
              * xml/xmlhttprequest.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8eddecf9
  9. 30 Jun, 2006 1 commit
    • darin's avatar
      Reviewed and worked over a lot by Darin. · 6fb113f0
      darin authored
              - check in first set of GDK-specific sources
      
              * platform/gdk/BrowserExtensionGdk.h: Added.
              * platform/gdk/CookieJarGdk.cpp: Added.
              * platform/gdk/CursorGdk.cpp: Added.
              * platform/gdk/FontCacheGdk.cpp: Added.
              * platform/gdk/FontDataGdk.cpp: Added.
              * platform/gdk/FontGdk.cpp: Added.
              * platform/gdk/FontPlatformData.h: Added.
              * platform/gdk/FontPlatformDataGdk.cpp: Added.
              * platform/gdk/FrameGdk.cpp: Added.
              * platform/gdk/FrameGdk.h: Added.
              * platform/gdk/GlyphMapGdk.cpp: Added.
              * platform/gdk/KeyEventGdk.cpp: Added.
              * platform/gdk/KeyboardCodes.h: Added.
              * platform/gdk/MouseEventGdk.cpp: Added.
              * platform/gdk/PageGdk.cpp: Added.
              * platform/gdk/RenderThemeGdk.cpp: Added.
              * platform/gdk/RenderThemeGdk.h: Added.
              * platform/gdk/ScreenGdk.cpp: Added.
              * platform/gdk/ScrollViewGdk.cpp: Added.
              * platform/gdk/SharedTimerLinux.cpp: Added.
              * platform/gdk/SystemTimeLinux.cpp: Added.
              * platform/gdk/TemporaryLinkStubs.cpp: Added.
              * platform/gdk/TransferJobCurl.cpp: Added.
              * platform/gdk/TransferJobManager.cpp: Added.
              * platform/gdk/TransferJobManager.h: Added.
              * platform/gdk/WheelEventGdk.cpp: Added.
              * platform/gdk/WidgetGdk.cpp: Added.
              * platform/gdk/gdk-encodings.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fb113f0
  10. 25 May, 2006 1 commit
  11. 22 May, 2006 1 commit
  12. 21 May, 2006 2 commits
  13. 16 May, 2006 2 commits
    • thatcher's avatar
      64-bit build fix, use uintptr_t to cast from a pointer. · 238ccdba
      thatcher authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14425 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      238ccdba
    • hyatt's avatar
      Bug 8936, eliminate WebTextRendererFactory and convert it over to the · 3aa3c4ca
      hyatt authored
              new FontCache.
      
              Reviewed by andersca
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/WebCoreStringTruncator.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQLineEdit.mm:
              * kwq/KWQListBox.mm:
              * platform/Font.h:
              (WebCore::Font::bold):
              * platform/FontCache.cpp: Added.
              (WebCore::FontPlatformDataCacheKey::m_italic):
              (WebCore::FontPlatformDataCacheKey::operator==):
              (WebCore::computeHash):
              (WebCore::FontPlatformDataCacheKeyHash::hash):
              (WebCore::FontPlatformDataCacheKeyHash::equal):
              (WebCore::FontPlatformDataCacheKeyTraits::deletedValue):
              (WebCore::FontCache::getCachedFontPlatformData):
              (WebCore::FontDataCacheKeyHash::hash):
              (WebCore::FontDataCacheKeyHash::equal):
              (WebCore::FontDataCacheKeyTraits::deletedValue):
              (WebCore::FontCache::getCachedFontData):
              (WebCore::FontCache::getFontData):
              (WebCore::FontCache::clearCommonCaches):
              * platform/FontCache.h:
              * platform/FontData.h:
              * platform/FontFamily.cpp:
              (WebCore::FontFamily::FontFamily):
              (WebCore::FontFamily::operator=):
              (WebCore::FontFamily::setFamily):
              * platform/FontFamily.h:
              (WebCore::FontFamily::familyIsEmpty):
              * platform/FontPlatformData.h:
              (WebCore::FontPlatformData::hash):
              (WebCore::FontPlatformData::operator==):
              * platform/mac/FontCacheMac.mm:
              (WebCore::getAppDefaultValue):
              (WebCore::getUserDefaultValue):
              (WebCore::getLCDScaleParameters):
              (WebCore::fontsChanged):
              (WebCore::FontCache::registerForFontChanges):
              (WebCore::FontCache::clearCaches):
              (WebCore::FontCache::getFontDataForCharacters):
              (WebCore::FontCache::getSimilarFontPlatformData):
              (WebCore::FontCache::getLastResortFallbackFont):
              (WebCore::FontCache::createFontPlatformData):
              * platform/mac/FontData.mm:
              (-[NSFont WebCore]):
              (WidthMap::FontData::xHeight):
              (WidthMap::FontData::smallCapsFontData):
              (WidthMap::computeWidthForSpace):
              (WidthMap::setUpFont):
              (WidthMap::fillStyleWithAttributes):
              (WidthMap::FontData::determinePitch):
              * platform/mac/FontFallbackListMac.mm:
              (WebCore::FontFallbackList::setPlatformFont):
              * platform/mac/FontFamilyMac.mm: Removed.
              * platform/mac/FontMac.mm:
              * platform/mac/WebCoreTextRenderer.mm:
              (WebCoreFindFont):
              * platform/mac/WebFontCache.h: Added.
              * platform/mac/WebFontCache.mm: Added.
              (acceptableChoice):
              (betterChoice):
              (+[WebFontCache fontWithFamily:traits:size:]):
              * platform/mac/WebTextRendererFactory.h: Removed.
              * platform/mac/WebTextRendererFactory.mm: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3aa3c4ca
  14. 15 May, 2006 1 commit
    • hyatt's avatar
      Remove the .forPrinter boolean from FontPlatformData. After the initial · 4b57e91c
      hyatt authored
              acquisition of an NSFont, the font is then adjusted to printer or screen
              when put into a FontPlatformData.  Then it can simply be used in the hash
              lookup to get a FontData.
      
              Reviewed by mjs
      
              * platform/Font.cpp:
              (WebCore::WidthIterator::advance):
              * platform/FontData.h:
              * platform/FontDescription.h:
              (WebCore::FontDescription::bold):
              * platform/FontPlatformData.h:
              (WebCore::FontPlatformData::syntheticOblique):
              * platform/mac/FontCacheMac.mm:
              (WebCore::FontCache::getFontDataForCharacters):
              * platform/mac/FontData.mm:
              (WebCore::FontData::smallCapsFontData):
              (WebCore::getSmallCapsFontData):
              (WebCore::setUpFont):
              * platform/mac/FontMac.mm:
              (WebCore::ATSULayoutParameters::initialize):
              * platform/mac/WebTextRendererFactory.h:
              * platform/mac/WebTextRendererFactory.mm:
              (-[WebTextRendererFactory rendererWithFont:]):
              (-[WebTextRendererFactory fontWithDescription:WebCore::familyIndex:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14375 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b57e91c
  15. 12 May, 2006 1 commit
    • hyatt's avatar
      Bug 8877. Change form controls and the bridge entry points from the · 29e8eac4
      hyatt authored
              Safari UI to use Font instead of FontData.
      
              Reviewed by mjs
      
              * bridge/mac/WebCoreStringTruncator.mm:
              (stringWidth):
              (truncateString):
              (+[WebCoreStringTruncator widthOfString:font:]):
              (+[WebCoreStringTruncator clear]):
              * kwq/KWQComboBox.mm:
              (QComboBox::sizeHint):
              * kwq/KWQLineEdit.mm:
              (QLineEdit::sizeForCharacterWidth):
              * kwq/KWQListBox.mm:
              (itemTextRenderer):
              (groupLabelTextRenderer):
              (QListBox::sizeForNumberOfLines):
              (QListBox::clearCachedTextRenderers):
              (-[KWQTableView drawRow:clipRect:]):
              * platform/Font.cpp:
              (WebCore::Font::drawSimpleText):
              (WebCore::Font::drawText):
              * platform/Font.h:
              (WebCore::TextStyle::disableRoundingHacks):
              (WebCore::TextStyle::setRTL):
              * platform/FontData.h:
              * platform/FontFallbackList.h:
              * platform/FontPlatformData.h:
              (WebCore::FontPlatformData::syntheticOblique):
              * platform/Pen.h:
              * platform/mac/FontData.mm:
              (WebCore::FontData::smallCapsFontData):
              (WebCore::findSubstituteRenderer):
              * platform/mac/FontMac.mm:
              (WebCore::FontFallbackList::setPlatformFont):
              (WebCore::m_wordSpacing):
              (WebCore::Font::drawComplexText):
              * platform/mac/WebCoreTextRenderer.mm:
              (WebCoreDrawTextAtPoint):
              (WebCoreTextFloatWidth):
              * platform/win/FontWin.cpp:
              (WebCore::Font::drawText):
              * rendering/InlineTextBox.cpp:
              (WebCore::InlineTextBox::positionForOffset):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      29e8eac4
  16. 09 May, 2006 1 commit
    • sfalken's avatar
      2006-05-09 Steve Falkenburg <sfalken@apple.com> · cd846007
      sfalken authored
              Fix Windows build.
              Add host calback so caller can determine success/failure of a page load.
              
              Reviewed by kevin.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Fix paths, add missing files
              * loader/CachedResource.h: Fix include path.
              * loader/CachedResourceClientWalker.h: Fix include path.
              * platform/FontPlatformData.h: Fix include path.
              * platform/TransferJobClient.h: Make PlatformData, PlatformResponse an opaque struct.
              * platform/image-decoders/ImageDecoder.h: Fix include path.
              * platform/win/SharedTimerWin.cpp: Fix include path.
              * platform/win/TransferJobWin.cpp: 
              (WebCore::TransferJobWndProc): Add host callback for success/failure of load.
              * platform/win/TransferJobWin.h: Added. Windows version of PlatformData/PlatformResponse.
              * xpath/impl/XPathFunctions.cpp: Work around missing math functions in MSVC.
              (round): Work around missing math functions in MSVC.
              * xpath/impl/XPathPredicate.cpp: Work around missing math functions in MSVC.
              * xpath/impl/XPathValue.cpp: Work around missing math functions in MSVC.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd846007
  17. 06 May, 2006 1 commit
    • hyatt's avatar
      Rename WebCoreFont to FontPlatformData and WebTextRenderer to... · 4f04d3e6
      hyatt authored
              Rename WebCoreFont to FontPlatformData and WebTextRenderer to FontData.  Merge them into the
              headers (uncleanly with ifdefs at the moment, so I can see what I'm working towards).
      
              Reviewed by mjs
      
              * ChangeLog:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/WebCoreStringTruncator.mm:
              (stringWidth):
              (truncateString):
              (+[WebCoreStringTruncator widthOfString:font:]):
              * kwq/KWQComboBox.mm:
              (QComboBox::sizeHint):
              * kwq/KWQLineEdit.mm:
              (QLineEdit::sizeForCharacterWidth):
              * kwq/KWQListBox.mm:
              (itemTextRenderer):
              (groupLabelTextRenderer):
              (QListBox::sizeForNumberOfLines):
              (-[KWQTableView drawRow:clipRect:]):
              * platform/Font.cpp:
              (WebCore::m_wordSpacing):
              (WebCore::Font::Font):
              (WebCore::Font::operator=):
              (WebCore::Font::update):
              (WebCore::Font::ascent):
              (WebCore::Font::descent):
              (WebCore::Font::lineSpacing):
              (WebCore::Font::xHeight):
              (WebCore::Font::isFixedPitch):
              * platform/Font.h:
              (WebCore::Font::getNSFont):
              * platform/FontData.h:
              (WebCore::FontData::ascent):
              (WebCore::FontData::descent):
              (WebCore::FontData::lineSpacing):
              (WebCore::FontData::lineGap):
              (WebCore::FontData::misspellingLineThickness):
              (WebCore::FontData::misspellingLinePatternWidth):
              (WebCore::FontData::misspellingLinePatternGapWidth):
              * platform/FontDataSet.h: Removed.
              * platform/FontFallbackList.h: Added.
              * platform/FontPlatformData.h:
              * platform/mac/FontData.mm: Added.
              (WebCore::WebCoreInitializeFont):
              (WebCore::WebCoreInitializeEmptyTextGeometry):
              (WebCore::widthForGlyph):
              (WebCore::overrideLayoutOperation):
              (WebCore::FontData::~FontData):
              (WebCore::FontData::xHeight):
              (WebCore::FontData::drawRun):
              (WebCore::FontData::floatWidthForRun):
              (WebCore::FontData::drawLineForCharacters):
              (WebCore::FontData::selectionRectForRun):
              (WebCore::FontData::drawHighlightForRun):
              (WebCore::FontData::drawLineForMisspelling):
              (WebCore::FontData::pointToOffset):
              (WebCore::FontData::setAlwaysUseATSU):
              (WebCore::getSmallCapsRenderer):
              (WebCore::findSubstituteFont):
              (WebCore::rendererForAlternateFont):
              (WebCore::findSubstituteRenderer):
              (WebCore::computeWidthForSpace):
              (WebCore::setUpFont):
              (WebCore::CG_drawHighlight):
              (WebCore::CG_selectionRect):
              (WebCore::CG_draw):
              (WebCore::CG_floatWidthForRun):
              (WebCore::updateGlyphMapEntry):
              (WebCore::extendGlyphMap):
              (WebCore::extendWidthMap):
              (WebCore::initializeATSUStyle):
              (WebCore::createATSULayoutParameters):
              (WebCore::getTextBounds):
              (WebCore::ATSU_floatWidthForRun):
              (WebCore::ATSU_drawHighlight):
              (WebCore::ATSU_selectionRect):
              (WebCore::ATSU_draw):
              (WebCore::ATSU_pointToOffset):
              (WebCore::advanceWidthIteratorOneCharacter):
              (WebCore::CG_pointToOffset):
              (WebCore::glyphForCharacter):
              (WebCore::initializeWidthIterator):
              (WebCore::advanceWidthIterator):
              * platform/mac/FontMac.mm:
              (WebCore::m_font):
              (WebCore::FontFallbackList::~FontFallbackList):
              (WebCore::FontFallbackList::platformFont):
              (WebCore::FontFallbackList::primaryFont):
              (WebCore::FontFallbackList::determinePitch):
              (WebCore::FontFallbackList::invalidate):
              (WebCore::Font::platformFont):
              (WebCore::Font::selectionRectForText):
              (WebCore::Font::drawText):
              (WebCore::Font::drawHighlightForText):
              (WebCore::Font::drawLineForText):
              (WebCore::Font::drawLineForMisspelling):
              (WebCore::Font::misspellingLineThickness):
              (WebCore::Font::floatWidth):
              (WebCore::Font::checkSelectionPoint):
              * platform/mac/WebCoreTextRenderer.mm:
              (WebCoreDrawTextAtPoint):
              (WebCoreTextFloatWidth):
              (WebCoreSetAlwaysUseATSU):
              * platform/mac/WebTextRenderer.h: Removed.
              * platform/mac/WebTextRenderer.mm: Removed.
              * platform/mac/WebTextRendererFactory.h:
              * platform/mac/WebTextRendererFactory.mm:
              (-[WebTextRendererFactory isFontFixedPitch:]):
              (-[WebTextRendererFactory init]):
              (-[WebTextRendererFactory rendererWithFont:]):
              (-[WebTextRendererFactory fontWithFamilies:traits:size:]):
              * platform/win/FontWin.cpp:
              (WebCore::FontFallbackList::~FontFallbackList):
              (WebCore::FontFallbackList::determinePitch):
              (WebCore::FontFallbackList::invalidate):
              (WebCore::FontFallbackList::primaryFont):
              (WebCore::Font::floatWidth):
              (WebCore::Font::drawText):
              (WebCore::Font::drawHighlightForText):
              (WebCore::Font::selectionRectForText):
              (WebCore::Font::checkSelectionPoint):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f04d3e6
  18. 16 Mar, 2006 1 commit
    • darin's avatar
      Reviewed by Hyatt. · 991c938e
      darin authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7749
                canvas should be in DOM, not implemented in the JS bindings
      
              * WebCore.xcodeproj/project.pbxproj: Added new files.
              Changed bindings-generation code to work on the new html directory
              as well as the dom one.
      
              * bindings/js/JSCanvasRenderingContext2DBase.cpp: Added.
              * bindings/js/JSCanvasRenderingContext2DBase.h: Added.
              * bindings/js/JSDOMHTML.cpp: Added.
              * html: Added.
              * html/CanvasGradient.cpp: Added.
              * html/CanvasGradient.h: Added.
              * html/CanvasGradient.idl: Added.
              * html/CanvasPattern.cpp: Added.
              * html/CanvasPattern.h: Added.
              * html/CanvasPattern.idl: Added.
              * html/CanvasRenderingContext2D.cpp: Added.
              * html/CanvasRenderingContext2D.h: Added.
              * html/CanvasRenderingContext2D.idl: Added.
              * html/CanvasStyle.cpp: Added.
              * html/CanvasStyle.h: Added.
      
              * bindings/js/JSDOMCore.cpp: Touched so that it will recompile.
              * bindings/js/JSDOMEvents.cpp: Ditto.
              * dom/Attr.idl: Ditto.
              * dom/DOMImplementation.idl: Ditto.
              * dom/DocumentType.idl: Ditto.
              * dom/MutationEvent.idl: Ditto.
              * dom/ProcessingInstruction.idl: Ditto.
              * dom/Text.idl: Ditto.
      
              * khtml/ecma/kjs_binding.h: (KJS::toJS): Added. Template so that you can call
              toJS on a PassRefPtr as well as on a raw pointer.
      
              * bindings/scripts/CodeGeneratorJS.pm: Fixed handling of a class that has only
              a legacy parent, no conventional parents. Added JSCanvasRenderingContext2DBase
              as a legacy parent, and html as a legacy module. Added CanvasRenderingContext2D,
              CanvasGradient, and CanvasPattern to the "waht to include". Added a special
              case for strings beginning with Canvas to not add an "Impl" suffix. Made the
              generated impl() function be a const member function. Made m_mimpl be private
              instead of protected. Generate a toJS function for each class. Added flaot as
              a type. Generate String, not DOMString. Made the HashTable const.
      
              * bindings/scripts/IDLParser.pm: Fix a couple small things. I had started to
              try to make a missing semicolon trigger an error, but ended up giving up on
              that for now.
      
              * khtml/html/html_canvasimpl.h:
              * khtml/html/html_canvasimpl.cpp:
              (WebCore::HTMLCanvasElementImpl::HTMLCanvasElementImpl): Set m_2DContext to 0.
              (WebCore::HTMLCanvasElementImpl::~HTMLCanvasElementImpl): Call detachCanvas
              on m_2DContext, if any.
              (WebCore::HTMLCanvasElementImpl::detach): Call reset on m_2DContext, if any.
              (WebCore::HTMLCanvasElementImpl::getContext): Added.
              (WebCore::HTMLCanvasElementImpl::size): Added.
              (WebCore::HTMLCanvasElementImpl::createPlatformImage): Added.
      
              * platform/Image.h:
              * platform/Image.cpp: (WebCore::Image::compositeOperatorFromString):
              Changed to take a String instead of a const char*.
      
              * khtml/html/html_imageimpl.h:
              * khtml/html/html_imageimpl.cpp: (WebCore::HTMLMapElementImpl::areas):
              Tweaked formatting. Changed to use PassRefPtr.
      
              * bindings/objc/DOMInternal.mm: (-[WebScriptObject _initializeScriptDOMNodeImp]):
              * khtml/ecma/JSXMLHttpRequest.cpp: (KJS::JSXMLHttpRequest::getValueProperty):
              * khtml/ecma/XSLTProcessor.cpp: (KJS::XSLTProcessorProtoFunc::callAsFunction):
              * khtml/ecma/domparser.cpp: (KJS::DOMParserProtoFunc::callAsFunction):
              * khtml/ecma/kjs_css.cpp:
              (KJS::DOMCSSStyleDeclaration::getValueProperty):
              (KJS::DOMCSSStyleDeclarationProtoFunc::callAsFunction):
              (KJS::toJS):
              (KJS::DOMStyleSheet::getValueProperty):
              (KJS::DOMStyleSheetList::indexGetter):
              (KJS::DOMStyleSheetList::nameGetter):
              (KJS::DOMStyleSheetListFunc::callAsFunction):
              (KJS::DOMCSSStyleSheet::getValueProperty):
              (KJS::DOMCSSRuleList::indexGetter):
              (KJS::DOMCSSRuleListFunc::callAsFunction):
              (KJS::DOMCSSRule::getValueProperty):
              (KJS::DOMCSSPrimitiveValueProtoFunc::callAsFunction):
              (KJS::DOMCSSValueList::indexGetter):
              (KJS::DOMCSSValueListFunc::callAsFunction):
              (KJS::DOMRect::getValueProperty):
              * khtml/ecma/kjs_css.h:
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::getValueProperty):
              (KJS::DOMNodeProtoFunc::callAsFunction):
              (KJS::DOMNodeList::indexGetter):
              (KJS::DOMNodeList::nameGetter):
              (KJS::DOMNodeList::callAsFunction):
              (KJS::DOMNodeListFunc::callAsFunction):
              (KJS::DOMDocument::getValueProperty):
              (KJS::DOMDocumentProtoFunc::callAsFunction):
              (KJS::DOMNamedNodeMap::indexGetter):
              (KJS::DOMNamedNodeMap::nameGetter):
              (KJS::DOMNamedNodeMapProtoFunc::callAsFunction):
              (KJS::toJS):
              (KJS::DOMNamedNodesCollection::indexGetter):
              * khtml/ecma/kjs_dom.h:
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              (KJS::JSLazyEventListener::parseCode):
              (KJS::DOMEvent::getValueProperty):
              (KJS::toJS):
              (KJS::DOMUIEvent::getValueProperty):
              (KJS::DOMMouseEvent::getValueProperty):
              * khtml/ecma/kjs_events.h:
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLDocFunction::callAsFunction):
              (KJS::HTMLDocument::namedItemGetter):
              (KJS::HTMLDocument::getValueProperty):
              (KJS::HTMLDocument::put):
              (KJS::HTMLDocument::putValueProperty):
              (KJS::HTMLElement::classInfo):
              (KJS::HTMLElement::formIndexGetter):
              (KJS::HTMLElement::selectIndexGetter):
              (KJS::HTMLElement::implementsCall):
              (KJS::HTMLElement::callAsFunction):
              (KJS::HTMLElement::linkGetter):
              (KJS::HTMLElement::isIndexGetter):
              (KJS::HTMLElement::styleGetter):
              (KJS::HTMLElement::selectGetter):
              (KJS::HTMLElement::optionGetter):
              (KJS::HTMLElement::inputGetter):
              (KJS::HTMLElement::textAreaGetter):
              (KJS::HTMLElement::buttonGetter):
              (KJS::HTMLElement::labelGetter):
              (KJS::HTMLElement::fieldSetGetter):
              (KJS::HTMLElement::legendGetter):
              (KJS::HTMLElement::objectGetter):
              (KJS::HTMLElement::tableGetter):
              (KJS::HTMLElement::frameGetter):
              (KJS::HTMLElement::iFrameGetter):
              (KJS::HTMLElement::getValueProperty):
              (KJS::HTMLElement::toString):
              (KJS::HTMLElement::pushEventHandlerScope):
              (KJS::toJS):
              (KJS::HTMLElementFunction::callAsFunction):
              (KJS::HTMLElement::put):
              (KJS::HTMLCollection::indexGetter):
              (KJS::HTMLCollection::callAsFunction):
              (KJS::HTMLCollection::getNamedItems):
              (KJS::HTMLCollectionProtoFunc::callAsFunction):
              (KJS::HTMLSelectCollection::put):
              (KJS::OptionConstructorImp::construct):
              (KJS::ImageConstructorImp::construct):
              * khtml/ecma/kjs_html.h:
              * khtml/ecma/kjs_proxy.cpp: (WebCore::KJSProxyImpl::evaluate):
              * khtml/ecma/kjs_range.cpp:
              (KJS::DOMRange::getValueProperty):
              (KJS::DOMRangeProtoFunc::callAsFunction):
              (KJS::toJS):
              * khtml/ecma/kjs_range.h:
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::DOMNodeIterator::getValueProperty):
              (KJS::DOMNodeIteratorProtoFunc::callAsFunction):
              (KJS::toJS):
              (KJS::DOMTreeWalker::getValueProperty):
              (KJS::DOMTreeWalkerProtoFunc::callAsFunction):
              (KJS::JSNodeFilterCondition::acceptNode):
              * khtml/ecma/kjs_traversal.h:
              * khtml/ecma/kjs_views.cpp:
              (KJS::DOMAbstractView::getValueProperty):
              (KJS::DOMAbstractViewProtoFunc::callAsFunction):
              (KJS::toJS):
              * khtml/ecma/kjs_views.h:
              * khtml/ecma/kjs_window.cpp:
              (KJS::Window::getValueProperty):
              (KJS::Window::namedItemGetter):
              (KJS::Selection::getValueProperty):
              (KJS::SelectionFunc::callAsFunction):
              Rename uses and definitions of all the various converstions to JavaScript
              wrappers to the new common overloaded name: "toJS".
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      991c938e
  19. 10 Mar, 2006 1 commit
  20. 13 Feb, 2006 1 commit
    • darin's avatar
      Reviewed by Hyatt. · d47a9034
      darin authored
              - moved QWidget to platform directory, renamed to Widget,
                split into cross-platform and platform-specific parts,
                removed some of the unused bits
      
              * ForwardingHeaders/qwidget.h: Removed.
              * kwq/KWQWidget.h: Removed.
              * kwq/KWQWidget.mm: Removed.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Update for file removals and adds.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * platform/Widget.h: Moved code here, fixed it up.
              * platform/Widget.cpp: Ditto.
              * platform/mac/WidgetMac.mm: Added.
      
              * bindings/objc/DOMHTML.mm:
              (viewForElement):
              * bridge/mac/KWQKHTMLView.cpp:
              (WebCore::FrameView::topLevelWidget):
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::createPlugin):
              (WebCore::MacFrame::nextKeyViewInFrame):
              (WebCore::MacFrame::nextKeyViewForWidget):
              (WebCore::MacFrame::currentEventIsMouseDownInWidget):
              (WebCore::MacFrame::bridgeForWidget):
              (WebCore::MacFrame::passMouseDownEventToWidget):
              (WebCore::MacFrame::passSubframeEventToSubframe):
              (WebCore::MacFrame::passWheelEventToChildWidget):
              (WebCore::MacFrame::getAppletInstanceForWidget):
              (WebCore::MacFrame::getEmbedInstanceForWidget):
              (WebCore::MacFrame::getObjectInstanceForWidget):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge createFrameViewWithNSView:marginWidth:marginHeight:]):
              (-[WebCoreFrameBridge copyRenderNode:copier:]):
              (-[WebCoreFrameBridge elementForView:]):
              (-[WebCoreFrameBridge RenderObject::nodeInfoAtPoint:]):
              * dom/DocumentImpl.cpp:
              (WebCore::widgetForNode):
              (WebCore::DocumentImpl::setFocusNode):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Screen::getValueProperty):
              (KJS::WindowFunc::callAsFunction):
              * khtml/html/HTMLGenericFormElementImpl.cpp:
              (WebCore::HTMLGenericFormElementImpl::isKeyboardFocusable):
              (WebCore::HTMLGenericFormElementImpl::isMouseFocusable):
              * khtml/html/html_objectimpl.cpp:
              (WebCore::HTMLEmbedElementImpl::getEmbedInstance):
              (WebCore::HTMLObjectElementImpl::getObjectInstance):
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject addChildrenToArray:]):
              (-[KWQAccObject attachmentView]):
              (-[KWQAccObject doAXTextMarkerForPosition:]):
              * kwq/KWQComboBox.h:
              * kwq/KWQComboBox.mm:
              (QComboBox::frameGeometry):
              (QComboBox::setFrameGeometry):
              (QComboBox::setFont):
              (QComboBox::focusPolicy):
              (-[KWQPopUpButtonCell widget]):
              (-[KWQPopUpButton widget]):
              (-[KWQPopUpButton mouseDown:]):
              (-[KWQPopUpButton becomeFirstResponder]):
              (-[KWQPopUpButton resignFirstResponder]):
              (-[KWQPopUpButton nextKeyView]):
              (-[KWQPopUpButton previousKeyView]):
              * kwq/KWQFileButton.h:
              * kwq/KWQFileButton.mm:
              (KWQFileButton::focusPolicy):
              * kwq/KWQFrame.h:
              * kwq/KWQKCursor.h:
              * kwq/KWQKJavaAppletWidget.h:
              * kwq/KWQKJavaAppletWidget.mm:
              (KJavaAppletWidget::KJavaAppletWidget):
              * kwq/KWQLineEdit.h:
              * kwq/KWQLineEdit.mm:
              (QLineEdit::setFont):
              (QLineEdit::setPalette):
              (QLineEdit::focusPolicy):
              * kwq/KWQListBox.h:
              * kwq/KWQListBox.mm:
              (QListBox::QListBox):
              (QListBox::focusPolicy):
              (QListBox::setFont):
              (-[KWQListBoxScrollView widget]):
              (-[KWQListBoxScrollView becomeFirstResponder]):
              (-[KWQTableView mouseDown:]):
              (-[KWQTableView widget]):
              * kwq/KWQPainter.h:
              * kwq/KWQRenderTreeDebug.cpp:
              (write):
              * kwq/KWQScrollBar.h:
              * kwq/KWQScrollBar.mm:
              (-[KWQScrollBar widget]):
              (-[KWQScrollBar mouseDown:]):
              (QScrollBar::QScrollBar):
              (QScrollBar::~QScrollBar):
              * kwq/KWQScrollView.h:
              (QScrollView::QScrollView):
              * kwq/KWQScrollView.mm:
              (QScrollView::viewport):
              (QScrollView::childX):
              (QScrollView::childY):
              (QScrollView::addChild):
              (QScrollView::removeChild):
              * kwq/KWQSlider.h:
              * kwq/KWQSlider.mm:
              (-[KWQSlider mouseDown:]):
              (-[KWQSlider widget]):
              (QSlider::setFont):
              (QSlider::focusPolicy):
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView widget]):
              * kwq/KWQTextEdit.h:
              * kwq/KWQTextEdit.mm:
              (QTextEdit::QTextEdit):
              (QTextEdit::setFont):
              (QTextEdit::focusPolicy):
              (QTextEdit::setPalette):
              * kwq/KWQTextField.mm:
              (-[KWQTextFieldController widget]):
              (-[KWQTextFieldController textView:shouldHandleEvent:]):
              (-[KWQTextFieldController textView:didHandleEvent:]):
              (-[KWQTextField widget]):
              (-[KWQTextField nextKeyView]):
              (-[KWQTextField previousKeyView]):
              (-[KWQSecureTextField widget]):
              (-[KWQSecureTextField nextKeyView]):
              (-[KWQSecureTextField previousKeyView]):
              (-[KWQSearchField widget]):
              (-[KWQSearchField nextKeyView]):
              (-[KWQSearchField previousKeyView]):
              * kwq/KWQView.h:
              * kwq/KWQWindowWidget.h:
              * kwq/KWQWindowWidget.mm:
              (KWQWindowWidget::topLevelWidget):
              * page/Frame.cpp:
              (WebCore::isFrameElement):
              (WebCore::Frame::frameForWidget):
              (WebCore::Frame::nodeForWidget):
              (WebCore::Frame::setDocumentFocus):
              (WebCore::Frame::clearDocumentFocus):
              (WebCore::Frame::passWidgetMouseDownEventToWidget):
              * page/Frame.h:
              * page/FrameView.cpp:
              (WebCore::FrameView::FrameView):
              (WebCore::FrameView::init):
              * page/FrameView.h:
              * page/Plugin.h:
              (WebCore::Plugin::Plugin):
              (WebCore::Plugin::view):
              * platform/Screen.h:
              * platform/mac/ScreenMac.mm:
              (WebCore::screen):
              (WebCore::screenDepth):
              (WebCore::screenRect):
              (WebCore::usableScreenRect):
              * rendering/render_applet.cpp:
              (WebCore::RenderApplet::layout):
              * rendering/render_form.cpp:
              (WebCore::ComboBoxWidget::ComboBoxWidget):
              (WebCore::RenderSelect::createListBox):
              * rendering/render_form.h:
              * rendering/render_frames.cpp:
              (WebCore::RenderPart::setWidget):
              * rendering/render_frames.h:
              * rendering/render_object.cpp:
              * rendering/render_replaced.cpp:
              (WebCore::RenderWidget::resizeWidget):
              (WebCore::RenderWidget::setQWidget):
              * rendering/render_replaced.h:
              (WebCore::RenderWidget::widget):
              Change name from QWidget to Widget, a few other changes to get compiling.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d47a9034
  21. 09 Feb, 2006 1 commit
    • mjs's avatar
      Reviewed by Hyatt. · 167a9207
      mjs authored
              - various Frame cleanup:
              
              Make Frame-related classes Noncopyable.
              Remove nearly all of Frame's friends.
              Remove some unused stuff.
              Remove unneeded class forward declarations from Frame.h
      
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FrameTreeNode.h:
              (WebCore::FrameTreeNode::FrameTreeNode):
              (WebCore::FrameTreeNode::name):
              (WebCore::FrameTreeNode::parent):
              (WebCore::FrameTreeNode::setParent):
              (WebCore::FrameTreeNode::nextSibling):
              (WebCore::FrameTreeNode::previousSibling):
              (WebCore::FrameTreeNode::firstChild):
              (WebCore::FrameTreeNode::lastChild):
              (WebCore::FrameTreeNode::childCount):
              * page/FrameView.cpp:
              (WebCore::FrameView::viewportMouseMoveEvent):
              * page/Page.h:
              (WebCore::Page::mainFrame):
              * page/Plugin.h:
              (WebCore::Plugin::Plugin):
              (WebCore::Plugin::view):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      167a9207
  22. 07 Feb, 2006 1 commit
    • mjs's avatar
      Reviewed by Adele. · 69b3b5f0
      mjs authored
              - remove all remains of old-style frame tree, ChildFrame, ObjectContents and FrameList are all gone
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/BrowserExtension.h:
              * bridge/mac/BrowserExtensionMac.h:
              * bridge/mac/BrowserExtensionMac.mm:
              (WebCore::BrowserExtensionMac::createNewWindow):
              * khtml/ecma/kjs_window.cpp:
              (KJS::createNewWindow):
              (KJS::Window::indexGetter):
              (KJS::Window::getOwnPropertySlot):
              (KJS::WindowFunc::callAsFunction):
              (KJS::FrameArray::getValueProperty):
              (KJS::FrameArray::indexGetter):
              (KJS::FrameArray::nameGetter):
              (KJS::FrameArray::getOwnPropertySlot):
              * kwq/KWQFrame.mm:
              (QFrame::setFrameStyle):
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              (WebCore::Frame::stopLoading):
              (WebCore::Frame::clear):
              (WebCore::Frame::stopAnimations):
              (WebCore::Frame::checkCompleted):
              (WebCore::Frame::checkEmitLoadEvent):
              (WebCore::Frame::requestFrame):
              (WebCore::Frame::requestObject):
              (WebCore::Frame::loadSubframe):
              (WebCore::Frame::findFrame):
              (WebCore::Frame::frameExists):
              (WebCore::Frame::setZoomFactor):
              (WebCore::Frame::frameNames):
              (WebCore::Frame::frames):
              (WebCore::Frame::childFrameNamed):
              (WebCore::Frame::slotPartRemoved):
              (WebCore::Frame::connectChild):
              (WebCore::Frame::disconnectChild):
              (WebCore::Frame::canCachePage):
              (WebCore::Frame::setPolicyBaseURL):
              (WebCore::Frame::treeNode):
              (WebCore::Frame::frameDetached):
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameTreeNode.h:
              (WebCore::FrameTreeNode::name):
              (WebCore::FrameTreeNode::parent):
              (WebCore::FrameTreeNode::nextSibling):
              (WebCore::FrameTreeNode::previousSibling):
              (WebCore::FrameTreeNode::firstChild):
              (WebCore::FrameTreeNode::lastChild):
              (WebCore::FrameTreeNode::childCount):
              * page/ObjectContents.h: Removed.
              * page/Plugin.h:
              (WebCore::Plugin::view):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69b3b5f0
  23. 03 Feb, 2006 1 commit
    • mjs's avatar
      Reviewed by Adele. · e31dfc5d
      mjs authored
              - remove all use of the ChildFrame from outside Frame.cpp, in preparation for removing it
      
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::frameDetached): Factor out the ChildFrame manipulations into a base
              class method.
              (WebCore::MacFrame::objectContentType): factored out from createPart, calls the bridge to
              determine contents for an Object tag.
              (WebCore::MacFrame::createPlugin): factor out code from createPart that makes a Plugin.
              (WebCore::MacFrame::createFrame): ditto for code that makes a Frame.
              (WebCore::MacFrame::createEmptyDocument): factored out part into the superclass
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::ownerElement): Call new ownerElement method on Frame
              instead of mucking at Frame internals.
              * page/Frame.cpp:
              (WebCore::Frame::createPart): Moved here from MacFrame, but some of the guts were
              factored out.
              (WebCore::Frame::ownerElement): New method, logic moved from DocumentImpl.
              (WebCore::Frame::frameDetached): New virtual method, the part of this that
              pokes at ChildFrame structures.
              (WebCore::Frame::updateBaseURLForEmptyDocument): Helper that looks at the ChildFrame
              array for the benefit of createEmptyDocument.
              * page/Frame.h:
              * page/Page.h: Fix up modeline.
              * page/Plugin.h: Added.
              (WebCore::Plugin::Plugin): Moved here from MacFrame.mm, since it is now used by Frame.
              (WebCore::Plugin::view): ditto
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e31dfc5d
  24. 31 Jan, 2006 1 commit
    • darin's avatar
      WebCore: · ffd93c32
      darin authored
              Reviewed by Hyatt.
      
              - added a Timer class
              - used the Timer class for the redirection timer
              - moved Frame, FrameView, MacFrame, and FrameNodeTree into WebCore namespace
              - removed more KWQ
      
              * ForwardingHeaders/khtml_factory.h: Removed.
              * kwq/KWQKHTMLFactory.cpp: Removed.
              * kwq/KWQKHTMLFactory.h: Removed.
      
              * platform/Timer.h: Added.
              * platform/mac/Timer.cpp: Added.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for added and removed files.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * page/Frame.h:
              * page/Frame.cpp:
              (WebCore::Frame::init): Remove code to set up slotRedirect.
              (WebCore::Frame::checkCompleted): Call start/stopRedirectionTimer instead of using
              the redirection timer directly.
              (WebCore::Frame::scheduleRedirection): Ditto.
              (WebCore::Frame::scheduleLocationChange): Ditto.
              (WebCore::Frame::scheduleHistoryNavigation): Ditto.
              (WebCore::Frame::cancelRedirection): Ditto.
              (WebCore::Frame::redirectionTimerFired): Renamed from slotRedirect.
              (WebCore::Frame::slotParentCompleted): More startRedirectionTimer.
              (WebCore::Frame::startRedirectionTimer): Added. Virtual bottleneck to start the
              redirection timer.
              (WebCore::Frame::stopRedirectionTimer): Added. Virtual bottleneck to stop the
              redirection timer.
      
              * page/FramePrivate.h: Changed m_redirectionTimer from a QTimer to a Timer.
      
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::startRedirectionTimer): Added. Avoids the need for the QTimer
              "monitor" feature that I had added a while back to implement the client-redirected
              callback.
              (WebCore::MacFrame::stopRedirectionTimer): Ditto.
      
              * kwq/KWQSlot.cpp: Removed slotRedirected.
      
              * ForwardingHeaders/ksvg2/KSVGPart.h: Removed using to put Frame into various
              namespaces (all of which are WebCore now anyway).
      
              * bindings/objc/DOMInternal.mm:
              * bridge/mac/BrowserExtensionMac.h:
              * bridge/mac/KWQKHTMLView.cpp:
              * bridge/mac/MacFrame.h:
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              * bridge/mac/WebCorePageBridge.h:
              * bridge/mac/WebCorePageBridge.mm:
              * css/cssstyleselector.cpp:
              * css/cssstyleselector.h:
              * khtml/ecma/kjs_binding.cpp:
              * khtml/ecma/kjs_binding.h:
              * khtml/ecma/kjs_navigator.cpp:
              * khtml/ecma/kjs_navigator.h:
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_window.h:
              * khtml/editing/SelectionController.h:
              * khtml/editing/jsediting.h:
              * khtml/html/html_baseimpl.h:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_documentimpl.h:
              * khtml/html/html_headimpl.h:
              * khtml/html/htmlparser.h:
              * khtml/html/htmltokenizer.h:
              * khtml/xml/DOMImplementationImpl.h:
              * khtml/xml/DocumentImpl.h:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/xml_tokenizer.h:
              * khtml/xsl/xslt_processorimpl.h:
              * ksvg2/svg/SVGDocumentImpl.cpp:
              * kwq/KWQClipboard.h:
              * kwq/KWQComboBox.mm:
              * kwq/KWQFileButton.h:
              * kwq/KWQFrame.mm:
              * kwq/KWQKJavaAppletWidget.h:
              * kwq/KWQListBox.mm:
              * kwq/KWQSignalStubs.cpp:
              * kwq/KWQSlider.mm:
              * kwq/KWQTextField.mm:
              * kwq/KWQWidget.mm:
              * kwq/WebCoreSettings.mm:
              * kwq/WebCoreTextRendererFactory.mm:
              * loader/DocLoader.h:
              * page/FrameTreeNode.cpp:
              * page/FrameTreeNode.h:
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/Page.cpp:
              * page/Page.h:
              * rendering/InlineTextBox.h:
              * rendering/font.cpp:
              * rendering/render_canvas.h:
              * rendering/render_frames.h:
              * rendering/render_object.h:
              * rendering/render_replaced.h:
              Updated for namespace and header changes.
      
      WebKit:
      
              Reviewed by Hyatt.
      
              * WebCoreSupport.subproj/WebFrameBridge.m:
              (-[WebFrameBridge createChildFrameNamed:withURL:referrer:renderPart:allowsScrolling:marginWidth:marginHeight:]):
              Updated for name change.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ffd93c32
  25. 23 Jan, 2006 1 commit
    • mjs's avatar
      Reviewed by Darin. · 3823c585
      mjs authored
              
              - Set up Page class and invert Frame / WebCoreFrameBridge ownership
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6577
      
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              (MacFrame::MacFrame): Initialize _bridge
              (MacFrame::~MacFrame): Clear the bridge's frame pointer and release it.
              (Frame::frameDetached): Reverse order of removing from old-style frames
              array and calling frameDetached.
              (MacFrame::createPart): Don't ref the part when creating it, since the child
              bridge is no longer going to own a ref.
              (MacFrame::setBridge): KWQRetain / KWQRelease since we know own the bridge.
              (MacFrame::detachFromView): New method; clear out the view.
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              (Bridge): Helper method to get a WebCoreFrameBridge from a Frame.
              (-[WebCoreFrameBridge firstChild]): Call through Frame.
              (-[WebCoreFrameBridge lastChild]): ditto
              (-[WebCoreFrameBridge childCount]): ditto
              (-[WebCoreFrameBridge previousSibling]): ditto
              (-[WebCoreFrameBridge nextSibling]): ditto
              (-[WebCoreFrameBridge isDescendantOfFrame:]): No need to cast parent
              pointer.
              (-[WebCoreFrameBridge appendChild:]): Call through Frame.
              (-[WebCoreFrameBridge _clearRenderPart]): New helper method to free
              the renderPart when removing a child.
              (-[WebCoreFrameBridge removeChild:]): Clear child's render part
              and call through to Frame.
              (-[WebCoreFrameBridge dealloc]): Remove unneeded m_frame-related code.
              (-[WebCoreFrameBridge finalize]): ditto
              (-[WebCoreFrameBridge clearFrame]): New helper method, needed now that
              bridge can outlive frame.
              (-[WebCoreFrameBridge handleFallbackContent]): Make safe against a null
              frame.
              (-[WebCoreFrameBridge removeFromFrame]): ditto
              * bridge/mac/WebCorePageBridge.h:
              * bridge/mac/WebCorePageBridge.mm:
              (-[WebCorePageBridge initWithMainFrame:]): Create a Page instance.
              (-[WebCorePageBridge dealloc]): Delete the Page.
              (-[WebCorePageBridge mainFrame]): Get the main frame from the Page.
              * khtml/ecma/kjs_binding.cpp:
              (KJS::ScriptInterpreter::globalExec): Override; keep frame alive, then
              call superclass.
              * khtml/ecma/kjs_binding.h:
              * khtml/ecma/kjs_proxy.cpp:
              (KJSProxyImpl::clear): Don't pass exec to window.
              (KJSProxyImpl::interpreter): Don't do keepAlive.
              * khtml/ecma/kjs_window.cpp:
              (KJS::Window::isSafeScript): If the active part's document is gone, use the frame's
              URL for security check purposes.
              (KJS::Window::clear): Don't take an ExecState parameter any more - it
              wasn't used.
              * khtml/ecma/kjs_window.h:
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::implicitOpen): If we've got a tokenizer, delete
              it before closing - you don't ever want to fire an onload handler because of
              an open.
              * page/Frame.cpp:
              (Frame::init): Pass `this' to FramePrivate constructor.
              (FrameCounter::~FrameCounter): Added debug counting of leftover
              Frame objects on exit.
              (Frame::Frame): Moved out-of-line. Increment debug counter.
              (Frame::~Frame): Assert that there is no life support going, either at the
              start or end of this method. Decrement frame counter.
              (Frame::stopLoading): tweaked for the fact that ChildFrame::m_frame is now
              a RefPtr.
              (Frame::clear): ditto
              (Frame::stop): ditto
              (Frame::stopAnimations): ditto
              (Frame::checkEmitLoadEvent): ditto
              (Frame::processObjectRequest): ditto
              (Frame::childFrame): ditto
              (Frame::findFrame): ditto
              (Frame::setZoomFactor): ditto
              (Frame::frames): ditto
              (Frame::connectChild): ditto
              (Frame::disconnectChild): ditto
              (Frame::endAllLifeSupport): Method that, in debug mode, will clear
              all life suppor timers so the Frame exit counter works.
              (Frame::keepAlive): In debug mode, add proper support for
              endAllLifeSupport
              (Frame::slotEndLifeSupport): ditto
              (Frame::setPolicyBaseURL): Update for the fact that ChildFrame::m_frame is now
              a RefPtr.
              (Frame::treeNode): New helper method, get the FrameTreeNode class that implements
              frame tree traversal.
              (Frame::nextSibling): Simple wrapper that calls through to treeNode().
              (Frame::previousSibling): ditto
              (Frame::firstChild): ditto
              (Frame::lastChild): ditto
              (Frame::childCount): ditto
              (Frame::appendChild): ditto
              (Frame::removeChild): ditto
              (Frame::detachFromView): no-op, just a virtual base for the MAcFrame method.
              * page/Frame.h:
              * page/FramePrivate.h:
              (FramePrivate::FramePrivate): Add FrameTreeNode member.
              * page/FrameTreeNode.cpp: Added.
              (FrameTreeNode::~FrameTreeNode): detach all children from their view
              (FrameTreeNode::appendChild): implemented
              (FrameTreeNode::removeChild): implemented - make sure to detach child
              from its view.
              * page/FrameTreeNode.h: Added.
              (FrameTreeNode::FrameTreeNode): New; initialize fields tht need it.
              (FrameTreeNode::nextSibling): Trivial inline.
              (FrameTreeNode::previousSibling): ditto
              (FrameTreeNode::firstChild): ditto
              (FrameTreeNode::lastChild): ditto
              (FrameTreeNode::childCount): ditto
              * page/Page.cpp: Added.
              (Page::Page): Initialize mainFrame and bump pageCount appropriately.
              (Page::~Page): Detach main frame from view, handle ending life support
              when last frame is destroyed.
              * page/Page.h: Added.
              (Page::mainFrame): Trivial inline.
              * WebCore.xcodeproj/project.pbxproj: Add new files.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3823c585
  26. 22 Jan, 2006 1 commit
    • darin's avatar
      LayoutTests: · 82447ad9
      darin authored
              Reviewed by Maciej.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5656
              REGRESSION: Buttons on Yahoo! Mail misplaced in ToT
              <rdar://problem/4404335>
              Tests whether white-space mode on buttons is inherited and not forced.
      
              * fast/forms/button-white-space-expected.checksum: Added.
              * fast/forms/button-white-space-expected.png: Added.
              * fast/forms/button-white-space-expected.txt: Added.
              * fast/forms/button-white-space.html: Added.
      
      WebCore:
      
              Reviewed by Maciej.
      
              - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5656
              REGRESSION: Buttons on Yahoo! Mail misplaced in ToT
              <rdar://problem/4404335>
              Tests whether white-space mode on buttons is inheritied and not forced.
              Originally broken in Subversion revision r10909.
      
              * css/html4.css: Remove default white-space value for <button> tag to
              allow it to be inherited.
              * rendering/render_theme_mac.mm:
              (khtml::RenderThemeMac::adjustButtonStyle): Fix misleading comment.
      
              * css/UserAgentStyleSheets.cpp: Touched this file to make the rebuild
              of html4.css work (shouldn't have to do this).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82447ad9
  27. 18 Jan, 2006 1 commit
    • darin's avatar
      Reviewed by Hyatt. · 4ecb97ed
      darin authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6646
                compile CSS sources in instead of reading them from disk
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.vcproj/WebCore/build-generated-files.sh:
      
              * css/make-css-file-arrays.pl: Added. Used to generate C array forms of the ".css" files.
              * css/UserAgentStyleSheets.cpp: Added. Used to indirectly compile the generated file.
      
              * WebCore.xcodeproj/project.pbxproj: Added new source files. Added a build phase to
              invoke the make-css-file-arrays.pl script. Removed the .css files, which no longer need
              to be installed as part of the final package.
      
              * css/cssstyleselector.cpp: (WebCore::parseUASheet): Removed code to read user agent
              sheets from disk. Replaced with code that gets them from compiled-in arrays instead.
              Uses a pretty lame DOMString hack that could be reworked some day.
              (WebCore::CSSStyleSelector::loadDefaultStyle): Change to load from arrays intead of disk.
      
              * css/html4.css: Added missing license header, tweaked format a bit.
              * css/quirks.css: Added missing license header, tweaked format.
              * css/svg.css: Moved from ksvg2/css directory.
              * ksvg2/css/svg.css: Moved to top level css directory.
      
              * page/Frame.cpp: Removed includes of qfile.h and kstandarddirs.h.
      
              * ForwardingHeaders/kstandarddirs.h: Removed.
              * ForwardingHeaders/qfile.h: Removed.
              * kwq/KWQFile.h: Removed.
              * kwq/KWQFile.mm: Removed.
              * kwq/KWQKStandardDirs.h: Removed.
              * kwq/KWQKStandardDirs.mm: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4ecb97ed
  28. 04 Dec, 2005 3 commits
    • eseidel's avatar
      Bug #: 5930 · f0d2eefd
      eseidel authored
      Submitted by: eseidel
      Reviewed by: ggaren
              No additional test cases needed (or possible).
      
              Further dom/* cleanup, also removing extra forwarding headers
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5930
      
              * ForwardingHeaders/dom/dom2_views.h: Removed.
              * ForwardingHeaders/dom/dom_core.h: Removed.
              * ForwardingHeaders/dom/dom_doc.h: Removed.
              * ForwardingHeaders/dom/dom_element.h: Removed.
              * ForwardingHeaders/dom/dom_misc.h: Removed.
              * ForwardingHeaders/dom/dom_text.h: Removed.
              * ForwardingHeaders/dom/dom_xml.h: Removed.
              * ForwardingHeaders/dom/html_base.h: Removed.
              * ForwardingHeaders/dom/html_block.h: Removed.
              * ForwardingHeaders/dom/html_document.h: Removed.
              * ForwardingHeaders/dom/html_element.h: Removed.
              * ForwardingHeaders/dom/html_form.h: Removed.
              * ForwardingHeaders/dom/html_head.h: Removed.
              * ForwardingHeaders/dom/html_image.h: Removed.
              * ForwardingHeaders/dom/html_inline.h: Removed.
              * ForwardingHeaders/dom/html_list.h: Removed.
              * ForwardingHeaders/dom/html_misc.h: Removed.
              * ForwardingHeaders/dom/html_object.h: Removed.
              * ForwardingHeaders/dom/html_table.h: Removed.
              * ForwardingHeaders/ecma/kjs_css.h: Removed.
              * ForwardingHeaders/ecma/kjs_html.h: Removed.
              * ForwardingHeaders/ecma/kjs_html.lut.h: Removed.
              * ForwardingHeaders/ecma/kjs_views.h: Removed.
              * ForwardingHeaders/ecma/kjs_views.lut.h: Removed.
              * ForwardingHeaders/ecma/kjs_window.h: Removed.
              * ForwardingHeaders/html/dtd.h: Removed.
              * ForwardingHeaders/kdom/KDOMPart.h: Removed.
              * ForwardingHeaders/kdom/KDOMView.h: Removed.
              * ForwardingHeaders/kdom/core/NodeListImpl.h: Removed.
              * ForwardingHeaders/kdom/css/CSSMediaRuleImpl.h: Removed.
              * ForwardingHeaders/kdom/css/CSSRuleImpl.h: Removed.
              * ForwardingHeaders/kdom/css/CSSRuleListImpl.h: Removed.
              * ForwardingHeaders/kdom/css/cssproperties.h: Removed.
              * ForwardingHeaders/kdom/css/cssvalues.h: Removed.
              * ForwardingHeaders/kdom/events/DocumentEventImpl.h: Removed.
              * ForwardingHeaders/kdom/parser/KDOMDocumentBuilder.h: Removed.
              * ForwardingHeaders/kdomcssproperties.h: Removed.
              * ForwardingHeaders/kdomcssvalues.h: Removed.
              * ForwardingHeaders/kinstance.h: Removed.
              * ForwardingHeaders/kjs/identifier.h: Removed.
              * ForwardingHeaders/kjs/property_map.h: Removed.
              * ForwardingHeaders/kjs/protected_object.h: Removed.
              * ForwardingHeaders/kjs/scope_chain.h: Removed.
              * ForwardingHeaders/kjs/ustring.h: Removed.
              * ForwardingHeaders/kjs/value.h: Removed.
              * ForwardingHeaders/ksvg2/svg/svgtags.h: Removed.
              * ForwardingHeaders/q3intdict.h: Removed.
              * ForwardingHeaders/q3memarray.h: Removed.
              * ForwardingHeaders/q3ptrcollection.h: Removed.
              * ForwardingHeaders/q3ptrdict.h: Removed.
              * ForwardingHeaders/qcstring.h: Removed.
              * ForwardingHeaders/qcursor.h: Removed.
              * ForwardingHeaders/qintdict.h: Removed.
              * ForwardingHeaders/qpair.h: Removed.
              * ForwardingHeaders/qprinter.h: Removed.
              * ForwardingHeaders/qptrcollection.h: Removed.
              * ForwardingHeaders/qsize.h: Removed.
              * ForwardingHeaders/qsortedlist.h: Removed.
              * ForwardingHeaders/qvaluevector.h: Removed.
              * ForwardingHeaders/xml/dom_positioniterator.h: Removed.
              * khtml/css/css_ruleimpl.cpp:
              * khtml/dom/css_value.h:
              * khtml/dom/dom2_events.cpp:
              * khtml/dom/dom2_events.h:
              * khtml/dom/dom2_range.h:
              * khtml/dom/dom2_traversal.cpp:
              * khtml/dom/dom_exception.h:
              * khtml/dom/dom_node.h:
              * khtml/dom/dom_string.cpp:
              * khtml/ecma/kjs_traversal.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0d2eefd
    • eseidel's avatar
      Bug #: 5929 · 7d605a21
      eseidel authored
      Submitted by: eseidel
      Reviewed by: darin
              No functionality changes, no test cases possible or necessary.
      
              Removed dom_misc.* and changed to use Shared instead of DOMShared.
              Also removed FilterNode typedef, now using NodeImpl* directly.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5929
      
              * WebCore.xcodeproj/project.pbxproj:
              * khtml/css/css_base.h:
              * khtml/dom/dom2_events.h:
              * khtml/dom/dom2_traversal.cpp:
              (DOM::NodeFilterCondition::acceptNode):
              * khtml/dom/dom2_traversal.h:
              * khtml/dom/dom_exception.h:
              * khtml/dom/dom_misc.cpp: Removed.
              * khtml/dom/dom_misc.h: Removed.
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::JSNodeFilterCondition::acceptNode):
              * khtml/ecma/kjs_traversal.h:
              * kwq/DOM.mm:
              (ObjCNodeFilterCondition::acceptNode):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d605a21
    • eseidel's avatar
      Bug #: 5877 · 2928be58
      eseidel authored
      Submitted by: eseidel
      Reviewed by: mjs
              No test cases needed/possible, only removing dead code.
      
              Remove rotten #ifdef'd code from the source:
              APPLE_CHANGES & KHTML_NO_CPLUSPLUS_DOM
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5877
      
              * khtml/dom/css_rule.h:
              (DOM::CSSRule::):
              * khtml/dom/css_stylesheet.h:
              * khtml/dom/css_value.h:
              (DOM::CSSValue::):
              (DOM::CSSPrimitiveValue::):
              * khtml/dom/dom2_events.cpp:
              (DOM::EventListener::handleEventImpl):
              * khtml/dom/dom2_events.h:
              (DOM::Event::):
              (DOM::EventException::):
              (DOM::MutationEvent::):
              * khtml/dom/dom2_range.h:
              (DOM::RangeException::):
              (DOM::Range::):
              * khtml/dom/dom2_traversal.cpp:
              * khtml/dom/dom2_traversal.h:
              (DOM::NodeFilter::):
              * khtml/dom/dom_exception.h:
              (DOM::DOMException::):
              * khtml/dom/dom_misc.cpp:
              (DOM::DomShared::~DomShared):
              * khtml/dom/dom_misc.h:
              (DOM::DomShared::deleteMe):
              * khtml/dom/dom_node.h:
              (DOM::Node::):
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::JSNodeFilterCondition::acceptNode):
              * khtml/khtml_part.cpp:
              (KHTMLPart::stopLoading):
              * khtml/khtml_part.h:
              * khtml/khtmlview.cpp:
              (KHTMLView::viewportMousePressEvent):
              (KHTMLView::focusNextPrevNode):
              * kwq/KWQKConfigBase.h:
              * kwq/KWQKHTMLPageCache.h:
              * kwq/KWQPointArray.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2928be58
  29. 03 Oct, 2005 1 commit
    • mjs's avatar
      JavaScriptCore: · b64c50a2
      mjs authored
              Reviewed by Darin.
      
      	<rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5243
      
      	A number of optimizations to the new threadsafe malloc that make it actually as fast
      	as dlmalloc (I measured wrong before) and as memory-efficient as the system malloc.
      
      	- use fastMalloc for everything - it now gets applied to all new/delete allocations
      	via a private inline operator new that is now included into every file via config.h.
      
      	- tweaked some of the numeric parameters for size classes and amount of wasted memory
      	allowed per allocation - this saves on memory use and consequently improves speed.
      
      	- so long as the allocator is not being used on background threads, get the per-thread
      	cache from a global variable instead of from pthread_getspecific, since the latter is slow.
      
      	- inline more functions, and force the ones GCC refuses to inline with
      	attribute(always_inline), nearly all of these have one call site so inlining them has
      	to be a win.
      
      	- use some tricks to calculate allocation size more efficiently and fewer times for small
      	allocations, to avoid hitting the huge size table array.
      
      	- avoid hitting the per-thread cache on code paths that don't need it.
      
      	- implement inline assembly version of spinlock for PowerPC (was already done for x86)
      
              * bindings/NP_jsobject.cpp:
              * bindings/c/c_class.cpp:
              * bindings/c/c_instance.cpp:
              * bindings/c/c_runtime.cpp:
              * bindings/c/c_utility.cpp:
              * bindings/jni/jni_class.cpp:
              * bindings/jni/jni_instance.cpp:
              * bindings/jni/jni_jsobject.cpp:
              * bindings/jni/jni_objc.mm:
              * bindings/jni/jni_runtime.cpp:
              * bindings/jni/jni_utility.cpp:
              * bindings/npruntime.cpp:
              * bindings/objc/WebScriptObject.mm:
              * bindings/objc/objc_class.mm:
              * bindings/objc/objc_instance.mm:
              * bindings/objc/objc_runtime.mm:
              * bindings/objc/objc_utility.mm:
              * bindings/runtime.cpp:
              * bindings/runtime_array.cpp:
              * bindings/runtime_method.cpp:
              * bindings/runtime_object.cpp:
              * bindings/runtime_root.cpp:
              * bindings/testbindings.cpp:
              * bindings/testbindings.mm:
              * kjs/array_object.cpp:
              (ArrayInstanceImp::ArrayInstanceImp):
              (ArrayInstanceImp::~ArrayInstanceImp):
              (ArrayInstanceImp::resizeStorage):
              * kjs/bool_object.cpp:
              * kjs/collector.cpp:
              (KJS::Collector::registerThread):
              * kjs/config.h:
              * kjs/debugger.cpp:
              * kjs/error_object.cpp:
              * kjs/function.cpp:
              * kjs/function_object.cpp:
              * kjs/identifier.cpp:
              (KJS::Identifier::rehash):
              * kjs/internal.cpp:
              (KJS::Parser::saveNewNode):
              (KJS::clearNewNodes):
              * kjs/interpreter.cpp:
              * kjs/lexer.cpp:
              (Lexer::doneParsing):
              (Lexer::makeIdentifier):
              (Lexer::makeUString):
              * kjs/list.cpp:
              * kjs/math_object.cpp:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/nodes2string.cpp:
              * kjs/number_object.cpp:
              (integer_part_noexp):
              (char_sequence):
              * kjs/object.cpp:
              * kjs/object_object.cpp:
              * kjs/property_map.cpp:
              * kjs/property_slot.cpp:
              * kjs/protected_values.cpp:
              (KJS::ProtectedValues::rehash):
              * kjs/reference.cpp:
              * kjs/reference_list.cpp:
              * kjs/regexp.cpp:
              * kjs/regexp_object.cpp:
              * kjs/scope_chain.cpp:
              * kjs/scope_chain.h:
              * kjs/string_object.cpp:
              * kjs/testkjs.cpp:
              * kjs/ustring.h:
              * kjs/value.cpp:
              * kxmlcore/Assertions.mm:
              * kxmlcore/FastMalloc.cpp:
              (KXMLCore::InitSizeClasses):
              (KXMLCore::DLL_IsEmpty):
              (KXMLCore::DLL_Prepend):
              (KXMLCore::TCMalloc_Central_FreeList::Insert):
              (KXMLCore::TCMalloc_Central_FreeList::Remove):
              (KXMLCore::TCMalloc_Central_FreeList::Populate):
              (KXMLCore::TCMalloc_ThreadCache::Allocate):
              (KXMLCore::TCMalloc_ThreadCache::FetchFromCentralCache):
              (KXMLCore::fastMallocRegisterThread):
              (KXMLCore::TCMalloc_ThreadCache::GetCache):
              (KXMLCore::TCMalloc_ThreadCache::GetCacheIfPresent):
              (KXMLCore::TCMalloc_ThreadCache::CreateCacheIfNecessary):
              (KXMLCore::do_malloc):
              (KXMLCore::do_free):
              (KXMLCore::realloc):
              * kxmlcore/FastMalloc.h:
              (operator new):
              (operator delete):
              (operator new[]):
              (operator delete[]):
              * kxmlcore/HashTable.cpp:
              * kxmlcore/TCSpinLock.h:
              (TCMalloc_SpinLock::Lock):
              (TCMalloc_SpinLock::Unlock):
              (TCMalloc_SlowLock):
              * kxmlcore/TCSystemAlloc.cpp:
      
      WebCore:
      
              Reviewed by Darin.
      
      	<rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5243
      
      	- use fastMalloc for everything - it now gets applied to all new/delete allocations
              via a private inline operator new that is now included into every file via config.h
      
              * WebCore.xcodeproj/project.pbxproj:
              * WebCorePrefix.h:
              * khtml/css/css_base.cpp:
              * khtml/css/css_base.h:
              * khtml/css/css_computedstyle.cpp:
              * khtml/css/css_ruleimpl.cpp:
              * khtml/css/css_stylesheetimpl.cpp:
              * khtml/css/css_valueimpl.cpp:
              * khtml/css/css_valueimpl.h:
              * khtml/css/csshelper.cpp:
              * khtml/css/cssparser.cpp:
              (ValueList::ValueList):
              (ValueList::~ValueList):
              (ValueList::addValue):
              (CSSParser::CSSParser):
              (CSSParser::~CSSParser):
              (CSSParser::setupParser):
              (CSSParser::addProperty):
              * khtml/css/cssstyleselector.cpp:
              * khtml/css/cssstyleselector.h:
              * khtml/dom/dom2_events.cpp:
              * khtml/dom/dom2_traversal.cpp:
              * khtml/dom/dom_misc.cpp:
              * khtml/dom/dom_string.cpp:
              * khtml/ecma/domparser.cpp:
              * khtml/ecma/kjs_binding.cpp:
              * khtml/ecma/kjs_css.cpp:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_events.cpp:
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::Context2DFunction::callAsFunction):
              (KJS::Gradient::~Gradient):
              (KJS::Gradient::addColorStop):
              (KJS::Gradient::colorStops):
              * khtml/ecma/kjs_navigator.cpp:
              * khtml/ecma/kjs_proxy.cpp:
              * khtml/ecma/kjs_range.cpp:
              * khtml/ecma/kjs_traversal.cpp:
              * khtml/ecma/kjs_views.cpp:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/xmlhttprequest.cpp:
              * khtml/ecma/xmlserializer.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/append_node_command.cpp:
              * khtml/editing/apply_style_command.cpp:
              * khtml/editing/break_blockquote_command.cpp:
              * khtml/editing/composite_edit_command.cpp:
              * khtml/editing/delete_from_text_node_command.cpp:
              * khtml/editing/delete_selection_command.cpp:
              * khtml/editing/edit_command.cpp:
              * khtml/editing/html_interchange.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/insert_into_text_node_command.cpp:
              * khtml/editing/insert_line_break_command.cpp:
              * khtml/editing/insert_node_before_command.cpp:
              * khtml/editing/insert_paragraph_separator_command.cpp:
              * khtml/editing/insert_text_command.cpp:
              * khtml/editing/join_text_nodes_command.cpp:
              * khtml/editing/jsediting.cpp:
              * khtml/editing/markup.cpp:
              * khtml/editing/merge_identical_elements_command.cpp:
              * khtml/editing/move_selection_command.cpp:
              * khtml/editing/rebalance_whitespace_command.cpp:
              * khtml/editing/remove_css_property_command.cpp:
              * khtml/editing/remove_node_attribute_command.cpp:
              * khtml/editing/remove_node_command.cpp:
              * khtml/editing/remove_node_preserving_children_command.cpp:
              * khtml/editing/replace_selection_command.cpp:
              * khtml/editing/set_node_attribute_command.cpp:
              * khtml/editing/split_element_command.cpp:
              * khtml/editing/split_text_node_command.cpp:
              * khtml/editing/split_text_node_containing_element.cpp:
              * khtml/editing/typing_command.cpp:
              * khtml/editing/visible_position.cpp:
              * khtml/editing/visible_range.cpp:
              * khtml/editing/visible_text.cpp:
              (khtml::CircularSearchBuffer::~CircularSearchBuffer):
              (khtml::CircularSearchBuffer::CircularSearchBuffer):
              * khtml/editing/visible_units.cpp:
              * khtml/editing/wrap_contents_in_dummy_span_command.cpp:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_blockimpl.cpp:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_elementimpl.cpp:
              * khtml/html/html_formimpl.cpp:
              * khtml/html/html_headimpl.cpp:
              * khtml/html/html_imageimpl.cpp:
              * khtml/html/html_inlineimpl.cpp:
              * khtml/html/html_listimpl.cpp:
              * khtml/html/html_miscimpl.cpp:
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/html_tableimpl.cpp:
              * khtml/html/htmlfactory.cpp:
              * khtml/html/htmlnames.cpp:
              * khtml/html/htmlparser.cpp:
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::enlargeBuffer):
              (khtml::HTMLTokenizer::enlargeScriptBuffer):
              * khtml/khtml_events.cpp:
              * khtml/khtml_part.cpp:
              * khtml/khtmlview.cpp:
              * khtml/misc/arena.cpp:
              * khtml/misc/arena.h:
              * khtml/misc/decoder.cpp:
              * khtml/misc/formdata.cpp:
              * khtml/misc/helper.cpp:
              * khtml/misc/loader.cpp:
              * khtml/misc/stringit.cpp:
              * khtml/rendering/bidi.cpp:
              * khtml/rendering/break_lines.cpp:
              * khtml/rendering/font.cpp:
              * khtml/rendering/render_arena.cpp:
              * khtml/rendering/render_block.cpp:
              * khtml/rendering/render_box.cpp:
              * khtml/rendering/render_br.cpp:
              * khtml/rendering/render_canvas.cpp:
              * khtml/rendering/render_canvasimage.cpp:
              (RenderCanvasImage::~RenderCanvasImage):
              (RenderCanvasImage::createDrawingContext):
              * khtml/rendering/render_container.cpp:
              * khtml/rendering/render_flexbox.cpp:
              * khtml/rendering/render_flow.cpp:
              * khtml/rendering/render_form.cpp:
              * khtml/rendering/render_frames.cpp:
              * khtml/rendering/render_image.cpp:
              * khtml/rendering/render_inline.cpp:
              * khtml/rendering/render_layer.cpp:
              * khtml/rendering/render_line.cpp:
              * khtml/rendering/render_list.cpp:
              * khtml/rendering/render_object.cpp:
              * khtml/rendering/render_replaced.cpp:
              * khtml/rendering/render_style.cpp:
              * khtml/rendering/render_style.h:
              * khtml/rendering/render_table.cpp:
              * khtml/rendering/render_text.cpp:
              * khtml/rendering/render_theme.cpp:
              * khtml/rendering/render_theme_mac.mm:
              * khtml/rendering/table_layout.cpp:
              * khtml/xbl/xbl_binding.cpp:
              * khtml/xbl/xbl_binding_manager.cpp:
              * khtml/xbl/xbl_docimpl.cpp:
              * khtml/xbl/xbl_protobinding.cpp:
              * khtml/xbl/xbl_protohandler.cpp:
              * khtml/xbl/xbl_protoimplementation.cpp:
              * khtml/xbl/xbl_tokenizer.cpp:
              * khtml/xml/EventNames.cpp:
              * khtml/xml/dom2_eventsimpl.cpp:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom2_rangeimpl.cpp:
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.cpp:
              * khtml/xml/dom2_traversalimpl.h:
              * khtml/xml/dom2_viewsimpl.cpp:
              * khtml/xml/dom2_viewsimpl.h:
              * khtml/xml/dom_atomicstring.cpp:
              * khtml/xml/dom_docimpl.cpp:
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.cpp:
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_position.cpp:
              * khtml/xml/dom_qname.cpp:
              * khtml/xml/dom_stringimpl.cpp:
              * khtml/xml/dom_stringimpl.h:
              * khtml/xml/dom_textimpl.cpp:
              * khtml/xml/dom_xmlimpl.cpp:
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * khtml/xsl/xslt_processorimpl.cpp:
              * kwq/DOM-CSS.mm:
              * kwq/DOM.mm:
              * kwq/DOMEvents.mm:
              * kwq/DOMHTML.mm:
              * kwq/DOMInternal.mm:
              (DOMString::DOMString):
              * kwq/DOMUtility.mm:
              * kwq/DOMViews.mm:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQApplication.mm:
              * kwq/KWQArrayImpl.h:
              * kwq/KWQArrayImpl.mm:
              * kwq/KWQBuffer.mm:
              * kwq/KWQButton.mm:
              * kwq/KWQCString.mm:
              * kwq/KWQCharsets.mm:
              * kwq/KWQClipboard.mm:
              * kwq/KWQCollection.mm:
              * kwq/KWQColor.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQCursor.mm:
              * kwq/KWQDateTime.mm:
              * kwq/KWQDictImpl.mm:
              * kwq/KWQEditCommand.mm:
              * kwq/KWQEvent.mm:
              * kwq/KWQExceptions.mm:
              * kwq/KWQFile.mm:
              * kwq/KWQFileButton.mm:
              * kwq/KWQFont.mm:
              * kwq/KWQFontFamily.h:
              * kwq/KWQFontFamily.mm:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQFormData.mm:
              * kwq/KWQFrame.mm:
              * kwq/KWQGlobal.mm:
              * kwq/KWQGuardedPtr.mm:
              * kwq/KWQKCharsets.mm:
              * kwq/KWQKConfigBase.mm:
              * kwq/KWQKCookieJar.mm:
              * kwq/KWQKCursor.mm:
              * kwq/KWQKGlobal.mm:
              * kwq/KWQKGlobalSettings.mm:
              * kwq/KWQKHTMLFactory.mm:
              * kwq/KWQKHTMLPart.cpp:
              * kwq/KWQKHTMLPart.mm:
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              * kwq/KWQKHTMLView.mm:
              * kwq/KWQKHistoryProvider.mm:
              * kwq/KWQKJavaAppletWidget.mm:
              * kwq/KWQKJob.mm:
              * kwq/KWQKJobClasses.mm:
              * kwq/KWQKLocale.mm:
              * kwq/KWQKPartsBrowserInterface.mm:
              * kwq/KWQKPartsEvent.mm:
              * kwq/KWQKPartsPart.mm:
              * kwq/KWQKSSLKeyGen.mm:
              * kwq/KWQKStandardDirs.mm:
              * kwq/KWQKStringHandler.mm:
              * kwq/KWQKURL.mm:
              (KURL::KURL):
              (KURL::decode_string):
              (KURL::parse):
              (KURL::encode_string):
              (encodeRelativeString):
              * kwq/KWQKWin.mm:
              * kwq/KWQKWinModule.mm:
              * kwq/KWQLabel.mm:
              * kwq/KWQLineEdit.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQListImpl.mm:
              * kwq/KWQLoader.mm:
              (KWQIsResponseURLEqualToURL):
              * kwq/KWQMapImpl.h:
              * kwq/KWQMapImpl.mm:
              * kwq/KWQMovie.mm:
              * kwq/KWQObject.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQPaintDeviceMetrics.mm:
              * kwq/KWQPainter.mm:
              * kwq/KWQPalette.mm:
              * kwq/KWQPen.mm:
              * kwq/KWQPixmap.mm:
              * kwq/KWQPoint.mm:
              * kwq/KWQPointArray.mm:
              * kwq/KWQPtrDictImpl.mm:
              * kwq/KWQPushButton.mm:
              * kwq/KWQRect.mm:
              * kwq/KWQRegExp.mm:
              * kwq/KWQRegion.mm:
              * kwq/KWQRenderTreeDebug.cpp:
              * kwq/KWQResourceLoader.mm:
              * kwq/KWQScrollBar.mm:
              * kwq/KWQScrollView.mm:
              * kwq/KWQSignal.mm:
              * kwq/KWQSignalStubs.mm:
              * kwq/KWQSize.mm:
              * kwq/KWQSlider.mm:
              * kwq/KWQSlot.mm:
              * kwq/KWQString.h:
              * kwq/KWQString.mm:
              (ALLOC_CHAR):
              (REALLOC_CHAR):
              (DELETE_CHAR):
              (ALLOC_QCHAR):
              (REALLOC_QCHAR):
              (DELETE_QCHAR):
              (_printQStringAllocationStatistics):
              (allocateHandle):
              (KWQStringData::operator new):
              (KWQStringData::operator delete):
              (freeHandle):
              * kwq/KWQStringList.mm:
              * kwq/KWQStyle.mm:
              * kwq/KWQTextArea.mm:
              * kwq/KWQTextCodec.mm:
              * kwq/KWQTextEdit.mm:
              * kwq/KWQTextField.mm:
              * kwq/KWQTextStream.mm:
              * kwq/KWQTextUtilities.mm:
              * kwq/KWQTimer.mm:
              * kwq/KWQValueListImpl.h:
              * kwq/KWQValueListImpl.mm:
              * kwq/KWQVariant.mm:
              * kwq/KWQVectorImpl.mm:
              (KWQVectorImpl::KWQVectorImpl):
              (KWQVectorImpl::~KWQVectorImpl):
              (KWQVectorImpl::clear):
              (KWQVectorImpl::resize):
              (KWQVectorImpl::assign):
              * kwq/KWQWMatrix.mm:
              * kwq/KWQWidget.mm:
              * kwq/KWQWindowWidget.mm:
              * kwq/WebCoreBridge.mm:
              * kwq/WebCoreCache.mm:
              * kwq/WebCoreEncodings.mm:
              * kwq/WebCoreJavaScript.mm:
              * kwq/WebCoreScriptDebugger.mm:
              * kwq/WebCoreSettings.mm:
              * kwq/WebCoreTextRendererFactory.mm:
              * kwq/can-convert.mm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b64c50a2
  30. 16 Sep, 2005 1 commit
    • adele's avatar
      JavaScriptCore: · 704e8bb4
      adele authored
              Change by Darin, reviewed by me and Maciej.
      
              Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=4547
              use int instead of long for 32-bit (to prepare for LP64 compiling)
      
              * bindings/c/c_class.h:
              (KJS::Bindings::CClass::constructorAt):
              (KJS::Bindings::CClass::numConstructors):
              * bindings/c/c_runtime.h:
              (KJS::Bindings::CMethod::numParameters):
              * bindings/jni/jni_class.cpp:
              (JavaClass::JavaClass):
              * bindings/jni/jni_class.h:
              (KJS::Bindings::JavaClass::constructorAt):
              (KJS::Bindings::JavaClass::numConstructors):
              * bindings/jni/jni_instance.cpp:
              (JavaInstance::invokeMethod):
              * bindings/jni/jni_jsobject.cpp:
              (JSObject::convertJObjectToValue):
              (JSObject::listFromJArray):
              * bindings/jni/jni_runtime.cpp:
              (JavaMethod::JavaMethod):
              * bindings/jni/jni_runtime.h:
              (KJS::Bindings::JavaConstructor::_commonCopy):
              (KJS::Bindings::JavaConstructor::parameterAt):
              (KJS::Bindings::JavaConstructor::numParameters):
              (KJS::Bindings::JavaMethod::_commonCopy):
              (KJS::Bindings::JavaMethod::parameterAt):
              (KJS::Bindings::JavaMethod::numParameters):
              * bindings/npapi.h:
              * bindings/objc/WebScriptObject.mm:
              (listFromNSArray):
              * bindings/objc/objc_class.h:
              (KJS::Bindings::ObjcClass::constructorAt):
              (KJS::Bindings::ObjcClass::numConstructors):
              * bindings/objc/objc_instance.h:
              * bindings/objc/objc_runtime.h:
              * bindings/objc/objc_runtime.mm:
              (ObjcMethod::numParameters):
              * bindings/runtime.h:
              * kjs/identifier.h:
              * kjs/internal.h:
              * kjs/property_slot.h:
              (KJS::PropertySlot::setCustomIndex):
              (KJS::PropertySlot::index):
              (KJS::PropertySlot::):
              * kjs/regexp_object.cpp:
              (RegExpObjectImp::backrefGetter):
              (RegExpObjectImp::getOwnPropertySlot):
              * kjs/simple_number.h:
              (KJS::SimpleNumber::):
              (KJS::SimpleNumber::value):
              (KJS::SimpleNumber::fits):
              (KJS::SimpleNumber::integerFits):
              (KJS::SimpleNumber::make):
              * kjs/string_object.cpp:
              (substituteBackreferences):
              * kjs/ustring.cpp:
              (KJS::UString::from):
              (KJS::UString::toUInt32):
              (KJS::UString::find):
              (KJS::UString::rfind):
              * kjs/ustring.h:
              * kjs/value.cpp:
              (KJS::jsNumber):
              * kjs/value.h:
      
      WebCore:
      
              Change by Darin, reviewed by me and Maciej.
      
              Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=4547
              use int instead of long for 32-bit (to prepare for LP64 compiling)
      
              Changed longs (which IDL files use as 32-bit) to ints
      
              * ForwardingHeaders/khtml_pagecache.h:
              * khtml/css/css_base.h:
              (DOM::StyleListImpl::length):
              (DOM::StyleListImpl::item):
              * khtml/css/css_computedstyle.cpp:
              (DOM::CSSComputedStyleDeclarationImpl::length):
              (DOM::CSSComputedStyleDeclarationImpl::item):
              * khtml/css/css_computedstyle.h:
              * khtml/css/css_ruleimpl.cpp:
              (CSSMediaRuleImpl::append):
              (CSSMediaRuleImpl::insertRule):
              (CSSMediaRuleImpl::cssText):
              (CSSRuleListImpl::CSSRuleListImpl):
              (CSSRuleListImpl::deleteRule):
              (CSSRuleListImpl::insertRule):
              * khtml/css/css_ruleimpl.h:
              (DOM::CSSRuleListImpl::length):
              (DOM::CSSRuleListImpl::item):
              (DOM::CSSMediaRuleImpl::deleteRule):
              * khtml/css/css_stylesheetimpl.cpp:
              (CSSStyleSheetImpl::insertRule):
              (CSSStyleSheetImpl::addRule):
              (CSSStyleSheetImpl::deleteRule):
              (StyleSheetListImpl::length):
              (StyleSheetListImpl::item):
              * khtml/css/css_stylesheetimpl.h:
              (DOM::MediaListImpl::length):
              (DOM::MediaListImpl::item):
              * khtml/css/css_valueimpl.cpp:
              (DOM::CSSMutableStyleDeclarationImpl::length):
              (DOM::CSSMutableStyleDeclarationImpl::item):
              * khtml/css/css_valueimpl.h:
              (DOM::CSSValueListImpl::length):
              (DOM::CSSValueListImpl::item):
              * khtml/dom/css_rule.h:
              * khtml/dom/css_stylesheet.h:
              * khtml/dom/css_value.h:
              * khtml/dom/dom2_events.cpp:
              (DOM::UIEvent::detail):
              (DOM::UIEvent::initUIEvent):
              (DOM::MouseEvent::screenX):
              (DOM::MouseEvent::screenY):
              (DOM::MouseEvent::clientX):
              (DOM::MouseEvent::clientY):
              (DOM::MouseEvent::initMouseEvent):
              (DOM::KeyboardEvent::keyLocation):
              (DOM::KeyboardEvent::initKeyboardEvent):
              * khtml/dom/dom2_events.h:
              * khtml/dom/dom2_range.h:
              * khtml/dom/dom2_traversal.cpp:
              (DOM::NodeIterator::whatToShow):
              (DOM::TreeWalker::whatToShow):
              * khtml/dom/dom2_traversal.h:
              * khtml/dom/dom_node.h:
              * khtml/ecma/kjs_css.cpp:
              (KJS::DOMCSSStyleDeclaration::getOwnPropertySlot):
              (KJS::DOMStyleSheetList::getOwnPropertySlot):
              (KJS::DOMMediaList::getOwnPropertySlot):
              (KJS::DOMCSSStyleSheetProtoFunc::callAsFunction):
              (KJS::DOMCSSRuleList::getOwnPropertySlot):
              (KJS::DOMCSSValueList::getOwnPropertySlot):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNodeList::getOwnPropertySlot):
              (KJS::DOMNodeList::callAsFunction):
              (KJS::DOMNamedNodeMap::getOwnPropertySlot):
              (KJS::DOMNamedNodesCollection::getOwnPropertySlot):
              * khtml/ecma/kjs_events.cpp:
              (KJS::DOMEvent::getValueProperty):
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLElement::getOwnPropertySlot):
              (KJS::KJS::HTMLElement::put):
              (KJS::HTMLCollection::getOwnPropertySlot):
              (KJS::KJS::HTMLCollection::callAsFunction):
              (KJS::KJS::HTMLSelectCollection::put):
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::Plugins::getOwnPropertySlot):
              (KJS::MimeTypes::getOwnPropertySlot):
              (KJS::Plugin::getOwnPropertySlot):
              * khtml/editing/apply_style_command.cpp:
              (khtml::ApplyStyleCommand::splitTextAtStartIfNeeded):
              (khtml::ApplyStyleCommand::splitTextElementAtStartIfNeeded):
              (khtml::ApplyStyleCommand::mergeStartWithPreviousIfIdentical):
              * khtml/editing/break_blockquote_command.cpp:
              (khtml::BreakBlockquoteCommand::doApply):
              * khtml/editing/composite_edit_command.cpp:
              (khtml::CompositeEditCommand::insertNodeAt):
              (khtml::CompositeEditCommand::splitTextNode):
              (khtml::CompositeEditCommand::splitTextNodeContainingElement):
              (khtml::CompositeEditCommand::insertTextIntoNode):
              (khtml::CompositeEditCommand::deleteTextFromNode):
              (khtml::CompositeEditCommand::replaceTextInNode):
              (khtml::CompositeEditCommand::deleteInsignificantText):
              * khtml/editing/composite_edit_command.h:
              * khtml/editing/delete_from_text_node_command.cpp:
              (khtml::DeleteFromTextNodeCommand::DeleteFromTextNodeCommand):
              * khtml/editing/delete_from_text_node_command.h:
              (khtml::DeleteFromTextNodeCommand::offset):
              (khtml::DeleteFromTextNodeCommand::count):
              * khtml/editing/insert_into_text_node_command.cpp:
              (khtml::InsertIntoTextNodeCommand::InsertIntoTextNodeCommand):
              * khtml/editing/insert_into_text_node_command.h:
              (khtml::InsertIntoTextNodeCommand::offset):
              * khtml/editing/insert_paragraph_separator_command.cpp:
              (khtml::InsertParagraphSeparatorCommand::doApply):
              * khtml/editing/insert_text_command.cpp:
              (khtml::InsertTextCommand::input):
              (khtml::InsertTextCommand::insertSpace):
              * khtml/editing/insert_text_command.h:
              (khtml::InsertTextCommand::charactersAdded):
              * khtml/editing/join_text_nodes_command.h:
              * khtml/editing/markup.cpp:
              (khtml::startMarkup):
              (khtml::completeURLs):
              * khtml/editing/move_selection_command.cpp:
              (khtml::MoveSelectionCommand::doApply):
              * khtml/editing/rebalance_whitespace_command.cpp:
              (khtml::RebalanceWhitespaceCommand::doApply):
              * khtml/editing/rebalance_whitespace_command.h:
              * khtml/editing/replace_selection_command.cpp:
              (khtml::ReplaceSelectionCommand::insertNodeAtAndUpdateNodesInserted):
              * khtml/editing/replace_selection_command.h:
              * khtml/editing/selection.cpp:
              (khtml::Selection::debugPosition):
              * khtml/editing/split_text_node_command.cpp:
              (khtml::SplitTextNodeCommand::SplitTextNodeCommand):
              * khtml/editing/split_text_node_command.h:
              (khtml::SplitTextNodeCommand::offset):
              * khtml/editing/split_text_node_containing_element.cpp:
              (khtml::SplitTextNodeContainingElementCommand::SplitTextNodeContainingElementCommand):
              * khtml/editing/split_text_node_containing_element_command.h:
              * khtml/editing/visible_position.cpp:
              (khtml::VisiblePosition::VisiblePosition):
              (khtml::VisiblePosition::deepEquivalent):
              (khtml::VisiblePosition::rangeCompliantEquivalent):
              (khtml::VisiblePosition::maxOffset):
              (khtml::VisiblePosition::character):
              (khtml::VisiblePosition::debugPosition):
              * khtml/editing/visible_position.h:
              * khtml/editing/visible_range.h:
              * khtml/editing/visible_text.cpp:
              (khtml::CircularSearchBuffer::length):
              (khtml::TextIterator::TextIterator):
              (khtml::TextIterator::handleTextNode):
              (khtml::TextIterator::handleTextBox):
              (khtml::TextIterator::emitCharacter):
              (khtml::TextIterator::range):
              (khtml::SimplifiedBackwardsTextIterator::SimplifiedBackwardsTextIterator):
              (khtml::SimplifiedBackwardsTextIterator::handleReplacedElement):
              (khtml::SimplifiedBackwardsTextIterator::emitCharacter):
              (khtml::SimplifiedBackwardsTextIterator::emitNewlineForBROrText):
              (khtml::CharacterIterator::range):
              (khtml::CharacterIterator::advance):
              (khtml::CharacterIterator::string):
              (khtml::WordAwareIterator::length):
              (khtml::CircularSearchBuffer::append):
              (khtml::CircularSearchBuffer::neededCharacters):
              (khtml::CircularSearchBuffer::isMatch):
              (khtml::TextIterator::rangeLength):
              (khtml::TextIterator::rangeFromLocationAndLength):
              (khtml::plainText):
              (khtml::findPlainText):
              * khtml/editing/visible_text.h:
              (khtml::TextIterator::length):
              (khtml::SimplifiedBackwardsTextIterator::length):
              (khtml::CharacterIterator::length):
              (khtml::CharacterIterator::characterOffset):
              * khtml/editing/visible_units.cpp:
              (khtml::startOfLine):
              (khtml::endOfLine):
              (khtml::startOfParagraph):
              (khtml::endOfParagraph):
              * khtml/html/html_blockimpl.cpp:
              (HTMLPreElementImpl::width):
              (HTMLPreElementImpl::setWidth):
              * khtml/html/html_blockimpl.h:
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::length):
              (DOM::HTMLGenericFormElementImpl::tabIndex):
              (DOM::HTMLGenericFormElementImpl::setTabIndex):
              (DOM::HTMLInputElementImpl::selectionStart):
              (DOM::HTMLInputElementImpl::selectionEnd):
              (DOM::HTMLInputElementImpl::setSelectionStart):
              (DOM::HTMLInputElementImpl::setSelectionEnd):
              (DOM::HTMLInputElementImpl::setSelectionRange):
              (DOM::HTMLInputElementImpl::setMaxLength):
              (DOM::HTMLInputElementImpl::setSize):
              (DOM::HTMLSelectElementImpl::selectedIndex):
              (DOM::HTMLSelectElementImpl::setSelectedIndex):
              (DOM::HTMLSelectElementImpl::length):
              (DOM::HTMLSelectElementImpl::remove):
              (DOM::HTMLSelectElementImpl::setSize):
              (DOM::HTMLOptionElementImpl::index):
              (DOM::HTMLOptionElementImpl::setIndex):
              (DOM::HTMLTextAreaElementImpl::selectionStart):
              (DOM::HTMLTextAreaElementImpl::selectionEnd):
              (DOM::HTMLTextAreaElementImpl::setSelectionStart):
              (DOM::HTMLTextAreaElementImpl::setSelectionEnd):
              (DOM::HTMLTextAreaElementImpl::setSelectionRange):
              (DOM::HTMLTextAreaElementImpl::setCols):
              (DOM::HTMLTextAreaElementImpl::setRows):
              (DOM::HTMLOptionsCollectionImpl::length):
              (DOM::HTMLOptionsCollectionImpl::setLength):
              (DOM::HTMLOptionsCollectionImpl::item):
              * khtml/html/html_formimpl.h:
              (DOM::HTMLInputElementImpl::maxLength):
              (DOM::HTMLInputElementImpl::maxResults):
              (DOM::HTMLSelectElementImpl::minWidth):
              (DOM::HTMLSelectElementImpl::size):
              (DOM::HTMLTextAreaElementImpl::cols):
              (DOM::HTMLTextAreaElementImpl::rows):
              * khtml/html/html_imageimpl.cpp:
              (HTMLImageElementImpl::width):
              (HTMLImageElementImpl::height):
              (HTMLImageElementImpl::border):
              (HTMLImageElementImpl::setBorder):
              (HTMLImageElementImpl::setHeight):
              (HTMLImageElementImpl::hspace):
              (HTMLImageElementImpl::setHspace):
              (HTMLImageElementImpl::vspace):
              (HTMLImageElementImpl::setVspace):
              (HTMLImageElementImpl::setWidth):
              (HTMLImageElementImpl::x):
              (HTMLImageElementImpl::y):
              (HTMLAreaElementImpl::tabIndex):
              (HTMLAreaElementImpl::setTabIndex):
              * khtml/html/html_imageimpl.h:
              * khtml/html/html_inlineimpl.cpp:
              (DOM::HTMLAnchorElementImpl::tabIndex):
              (DOM::HTMLAnchorElementImpl::setTabIndex):
              * khtml/html/html_inlineimpl.h:
              * khtml/html/html_listimpl.cpp:
              (DOM::HTMLOListElementImpl::setStart):
              (DOM::HTMLLIElementImpl::value):
              (DOM::HTMLLIElementImpl::setValue):
              * khtml/html/html_listimpl.h:
              (DOM::HTMLUListElementImpl::start):
              (DOM::HTMLOListElementImpl::start):
              * khtml/html/html_miscimpl.cpp:
              (DOM::HTMLCollectionImpl::calcLength):
              (DOM::HTMLCollectionImpl::length):
              (DOM::HTMLCollectionImpl::item):
              (DOM::HTMLFormCollectionImpl::calcLength):
              (DOM::HTMLFormCollectionImpl::item):
              * khtml/html/html_miscimpl.h:
              * khtml/html/html_objectimpl.cpp:
              (DOM::HTMLObjectElementImpl::tabIndex):
              (DOM::HTMLObjectElementImpl::setTabIndex):
              * khtml/html/html_objectimpl.h:
              * khtml/html/html_tableimpl.cpp:
              (DOM::HTMLTableElementImpl::insertRow):
              (DOM::HTMLTableElementImpl::deleteRow):
              (DOM::HTMLTableSectionElementImpl::insertRow):
              (DOM::HTMLTableSectionElementImpl::deleteRow):
              (DOM::HTMLTableRowElementImpl::rowIndex):
              (DOM::HTMLTableRowElementImpl::sectionRowIndex):
              (DOM::HTMLTableRowElementImpl::insertCell):
              (DOM::HTMLTableRowElementImpl::deleteCell):
              (DOM::HTMLTableCellElementImpl::cellIndex):
              (DOM::HTMLTableCellElementImpl::setColSpan):
              (DOM::HTMLTableCellElementImpl::setRowSpan):
              (DOM::HTMLTableColElementImpl::setSpan):
              * khtml/html/html_tableimpl.h:
              (DOM::HTMLTableColElementImpl::span):
              * khtml/html/htmlparser.cpp:
              (HTMLParser::handleError):
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::processToken):
              * khtml/khtml_events.cpp:
              (khtml::MouseEvent::offset):
              * khtml/khtml_events.h:
              (khtml::MouseReleaseEvent::MouseReleaseEvent):
              * khtml/khtml_part.cpp:
              (KHTMLPart::restoreURL):
              (KHTMLPart::stopLoading):
              (KHTMLPart::receivedFirstData):
              (KHTMLPart::slotFinished):
              (KHTMLPart::begin):
              (KHTMLPart::slotViewFrameSource):
              (KHTMLPart::selectFrameElementInParentIfFullySelected):
              * khtml/khtml_part.h:
              * khtml/khtmlpart_p.h:
              (KHTMLPartPrivate::KHTMLPartPrivate):
              * khtml/misc/loader.h:
              * khtml/rendering/render_block.cpp:
              (khtml::RenderBlock::positionForRenderer):
              * khtml/rendering/render_br.cpp:
              (RenderBR::caretMinOffset):
              (RenderBR::caretMaxOffset):
              (RenderBR::caretMaxRenderedOffset):
              (RenderBR::inlineBox):
              * khtml/rendering/render_br.h:
              * khtml/rendering/render_form.cpp:
              (RenderLineEdit::selectionStart):
              (RenderLineEdit::selectionEnd):
              (RenderLineEdit::setSelectionStart):
              (RenderLineEdit::setSelectionEnd):
              (RenderLineEdit::setSelectionRange):
              (RenderTextArea::calcMinMaxWidth):
              (RenderTextArea::selectionStart):
              (RenderTextArea::selectionEnd):
              (RenderTextArea::setSelectionStart):
              (RenderTextArea::setSelectionEnd):
              (RenderTextArea::setSelectionRange):
              * khtml/rendering/render_form.h:
              * khtml/rendering/render_frames.cpp:
              (RenderPartObject::updateWidget):
              * khtml/rendering/render_line.cpp:
              (khtml::InlineBox::caretMinOffset):
              (khtml::InlineBox::caretMaxOffset):
              (khtml::InlineBox::caretMaxRenderedOffset):
              * khtml/rendering/render_line.h:
              * khtml/rendering/render_list.cpp:
              (RenderListMarker::calcMinMaxWidth):
              * khtml/rendering/render_list.h:
              (khtml::RenderListItem::value):
              (khtml::RenderListItem::setValue):
              * khtml/rendering/render_object.cpp:
              (RenderObject::caretMinOffset):
              (RenderObject::caretMaxOffset):
              (RenderObject::caretMaxRenderedOffset):
              (RenderObject::previousOffset):
              (RenderObject::nextOffset):
              (RenderObject::inlineBox):
              * khtml/rendering/render_object.h:
              * khtml/rendering/render_replaced.cpp:
              (RenderReplaced::caretMinOffset):
              (RenderReplaced::caretMaxOffset):
              (RenderReplaced::caretMaxRenderedOffset):
              * khtml/rendering/render_replaced.h:
              * khtml/rendering/render_table.h:
              (khtml::RenderTableCell::cellIndex):
              (khtml::RenderTableCell::setCellIndex):
              * khtml/rendering/render_text.cpp:
              (InlineTextBox::paintMarker):
              (InlineTextBox::paintMarkedTextUnderline):
              (InlineTextBox::caretMinOffset):
              (InlineTextBox::caretMaxOffset):
              (InlineTextBox::caretMaxRenderedOffset):
              (RenderText::previousOffset):
              (RenderText::nextOffset):
              (InlineTextBox::positionForOffset):
              (RenderText::caretMinOffset):
              (RenderText::caretMaxOffset):
              (RenderText::caretMaxRenderedOffset):
              (RenderText::inlineBox):
              * khtml/rendering/render_text.h:
              * khtml/xml/dom2_eventsimpl.cpp:
              (DOM::EventImpl::timeStamp):
              (DOM::UIEventImpl::UIEventImpl):
              (DOM::UIEventImpl::initUIEvent):
              (DOM::UIEventImpl::layerX):
              (DOM::UIEventImpl::layerY):
              (DOM::UIEventImpl::pageX):
              (DOM::UIEventImpl::pageY):
              (DOM::UIEventImpl::which):
              (DOM::MouseRelatedEventImpl::MouseRelatedEventImpl):
              (DOM::MouseRelatedEventImpl::pageX):
              (DOM::MouseRelatedEventImpl::pageY):
              (DOM::MouseEventImpl::MouseEventImpl):
              (DOM::MouseEventImpl::initMouseEvent):
              (DOM::MouseEventImpl::which):
              (DOM::KeyboardEventImpl::KeyboardEventImpl):
              (DOM::KeyboardEventImpl::initKeyboardEvent):
              (DOM::KeyboardEventImpl::which):
              (DOM::WheelEventImpl::WheelEventImpl):
              * khtml/xml/dom2_eventsimpl.h:
              (DOM::UIEventImpl::detail):
              (DOM::UIEventWithKeyStateImpl::UIEventWithKeyStateImpl):
              (DOM::MouseRelatedEventImpl::screenX):
              (DOM::MouseRelatedEventImpl::screenY):
              (DOM::MouseRelatedEventImpl::clientX):
              (DOM::MouseRelatedEventImpl::clientY):
              (DOM::MouseRelatedEventImpl::layerX):
              (DOM::MouseRelatedEventImpl::layerY):
              (DOM::KeyboardEventImpl::keyLocation):
              (DOM::WheelEventImpl::wheelDelta):
              * khtml/xml/dom2_rangeimpl.cpp:
              (DOM::RangeImpl::RangeImpl):
              (DOM::RangeImpl::startOffset):
              (DOM::RangeImpl::endOffset):
              (DOM::RangeImpl::setStart):
              (DOM::RangeImpl::setEnd):
              (DOM::RangeImpl::compareBoundaryPoints):
              (DOM::RangeImpl::processContents):
              (DOM::RangeImpl::checkNodeWOffset):
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.cpp:
              (DOM::TraversalImpl::TraversalImpl):
              (DOM::TreeWalkerImpl::TreeWalkerImpl):
              * khtml/xml/dom2_traversalimpl.h:
              (DOM::TraversalImpl::whatToShow):
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::createNodeIterator):
              (DocumentImpl::createTreeWalker):
              (DocumentImpl::processHttpEquiv):
              (DocumentImpl::removeMarkers):
              (DocumentImpl::copyMarkers):
              (DocumentImpl::markersForNode):
              (DocumentImpl::shiftMarkers):
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::openTagStartToString):
              (NamedAttrMapImpl::item):
              (NamedAttrMapImpl::getAttributeItem):
              (NamedAttrMapImpl::removeAttribute):
              * khtml/xml/dom_elementimpl.h:
              (DOM::NamedAttrMapImpl::length):
              (DOM::NamedAttrMapImpl::attributeItem):
              (DOM::NamedMappedAttrMapImpl::attributeItem):
              * khtml/xml/dom_nodeimpl.cpp:
              (DOM::NodeImpl::normalize):
              (DOM::NodeImpl::nodeIndex):
              (DOM::NodeImpl::childNodeCount):
              (DOM::NodeImpl::childNode):
              (DOM::NodeImpl::maxOffset):
              (DOM::NodeImpl::maxDeepOffset):
              (DOM::NodeImpl::caretMinOffset):
              (DOM::NodeImpl::caretMaxOffset):
              (DOM::NodeImpl::caretMaxRenderedOffset):
              (DOM::NodeImpl::previousOffset):
              (DOM::NodeImpl::nextOffset):
              (DOM::ContainerNodeImpl::childNodeCount):
              (DOM::ContainerNodeImpl::childNode):
              (DOM::NodeListImpl::recursiveLength):
              (DOM::NodeListImpl::recursiveItem):
              (DOM::NodeListImpl::itemById):
              (DOM::ChildNodeListImpl::length):
              (DOM::ChildNodeListImpl::item):
              (DOM::TagNodeListImpl::length):
              (DOM::TagNodeListImpl::item):
              (DOM::NameNodeListImpl::length):
              (DOM::NameNodeListImpl::item):
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_position.cpp:
              (DOM::Position::Position):
              (DOM::Position::previous):
              (DOM::Position::next):
              (DOM::Position::renderedOffset):
              (DOM::Position::equivalentRangeCompliantPosition):
              (DOM::Position::rendersInDifferentPosition):
              (DOM::Position::trailingWhitespacePosition):
              (DOM::Position::debugPosition):
              * khtml/xml/dom_position.h:
              (DOM::Position::offset):
              * khtml/xml/dom_textimpl.cpp:
              (CharacterDataImpl::length):
              (CharacterDataImpl::substringData):
              (CharacterDataImpl::insertData):
              (CharacterDataImpl::deleteData):
              (CharacterDataImpl::replaceData):
              (CharacterDataImpl::checkCharDataOperation):
              (CharacterDataImpl::maxOffset):
              (CharacterDataImpl::caretMinOffset):
              (CharacterDataImpl::caretMaxOffset):
              (CharacterDataImpl::caretMaxRenderedOffset):
              (TextImpl::splitText):
              * khtml/xml/dom_textimpl.h:
              * kwq/DOM-CSS.mm:
              (-[DOMStyleSheetList length]):
              (-[DOMStyleSheetList item:]):
              (-[DOMCSSStyleSheet insertRule::]):
              (-[DOMCSSStyleSheet deleteRule:]):
              (-[DOMMediaList length]):
              (-[DOMMediaList item:]):
              (-[DOMCSSRuleList length]):
              (-[DOMCSSRuleList item:]):
              (-[DOMCSSMediaRule insertRule::]):
              (-[DOMCSSMediaRule deleteRule:]):
              (-[DOMCSSStyleDeclaration length]):
              (-[DOMCSSStyleDeclaration item:]):
              (-[DOMCSSValueList length]):
              (-[DOMCSSValueList item:]):
              * kwq/DOM.mm:
              (-[DOMNamedNodeMap item:]):
              (-[DOMNamedNodeMap length]):
              (-[DOMNodeList item:]):
              (-[DOMNodeList length]):
              (-[DOMCharacterData length]):
              (-[DOMCharacterData substringData::]):
              (-[DOMCharacterData insertData::]):
              (-[DOMCharacterData deleteData::]):
              (-[DOMCharacterData replaceData:::]):
              (-[DOMText splitText:]):
              (-[DOMRange description]):
              (-[DOMRange startOffset]):
              (-[DOMRange endOffset]):
              (-[DOMRange setStart::]):
              (-[DOMRange setEnd::]):
              (-[DOMNodeIterator whatToShow]):
              (-[DOMTreeWalker whatToShow]):
              (-[DOMDocument createNodeIterator::::]):
              (-[DOMDocument createTreeWalker::::]):
              * kwq/DOMCSS.h:
              * kwq/DOMCore.h:
              * kwq/DOMEvents.h:
              (-[DOMMouseEvent initMouseEvent:::::::::::::::]):
              * kwq/DOMEvents.mm:
              (-[DOMMouseEvent screenX]):
              (-[DOMMouseEvent screenY]):
              (-[DOMMouseEvent clientX]):
              (-[DOMMouseEvent clientY]):
              (-[DOMMouseEvent initMouseEvent:::::::::::::::]):
              (-[DOMUIEvent detail]):
              (-[DOMUIEvent initUIEvent:::::]):
              * kwq/DOMExtensions.h:
              * kwq/DOMHTML.h:
              * kwq/DOMHTML.mm:
              (-[DOMHTMLCollection length]):
              (-[DOMHTMLCollection item:]):
              (-[DOMHTMLOptionsCollection length]):
              (-[DOMHTMLOptionsCollection setLength:]):
              (-[DOMHTMLOptionsCollection item:]):
              (-[DOMHTMLFormElement length]):
              (-[DOMHTMLSelectElement selectedIndex]):
              (-[DOMHTMLSelectElement setSelectedIndex:]):
              (-[DOMHTMLSelectElement length]):
              (-[DOMHTMLSelectElement setLength:]):
              (-[DOMHTMLSelectElement size]):
              (-[DOMHTMLSelectElement setSize:]):
              (-[DOMHTMLSelectElement tabIndex]):
              (-[DOMHTMLSelectElement setTabIndex:]):
              (-[DOMHTMLSelectElement remove:]):
              (-[DOMHTMLOptionElement index]):
              (-[DOMHTMLInputElement maxLength]):
              (-[DOMHTMLInputElement setMaxLength:]):
              (-[DOMHTMLInputElement size]):
              (-[DOMHTMLInputElement setSize:]):
              (-[DOMHTMLInputElement tabIndex]):
              (-[DOMHTMLInputElement setTabIndex:]):
              (-[DOMHTMLTextAreaElement cols]):
              (-[DOMHTMLTextAreaElement setCols:]):
              (-[DOMHTMLTextAreaElement rows]):
              (-[DOMHTMLTextAreaElement setRows:]):
              (-[DOMHTMLTextAreaElement tabIndex]):
              (-[DOMHTMLTextAreaElement setTabIndex:]):
              (-[DOMHTMLButtonElement tabIndex]):
              (-[DOMHTMLButtonElement setTabIndex:]):
              (-[DOMHTMLOListElement start]):
              (-[DOMHTMLOListElement setStart:]):
              (-[DOMHTMLLIElement value]):
              (-[DOMHTMLLIElement setValue:]):
              (-[DOMHTMLPreElement width]):
              (-[DOMHTMLPreElement setWidth:]):
              (-[DOMHTMLAnchorElement tabIndex]):
              (-[DOMHTMLAnchorElement setTabIndex:]):
              (-[DOMHTMLImageElement height]):
              (-[DOMHTMLImageElement setHeight:]):
              (-[DOMHTMLImageElement hspace]):
              (-[DOMHTMLImageElement setHspace:]):
              (-[DOMHTMLImageElement vspace]):
              (-[DOMHTMLImageElement setVspace:]):
              (-[DOMHTMLImageElement width]):
              (-[DOMHTMLImageElement setWidth:]):
              (-[DOMHTMLObjectElement hspace]):
              (-[DOMHTMLObjectElement setHspace:]):
              (-[DOMHTMLObjectElement tabIndex]):
              (-[DOMHTMLObjectElement setTabIndex:]):
              (-[DOMHTMLObjectElement vspace]):
              (-[DOMHTMLObjectElement setVspace:]):
              (-[DOMHTMLAppletElement hspace]):
              (-[DOMHTMLAppletElement setHspace:]):
              (-[DOMHTMLAppletElement vspace]):
              (-[DOMHTMLAppletElement setVspace:]):
              (-[DOMHTMLAreaElement tabIndex]):
              (-[DOMHTMLAreaElement setTabIndex:]):
              (-[DOMHTMLTableSectionElement insertRow:]):
              (-[DOMHTMLTableSectionElement deleteRow:]):
              (-[DOMHTMLTableElement insertRow:]):
              (-[DOMHTMLTableElement deleteRow:]):
              (-[DOMHTMLTableColElement span]):
              (-[DOMHTMLTableColElement setSpan:]):
              (-[DOMHTMLTableRowElement rowIndex]):
              (-[DOMHTMLTableRowElement sectionRowIndex]):
              (-[DOMHTMLTableRowElement insertCell:]):
              (-[DOMHTMLTableRowElement deleteCell:]):
              (-[DOMHTMLTableCellElement cellIndex]):
              (-[DOMHTMLTableCellElement colSpan]):
              (-[DOMHTMLTableCellElement setColSpan:]):
              (-[DOMHTMLTableCellElement rowSpan]):
              (-[DOMHTMLTableCellElement setRowSpan:]):
              (-[DOMHTMLEmbedElement height]):
              (-[DOMHTMLEmbedElement setHeight:]):
              (-[DOMHTMLEmbedElement width]):
              (-[DOMHTMLEmbedElement setWidth:]):
              * kwq/DOMRange.h:
              * kwq/DOMStylesheets.h:
              * kwq/DOMTraversal.h:
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::advanceToNextMisspelling):
              (KWQKHTMLPart::openURLFromPageCache):
              (KWQKHTMLPart::markMisspellings):
              * kwq/KWQString.h:
              * kwq/KWQString.mm:
              (QString::toShort):
              (QString::toUShort):
              (QString::toInt):
              (QString::toUInt):
              * kwq/KWQTextEdit.h:
              * kwq/KWQTextEdit.mm:
              (QTextEdit::selectionStart):
              (QTextEdit::selectionEnd):
              (QTextEdit::setSelectionStart):
              (QTextEdit::setSelectionEnd):
              (QTextEdit::setSelectionRange):
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge convertToNSRange:DOM::]):
      
      WebKit:
      
              Change by Darin, reviewed by me and Maciej.
      
              Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=4547
              use int instead of long for 32-bit (to prepare for LP64 compiling)
      
              * Plugins.subproj/npapi.m: changed types to match those defined in npapi.h
              (NPN_MemAlloc):
              (NPN_MemFlush):
              (NPN_PostURLNotify):
              (NPN_PostURL):
              (NPN_Write):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      704e8bb4
  31. 18 May, 2005 1 commit
    • darin's avatar
      Reviewed by Maciej. · cfa71ee8
      darin authored
              No new layout tests required.
      
              - remove all dependencies on exceptions and RTTI (but don't turn them off yet, that will be in a later patch)
      
              * WebCore.pbproj/project.pbxproj: Set a new KHTML_NO_CPLUSPLUS_DOM define.
              Removed all C++ DOM wrapper files that we don't need to compile any more.
      
              * khtml/dom/css_stylesheet.h: Added more KHTML_NO_CPLUSPLUS_DOM checks so we don't include any
              headers when including this file.
      
              * khtml/dom/dom2_events.h: Fixed up KHTML_NO_CPLUSPLUS_DOM checks so that everything but EventListener
              is turned off when that's on. Also moved the public so that the constants from KeyboardEvent are public.
              * khtml/dom/dom2_events.cpp: Put everything except for EventListener inside KHTML_NO_CPLUSPLUS_DOM.
      
              * khtml/dom/dom2_range.h: Added KHTML_NO_CPLUSPLUS_DOM checks so that only the constants are defined,
              no classes.
      
              * khtml/dom/dom2_traversal.cpp: Put everything except for NodeFilterCondition inside KHTML_NO_CPLUSPLUS_DOM.
      
              * khtml/dom/dom_node.h: Added more KHTML_NO_CPLUSPLUS_DOM checks so we don't include any
              headers when including this file.
      
              * khtml/ecma/kjs_binding.cpp:
              (KJS::DOMObject::get): Removed exception-handling code. Now we can eliminate tryGet altogether.
              (KJS::DOMObject::put): Ditto.
              (KJS::DOMFunction::get): Ditto.
              (KJS::DOMFunction::call): Ditto.
      
              * khtml/editing/visible_text.h: Added an include of <qstring.h>.
      
              * khtml/misc/loader.h: Added isKHTMLLoader.
              * khtml/misc/loader.cpp: (Loader::isKHTMLLoader): Added. Poor-man's replacement for dynamic_cast.
      
              * khtml/rendering/render_form.h:
              * khtml/rendering/render_form.cpp: (RenderFormElement::slotTextChanged): Added. Hack to make KWQSlot work
              for this function.
      
              * khtml/xml/dom2_rangeimpl.h: Added a forward declaration of class DOMString, needed now that the C++
              DOM wrappers aren't defining it.
      
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::defaultEventHandler): Changed to call handleEventImpl so we don't have to make the
              C++ DOM wrapper for the event.
              * khtml/xml/dom_nodeimpl.cpp:
              (NodeImpl::handleLocalEvents): Ditto.
              (ContainerNodeImpl::insertBefore): Used SharedPtr<NodeImpl> rather than Node to protect the child node.
              (ContainerNodeImpl::replaceChild): Ditto.
              (ContainerNodeImpl::appendChild): Ditto.
              (ContainerNodeImpl::addChild): Ditto.
      
              * kwq/DOM.mm:
              (ObjCNodeFilterCondition::acceptNode): Update to add a KHTML_NO_CPLUSPLUS_DOM check since FilterCondition
              has a different API depending on the state.
              (-[DOMDocument createNodeIterator::::]): Rewrote to use NodeFilterImpl instead of NodeFilter.
              (-[DOMDocument createTreeWalker::::]): Ditto.
      
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject role]): Use identifier instead of casting to Node and using elementId.
              (-[KWQAccObject title]): Ditto.
              (-[KWQAccObject accessibilityIsIgnored]): Ditto.
              (-[KWQAccObject rendererForView:]): Ditto.
      
              * kwq/KWQFrame.mm: (QFrame::setFrameStyle): Use isKHTMLView instead of dynamic_cast.
      
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::currentForm): Use focusNode instead of activeNode.
              (KWQKHTMLPart::nextKeyViewInFrame): Use isWidget instead of dynamic_cast.
              (KWQKHTMLPart::currentEventIsMouseDownInWidget): Use KHTMLView's nodeUnderMouse instead of our public one
              that uses a DOM C++ wrapper.
              (KWQKHTMLPart::partForWidget): Use isKHTMLView instead of dynamic_cast.
              (KWQKHTMLPart::passSubframeEventToSubframe): Use isWidget instead of dynamic_cast.
      
              * kwq/KWQObject.h: Made isXXX functions all public since we use them in a few more places now.
              Also added isKHTMLLoader.
              * kwq/KWQObject.mm: (QObject::isKHTMLLoader): Added. Returns false by default.
      
              * kwq/KWQSlot.mm: Removed all uses of dynamic_cast.
      
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge stringForRange:]): Used plainText instead of text.
              (-[WebCoreBridge copyRenderNode:copier:]): Used isWidget instead of dynamic_cast.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9178 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cfa71ee8
  32. 04 May, 2004 1 commit
    • kocienda's avatar
      WebCore: · f6ea03ef
      kocienda authored
              Reviewed by Hyatt
      
              Implemented DOM traversal objects, NodeIterator and TreeWalker.
      
              * WebCore-combined.exp: Regenerate
              * WebCore.exp: Export DOMNodeFilter protocol
              * khtml/dom/dom2_traversal.cpp: Completed half-done implementation pulled from KDE tree.
              * khtml/dom/dom2_traversal.h: Ditto.
              * khtml/dom/dom_doc.cpp:
              (DOM::Document::createNodeIterator): Ditto.
              (DOM::Document::createTreeWalker): Ditto.
              * khtml/dom/dom_doc.h: Ditto.
              * khtml/ecma/kjs_dom.cpp:
              (DOMDocumentProtoFunc::tryCall): Fix cases that create traversal objects.
              * khtml/ecma/kjs_traversal.cpp:
              (DOMNodeIterator::getValueProperty): Add referenceNode and pointerBeforeReferenceNode
              properties to node interator.
              (DOMTreeWalkerProtoFunc::tryCall): Fix typo where DOMTreeWalker::PreviousNode case called previousSibling function.
              (JSNodeFilterCondition::JSNodeFilterCondition): Implement JS glue class for node filter conditions.
              (JSNodeFilterCondition::acceptNode): Ditto.
              * khtml/ecma/kjs_traversal.h:
              (KJS::DOMNodeIterator::): Add ReferenceNode and PointerBeforeReferenceNode constants.
              * khtml/ecma/kjs_traversal.lut.h:
              (KJS::): Regenerated
              * khtml/xml/dom2_traversalimpl.cpp: Completed half-done implementation pulled from KDE tree.
              * khtml/xml/dom2_traversalimpl.h: Ditto.
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::createNodeIterator): Ditto.
              (DocumentImpl::createTreeWalker): Ditto.
              * khtml/xml/dom_docimpl.h: Ditto.
              * khtml/xml/dom_nodeimpl.cpp:
              (NodeImpl::checkAddChild): Patched due to change in isAncestor function. This was the one pre-existing caller.
              (NodeImpl::isAncestor): Changed so that it does not return true for itself: node->isAncestor(node) now returns false.
              * khtml/xml/dom_nodeimpl.h: Made isAncestor const.
              * kwq/DOM.mm: Implemented obj-c glue for traversal objects.
              * kwq/DOMInternal.h: Ditto.
              * kwq/DOMTraversal.h: Ditto.
      
      WebKit:
      
              Reviewed by Hyatt
      
              * DOM.subproj/DOMTraversal.h: File coppied from WebCore
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6ea03ef
  33. 15 Apr, 2002 1 commit
    • darin's avatar
      Merged KDE 3.0 final code in and: · b70665a4
      darin authored
      JavaScriptCore:
      
      	* kjs/internal.cpp:
      	* kjs/property_map.cpp:
      	* kjs/ustring.h:
      	Removed some unneeded <config.h> includes so we are more similar
      	to the real KDE sources.
      
      	Merged changes from KDE 3.0 final and did some build fixes.
      
      	* JavaScriptCore.pbproj/project.pbxproj: Added nodes2string.cpp.
      
      	* kjs/grammar.*: Regenerated.
      	* kjs/*.lut.h: Regenerated.
      
      WebCore:
      
      	* src/kdelibs/khtml/rendering/render_text.cpp: (TextSlave::printDecoration):
      	Remove some minor gratuitous diffs vs. KDE.
      
      	* src/kdelibs/khtml/rendering/render_text.cpp: (TextSlave::printDecoration):
              Richard updated to reflect changes in KDE.
      
      	* src/kdelibs/khtml/css/css_valueimpl.cpp:
      	(FontFamilyValueImpl::FontFamilyValueImpl): Fix comment.
      	* src/kdelibs/khtml/css/cssstyleselector.cpp: Remove some gratuitous diffs vs. KDE.
      	* src/kdelibs/khtml/html/html_objectimpl.cpp:
      	(HTMLEmbedElementImpl::parseAttribute): Remove unneeded copy from KWQ's early days.
      	* src/kdelibs/khtml/html/html_tableimpl.cpp:
      	(HTMLTableElementImpl::parseAttribute),
      	(HTMLTablePartElementImpl::parseAttribute): Remove unneeded copy from KWQ's early days.
      	* src/kdelibs/khtml/html/htmltokenizer.cpp: (HTMLTokenizer::processToken): Redo the
      	APPLE_CHANGES ifdef here.
      	* src/kdelibs/khtml/khtmlpart_p.h: Update to latest kde.
      	* src/kdelibs/khtml/khtmlview.cpp: (KHTMLView::KHTMLView): Add ifdef APPLE_CHANGES.
      	(KHTMLView::~KHTMLView): Add ifdef APPLE_CHANGES.
      	(KHTMLView::print): Remove code left in here during merge process.
      	* src/kwq/KWQKHTMLPart.mm: Remove unused setFontSizes(), fontSizes(), and
      	resetFontSizes(). After the merge is landed, remove more.
      	* src/libwebcore.exp: Export updateStyleSelector() for WebKit.
      
      	Fix text to it displays at the right font size.
      
      	* src/kdelibs/khtml/css/cssstyleselector.cpp:
      	(CSSStyleSelector::computeFontSizes): Apply the same SCREEN_RESOLUTION hack here
      	that we do elsewhere.
      	* src/kdelibs/khtml/rendering/font.cpp: (Font::width): Use kMin instead of max (oops).
      	(Font::update): Turn off font database chicanery.
      	* src/kwq/KWQKHTMLPart.mm: (KHTMLPart::zoomFactor): Use zoom factor 100, not 1.
      
      	More fixes so text displays (still at wrong font size).
      
      	* src/kdelibs/khtml/rendering/font.cpp: (max): New helper.
      	(Font::drawText): Simplified implementation for now.
      	(Font::width): Simplified implementation for now.
      	* src/kwq/KWQColorGroup.mm: Reinstated QCOLOR_GROUP_SIZE.
      
      	* src/kwq/qt/qfontmetrics.h: Removed charWidth and changed _width to take QChar *.
      	* src/kwq/KWQFontMetrics.mm: Removed charWidth and changed _width to take QChar *.
      
      	Merged changes from KDE 3.0 final. Other fixes to get things compiling.
      
      	* src/kdelibs/khtml/css/css_valueimpl.cpp:
      	(CSSStyleDeclarationImpl::setProperty): Fix unused variable.
      	* src/kdelibs/khtml/khtmlview.cpp: (KHTMLView::contentsContextMenuEvent):
      	Fix unused variable.
      	* src/kdelibs/khtml/rendering/font.cpp: (Font::drawText), (Font::width),
      	(Font::update): Disable special "nsbp" logic for now. We can reenable it
      	if necessary.
      	* src/kdelibs/khtml/rendering/render_replaced.cpp: Fix mismerge.
      	* src/kdelibs/khtml/rendering/render_text.cpp: (RenderText::nodeAtPoint):
      	Fix unused variable.
      	* src/kwq/KWQApplication.mm: (QDesktopWidget::width), (QApplication::desktop):
      	Fix mismerge.
      	* src/kwq/KWQColorGroup.mm: Fix QCOLOR_GROUP_SIZE.
      	* src/kwq/KWQFontMetrics.mm: (QFontMetrics::lineSpacing): New.
      	(QFontMetrics::width): Remove unused optimization.
      	* src/kwq/qt/qfontmetrics.h: Add lineSpacing().
      
              Merged changes from previous merge pass.
      
              2002-03-25  Darin Adler  <darin@apple.com>
      
              Last bit of making stuff compile and link. Probably will drop the merge now
              and take it up again when it's time to merge in KDE 3.0 final.
      
      	* src/kwq/KWQEvent.mm: (QFocusEvent::reason): New.
      	* src/kwq/KWQPainter.mm: (QPainter::drawText): New overload.
      
              2002-03-25  Darin Adler  <darin@apple.com>
      
      	* src/kdelibs/khtml/rendering/font.cpp: (Font::width): Make it call _width so we
              don't lose the optimization.
      
      	* src/kwq/KWQApplication.mm: (QDesktopWidget::screenNumber): New.
      	(QDesktopWidget::screenGeometry): New.
              (QApplication::style): New.
      	* src/kwq/KWQColorGroup.mm: (QColorGroup::highlight): New.
      	(QColorGroup::highlightedText): New.
      	* src/kwq/KWQFont.mm: (QFont::setPixelSize): New.
      	* src/kwq/KWQFontMetrics.mm: (QFontMetrics::charWidth): New.
      	* src/kwq/KWQKGlobal.mm: (KGlobal::locale): Implement.
              (KLocale::KLocale): New.
      	(KLocale::languageList): New.
      	* src/kwq/KWQKHTMLPart.mm: (KHTMLPart::sheetUsed): New.
      	(KHTMLPart::setSheetUsed): New.
              (KHTMLPart::zoomFactor): New.
      	* src/kwq/KWQKHTMLSettings.mm: (KHTMLSettings::mediumFontSize): New.
      	* src/kwq/KWQScrollView.mm: (QScrollView::childX): New.
              (QScrollView::childY): New.
      
      	* src/kwq/qt/qapplication.h: style() returns a QStyle &.
      	* src/kwq/qt/qpalette.h: Add Highlight and HighlightedText.
      
              2002-03-24  Darin Adler  <darin@apple.com>
      
              More compiling. Still won't link.
      
      	* src/kdelibs/khtml/khtmlview.cpp: Disable printing and drag and drop code.
      	* src/kdelibs/khtml/rendering/render_text.cpp: (TextSlave::printDecoration):
              Temporarily turn off our smarter underlining since it relies on access to the
              string, and TextSlave doesn't have that any more.
      	(RenderText::nodeAtPoint): Get rid of a workaround we don't need any more for
              a bug that was fixed by KDE folks.
      	* src/kwq/KWQApplication.mm: (QApplication::desktop): Make the desktop be a
              QDesktopWidget.
      	* src/kwq/qt/qnamespace.h: Add MetaButton.
      	* src/kwq/qt/qtooltip.h: Add a maybeTip virtual function member and a virtual
              destructor.
      
              2002-03-24  Darin Adler  <darin@apple.com>
      
              Some fixes to get more stuff to compile.
      
      	* src/kdelibs/khtml/ecma/kjs_dom.cpp: (DOMDocument::getValueProperty):
              Don't try to look at the private m_bComplete to display "complete". Just do
              "loading" and "loaded".
              * src/kdelibs/khtml/khtmlpart_p.h: #ifdef this all out for APPLE_CHANGES.
      	* src/kdelibs/khtml/rendering/font.cpp: (Font::update): Add an explicit cast to
              int to avoid float -> int warning.
      	* src/kdelibs/khtml/rendering/render_table.cpp: (RenderTable::calcColMinMax):
              Add an explicit cast to int to avoid uint compared with int warning.
      	* src/kdelibs/khtml/xml/dom_docimpl.cpp: (DocumentImpl::recalcStyleSelector):
              Use sheetUsed() and setSheetUsed() functions on KHTMLPart intead of getting
              at private fields the way the real KDE code does.
      
              * src/kwq/KWQKHTMLPart.h: Declare zoomFactor(), sheetUsed(), and setSheetUsed().
      	* src/kwq/KWQStyle.h: Add PM_DefaultFramWidth as another metric.
      	* src/kwq/kdecore/klocale.h: Add languageList().
      	* src/kwq/khtml/khtml_settings.h: Add mediumFontSize().
      	* src/kwq/qt/qapplication.h: Add style() and QDesktopWidget.
      	* src/kwq/qt/qevent.h: Add reason().
      	* src/kwq/qt/qfont.h: Add setPixelSize(int).
      	* src/kwq/qt/qfontmetrics.h: Add charWidth() and _charWidth() functions.
      	* src/kwq/qt/qpainter.h: Add drawText() overload with position parameter.
      	* src/kwq/qt/qpalette.h: Add highlight() and highlightedText().
      	* src/kwq/qt/qscrollview.h: Add childX() and childY().
      
      	* src/kwq/KWQApplication.mm: Change KWQDesktopWidget to QDesktopWidget.
      
      WebKit:
      
      	* WebView.subproj/IFPreferences.h:
      	* WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Remove the old
      	WebKitFontSizes preference.
      	(-[IFPreferences mediumFontSize]), (-[IFPreferences setMediumFontSize:]): New.
      
      	* WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]): Call
      	updateStyleSelector() instead of recalcStyle().
      
              Merged changes from previous merge branch.
      
              2002-03-25  Darin Adler  <darin@apple.com>
      
      	* WebView.subproj/IFPreferences.mm: (+[IFPreferences load]):
              Add WebKitMediumFontSizePreferenceKey.
      
      WebBrowser:
      
      	* Preferences.subproj/TextPreferences.m: (-[TextPreferences defaultFontSize]),
      	(-[TextPreferences setDefaultFontSize:]): Just get and set the new mediumFontSize
      	preference rather than doing the whole fontSizes preference dance.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b70665a4
  34. 21 Mar, 2002 1 commit
  35. 24 Aug, 2001 1 commit