source: webkit/trunk/JavaScriptCore/kjs/DateMath.cpp@ 25754

Last change on this file since 25754 was 25754, checked in by ddkilzer, 18 years ago

JavaScriptCore:

Reviewed by Adam.

  • COPYING.LIB:
  • bindings/testbindings.cpp:
  • kjs/AllInOneFile.cpp:
  • kjs/DateMath.cpp:
  • kjs/PropertyNameArray.cpp:
  • kjs/PropertyNameArray.h:
  • kjs/config.h:

WebCore:

Reviewed by Adam.

  • 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.

  • 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.

  • 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.

  • Drosera/config.h:

LayoutTests:

Reviewed by Adam.

  • 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:
File size: 14.0 KB
Line 
1/*
2 * Copyright (C) 1999-2000 Harri Porten ([email protected])
3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
4 *
5 * The Original Code is Mozilla Communicator client code, released
6 * March 31, 1998.
7 *
8 * The Initial Developer of the Original Code is
9 * Netscape Communications Corporation.
10 * Portions created by the Initial Developer are Copyright (C) 1998
11 * the Initial Developer. All Rights Reserved.
12 *
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; either
16 * version 2.1 of the License, or (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library; if not, write to the Free Software
25 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26 *
27 * Alternatively, the contents of this file may be used under the terms
28 * of either the Mozilla Public License Version 1.1, found at
29 * http://www.mozilla.org/MPL/ (the "MPL") or the GNU General Public
30 * License Version 2.0, found at http://www.fsf.org/copyleft/gpl.html
31 * (the "GPL"), in which case the provisions of the MPL or the GPL are
32 * applicable instead of those above. If you wish to allow use of your
33 * version of this file only under the terms of one of those two
34 * licenses (the MPL or the GPL) and not to allow others to use your
35 * version of this file under the LGPL, indicate your decision by
36 * deletingthe provisions above and replace them with the notice and
37 * other provisions required by the MPL or the GPL, as the case may be.
38 * If you do not delete the provisions above, a recipient may use your
39 * version of this file under any of the LGPL, the MPL or the GPL.
40 */
41
42#include "config.h"
43#include "DateMath.h"
44
45#include <math.h>
46#include <stdint.h>
47#include <value.h>
48
49#include <wtf/Assertions.h>
50
51#if PLATFORM(DARWIN)
52#include <notify.h>
53#endif
54
55#if HAVE(SYS_TIME_H)
56#include <sys/time.h>
57#endif
58
59#if HAVE(SYS_TIMEB_H)
60#include <sys/timeb.h>
61#endif
62
63namespace KJS {
64
65/* Constants */
66
67static const double minutesPerDay = 24.0 * 60.0;
68static const double secondsPerDay = 24.0 * 60.0 * 60.0;
69static const double secondsPerYear = 24.0 * 60.0 * 60.0 * 365.0;
70
71static const double usecPerSec = 1000000.0;
72
73static const double maxUnixTime = 2145859200.0; // 12/31/2037
74
75// Day of year for the first day of each month, where index 0 is January, and day 0 is January 1.
76// First for non-leap years, then for leap years.
77static const int firstDayOfMonth[2][12] = {
78 {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334},
79 {0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335}
80};
81
82static inline bool isLeapYear(int year)
83{
84 if (year % 4 != 0)
85 return false;
86 if (year % 400 == 0)
87 return true;
88 if (year % 100 == 0)
89 return false;
90 return true;
91}
92
93static inline int daysInYear(int year)
94{
95 return 365 + isLeapYear(year);
96}
97
98static inline double daysFrom1970ToYear(int year)
99{
100 return 365.0 * (year - 1970)
101 + floor((year - 1969) / 4.0)
102 - floor((year - 1901) / 100.0)
103 + floor((year - 1601) / 400.0);
104}
105
106static inline double msFrom1970ToYear(int year)
107{
108 return msPerDay * daysFrom1970ToYear(year);
109}
110
111static inline double msToDays(double ms)
112{
113 return floor(ms / msPerDay);
114}
115
116static inline int msToYear(double ms)
117{
118 int y = static_cast<int>(floor(ms / (msPerDay * 365.2425)) + 1970);
119 double t2 = msFrom1970ToYear(y);
120 if (t2 > ms) {
121 y--;
122 } else {
123 if (t2 + msPerDay * daysInYear(y) <= ms)
124 y++;
125 }
126 return y;
127}
128
129static inline bool isInLeapYear(double ms)
130{
131 return isLeapYear(msToYear(ms));
132}
133
134static inline int dayInYear(double ms, int year)
135{
136 return static_cast<int>(msToDays(ms) - daysFrom1970ToYear(year));
137}
138
139static inline double msToMilliseconds(double ms)
140{
141 double result = fmod(ms, msPerDay);
142 if (result < 0)
143 result += msPerDay;
144 return result;
145}
146
147// 0: Sunday, 1: Monday, etc.
148static inline int msToWeekDay(double ms)
149{
150 int wd = (static_cast<int>(msToDays(ms)) + 4) % 7;
151 if (wd < 0)
152 wd += 7;
153 return wd;
154}
155
156static inline int msToSeconds(double ms)
157{
158 double result = fmod(floor(ms / msPerSecond), secondsPerMinute);
159 if (result < 0)
160 result += secondsPerMinute;
161 return static_cast<int>(result);
162}
163
164static inline int msToMinutes(double ms)
165{
166 double result = fmod(floor(ms / msPerMinute), minutesPerHour);
167 if (result < 0)
168 result += minutesPerHour;
169 return static_cast<int>(result);
170}
171
172static inline int msToHours(double ms)
173{
174 double result = fmod(floor(ms/msPerHour), hoursPerDay);
175 if (result < 0)
176 result += hoursPerDay;
177 return static_cast<int>(result);
178}
179
180static inline int msToMonth(double ms)
181{
182 int step;
183 int year = msToYear(ms);
184 int d = dayInYear(ms, year);
185
186 if (d < (step = 31))
187 return 0;
188 step += (isInLeapYear(ms) ? 29 : 28);
189 if (d < step)
190 return 1;
191 if (d < (step += 31))
192 return 2;
193 if (d < (step += 30))
194 return 3;
195 if (d < (step += 31))
196 return 4;
197 if (d < (step += 30))
198 return 5;
199 if (d < (step += 31))
200 return 6;
201 if (d < (step += 31))
202 return 7;
203 if (d < (step += 30))
204 return 8;
205 if (d < (step += 31))
206 return 9;
207 if (d < (step += 30))
208 return 10;
209 return 11;
210}
211
212static inline int msToDayInMonth(double ms)
213{
214 int step, next;
215 int year = msToYear(ms);
216 int d = dayInYear(ms, year);
217
218 if (d <= (next = 30))
219 return d + 1;
220 step = next;
221 next += (isInLeapYear(ms) ? 29 : 28);
222 if (d <= next)
223 return d - step;
224 step = next;
225 if (d <= (next += 31))
226 return d - step;
227 step = next;
228 if (d <= (next += 30))
229 return d - step;
230 step = next;
231 if (d <= (next += 31))
232 return d - step;
233 step = next;
234 if (d <= (next += 30))
235 return d - step;
236 step = next;
237 if (d <= (next += 31))
238 return d - step;
239 step = next;
240 if (d <= (next += 31))
241 return d - step;
242 step = next;
243 if (d <= (next += 30))
244 return d - step;
245 step = next;
246 if (d <= (next += 31))
247 return d - step;
248 step = next;
249 if (d <= (next += 30))
250 return d - step;
251 step = next;
252 return d - step;
253}
254
255static inline int monthToDayInYear(int month, bool isLeapYear)
256{
257 return firstDayOfMonth[isLeapYear][month];
258}
259
260static inline double timeToMS(double hour, double min, double sec, double ms)
261{
262 return (((hour * minutesPerHour + min) * secondsPerMinute + sec) * msPerSecond + ms);
263}
264
265static int dateToDayInYear(int year, int month, int day)
266{
267 year += month / 12;
268
269 month %= 12;
270 if (month < 0) {
271 month += 12;
272 --year;
273 }
274
275 int yearday = static_cast<int>(floor(msFrom1970ToYear(year) / msPerDay));
276 int monthday = monthToDayInYear(month, isLeapYear(year));
277
278 return yearday + monthday + day - 1;
279}
280
281double getCurrentUTCTime()
282{
283#if PLATFORM(WIN_OS)
284#if COMPILER(BORLAND)
285 struct timeb timebuffer;
286 ftime(&timebuffer);
287#else
288 struct _timeb timebuffer;
289 _ftime(&timebuffer);
290#endif
291 double utc = timebuffer.time * msPerSecond + timebuffer.millitm;
292#else
293 struct timeval tv;
294 gettimeofday(&tv, 0);
295 double utc = floor(tv.tv_sec * msPerSecond + tv.tv_usec / 1000);
296#endif
297 return utc;
298}
299
300// There is a hard limit at 2038 that we currently do not have a workaround
301// for (rdar://problem/5052975).
302static inline int maximumYearForDST()
303{
304 return 2037;
305}
306
307// It is ok if the cached year is not the current year (e.g. Dec 31st)
308// so long as the rules for DST did not change between the two years, if it does
309// the app would need to be restarted.
310static int mimimumYearForDST()
311{
312 // Because of the 2038 issue (see maximumYearForDST) if the current year is
313 // greater than the max year minus 27 (2010), we want to use the max year
314 // minus 27 instead, to ensure there is a range of 28 years that all years
315 // can map to.
316 static int minYear = std::min(msToYear(getCurrentUTCTime()), maximumYearForDST()-27) ;
317 return minYear;
318}
319
320/*
321 * Find an equivalent year for the one given, where equivalence is deterined by
322 * the two years having the same leapness and the first day of the year, falling
323 * on the same day of the week.
324 *
325 * This function returns a year between this current year and 2037, however this
326 * function will potentially return incorrect results if the current year is after
327 * 2010, (rdar://problem/5052975), if the year passed in is before 1900 or after
328 * 2100, (rdar://problem/5055038).
329 */
330int equivalentYearForDST(int year)
331{
332 static int minYear = mimimumYearForDST();
333 static int maxYear = maximumYearForDST();
334
335 int difference;
336 if (year > maxYear)
337 difference = minYear - year;
338 else if (year < minYear)
339 difference = maxYear - year;
340 else
341 return year;
342
343 int quotient = difference / 28;
344 int product = (quotient) * 28;
345
346 year += product;
347 ASSERT((year >= minYear && year <= maxYear) || (product - year == static_cast<int>(NaN)));
348 return year;
349}
350
351/*
352 * Get the difference in milliseconds between this time zone and UTC (GMT)
353 * NOT including DST.
354 */
355double getUTCOffset()
356{
357#if PLATFORM(DARWIN)
358 // Register for a notification whenever the time zone changes.
359 static bool triedToRegister = false;
360 static bool haveNotificationToken = false;
361 static int notificationToken;
362 if (!triedToRegister) {
363 triedToRegister = true;
364 uint32_t status = notify_register_check("com.apple.system.timezone", &notificationToken);
365 if (status == NOTIFY_STATUS_OK)
366 haveNotificationToken = true;
367 }
368
369 // If we can verify that we have not received a time zone notification,
370 // then use the cached offset from the last time this function was called.
371 static bool haveCachedOffset = false;
372 static double cachedOffset;
373 if (haveNotificationToken && haveCachedOffset) {
374 int notified;
375 uint32_t status = notify_check(notificationToken, &notified);
376 if (status == NOTIFY_STATUS_OK && !notified)
377 return cachedOffset;
378 }
379#endif
380
381 tm localt;
382
383 memset(&localt, 0, sizeof(localt));
384
385 // get the difference between this time zone and UTC on Jan 01, 2000 12:00:00 AM
386 localt.tm_mday = 1;
387 localt.tm_year = 100;
388 double utcOffset = 946684800.0 - mktime(&localt);
389
390 utcOffset *= msPerSecond;
391
392#if PLATFORM(DARWIN)
393 haveCachedOffset = true;
394 cachedOffset = utcOffset;
395#endif
396
397 return utcOffset;
398}
399
400/*
401 * Get the DST offset for the time passed in. Takes
402 * seconds (not milliseconds) and cannot handle dates before 1970
403 * on some OS'
404 */
405static double getDSTOffsetSimple(double localTimeSeconds)
406{
407 if (localTimeSeconds > maxUnixTime)
408 localTimeSeconds = maxUnixTime;
409 else if(localTimeSeconds < 0) // Go ahead a day to make localtime work (does not work with 0)
410 localTimeSeconds += secondsPerDay;
411
412 //input is UTC so we have to shift back to local time to determine DST thus the + getUTCOffset()
413 double offsetTime = (localTimeSeconds * msPerSecond) + getUTCOffset();
414
415 // Offset from UTC but doesn't include DST obviously
416 int offsetHour = msToHours(offsetTime);
417 int offsetMinute = msToMinutes(offsetTime);
418
419 // FIXME: time_t has a potential problem in 2038
420 time_t localTime = static_cast<time_t>(localTimeSeconds);
421
422 tm localTM;
423#if PLATFORM(QT)
424 // ### this is not threadsafe but we don't use multiple threads anyway
425 // in the Qt build
426#if USE(MULTIPLE_THREADS)
427#error Mulitple threads are currently not supported in the Qt/mingw build
428#endif
429 localTM = *localtime(&localTime);
430#elif PLATFORM(WIN_OS)
431 localtime_s(&localTM, &localTime);
432#else
433 localtime_r(&localTime, &localTM);
434#endif
435
436 double diff = ((localTM.tm_hour - offsetHour) * secondsPerHour) + ((localTM.tm_min - offsetMinute) * 60);
437
438 if(diff < 0)
439 diff += secondsPerDay;
440
441 return (diff * msPerSecond);
442}
443
444// Get the DST offset, given a time in UTC
445static double getDSTOffset(double ms)
446{
447 // On Mac OS X, the call to localtime (see getDSTOffsetSimple) will return historically accurate
448 // DST information (e.g. New Zealand did not have DST from 1946 to 1974) however the JavaScript
449 // standard explicitly dictates that historical information should not be considered when
450 // determining DST. For this reason we shift away from years that localtime can handle but would
451 // return historically accurate information.
452 int year = msToYear(ms);
453 int equvalentYear = equivalentYearForDST(year);
454 if (year != equvalentYear) {
455 int day = dateToDayInYear(equvalentYear, msToMonth(ms), msToDayInMonth(ms));
456 ms = (day * msPerDay) + msToMilliseconds(ms);
457 }
458
459 return getDSTOffsetSimple(ms / msPerSecond);
460}
461
462double gregorianDateTimeToMS(const GregorianDateTime& t, double milliSeconds, bool inputIsUTC)
463{
464 int day = dateToDayInYear(t.year + 1900, t.month, t.monthDay);
465 double ms = timeToMS(t.hour, t.minute, t.second, milliSeconds);
466 double result = (day * msPerDay) + ms;
467
468 if (!inputIsUTC) { // convert to UTC
469 result -= getUTCOffset();
470 result -= getDSTOffset(result);
471 }
472
473 return result;
474}
475
476void msToGregorianDateTime(double ms, bool outputIsUTC, GregorianDateTime& tm)
477{
478 // input is UTC
479 double dstOff = 0.0;
480
481 if (!outputIsUTC) { // convert to local time
482 dstOff = getDSTOffset(ms);
483 ms += dstOff + getUTCOffset();
484 }
485
486 tm.second = msToSeconds(ms);
487 tm.minute = msToMinutes(ms);
488 tm.hour = msToHours(ms);
489 tm.weekDay = msToWeekDay(ms);
490 tm.monthDay = msToDayInMonth(ms);
491 tm.yearDay = dayInYear(ms, msToYear(ms));
492 tm.month = msToMonth(ms);
493 tm.year = msToYear(ms) - 1900;
494 tm.isDST = dstOff != 0.0;
495
496 tm.utcOffset = static_cast<long>((dstOff + getUTCOffset()) / msPerSecond);
497 tm.timeZone = NULL;
498}
499
500} // namespace KJS
Note: See TracBrowser for help on using the repository browser.