1. 13 Aug, 2006 1 commit
    • mjs's avatar
      JavaScriptCore: · 308be5ab
      mjs authored
              Reviewed (and tweaked a little) by Maciej.
              
              - shrank the size of JSObject by 8 bytes and made the corresponding reduction to the cell size, resulting
              in a 1.2% speed improvement on JS iBench (and probably overall memory savings).
      
              This was done by removing _scope and _internalValue data members
              from JSObject and moving them only to the subclasses that actually
              make use of them.
              
              * kjs/object.cpp: 
              (KJS::JSObject::mark): No need to mark scope or internal value here.
              * kjs/object.h:
              (KJS::JSObject::JSObject): Don't initialize them.
              * kjs/JSWrapperObject.cpp: Added. New base class for object types that
              wrap primitive values (Number, String, Boolean, Date).
              (KJS::JSWrapperObject::mark): 
              * kjs/JSWrapperObject.h: Added.
              (KJS::JSWrapperObject::JSWrapperObject):
              (KJS::JSWrapperObject::internalValue):
              (KJS::JSWrapperObject::setInternalValue):
              * kjs/array_object.cpp:
              (ArrayPrototype::ArrayPrototype): Don't set useless internal value.
              * kjs/bool_object.cpp:
              (BooleanInstance::BooleanInstance): Inherit from JSWrapperObject.
              (BooleanProtoFunc::callAsFunction): Fixed to account for fact that not all
              JSObjects have an internal value.
              (BooleanObjectImp::construct): ditto.
              * kjs/bool_object.h:
              * kjs/collector.cpp: Lowered cell size to 48.
              (KJS::Collector::allocate): meaningless whitespace change
              * kjs/date_object.cpp:
              (KJS::DateInstance::DateInstance): Inherit from JSWrapperObject.
              (KJS::DateProtoFunc::callAsFunction): adjusted for move of internalValue
              (KJS::DateObjectImp::construct): ditto
              * kjs/date_object.h:
              * kjs/error_object.cpp:
              (ErrorPrototype::ErrorPrototype): don't set internal value
              * kjs/function.cpp: move _scope and related handling here
              (KJS::FunctionImp::mark): mark scope
              * kjs/function.h:
              (KJS::FunctionImp::scope): moved here from JSObject
              (KJS::FunctionImp::setScope): ditto
              * kjs/number_object.cpp:
              (NumberInstance::NumberInstance): inherit from JSWrapperObject
              (NumberProtoFunc::callAsFunction): adjusted
              (NumberObjectImp::construct): adjusted
              * kjs/number_object.h: shring RegExp-related objects a little
              * kjs/regexp_object.cpp:
              (RegExpPrototype::RegExpPrototype): Adjust for size tweaks
              (RegExpObjectImp::RegExpObjectImp): ditto
              * kjs/regexp_object.h:
              * kjs/string_object.cpp:
              (StringInstance::StringInstance): inherit from JSWrapperObject
              (StringProtoFunc::callAsFunction): adjusted
              * kjs/string_object.h:
              * JavaScriptCore.exp: Exported new methods as needed.
              * JavaScriptCore.xcodeproj/project.pbxproj: Added new files to build.
      
      WebCore:
      
              Reviewed (and tweaked a little) by Maciej.
              
              - shrank the size of JSObject by 8 bytes and made the corresponding reduction to the cell size, resulting
              in a 1.2% speed improvement on JS iBench (and probably overall memory savings).
      
              The WebCore part of this is to expect only FunctionImp to have a scope, not all JSObjects.
              
              * bindings/js/kjs_events.cpp:
              (KJS::JSLazyEventListener::parseCode):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      308be5ab
  2. 12 Aug, 2006 1 commit
  3. 11 Aug, 2006 14 commits
    • eseidel's avatar
      2006-08-12 Eric Seidel <eric@eseidel.com> · afa6e7c7
      eseidel authored
              Reviewed by hyatt and mjs.
      
              Fix two missing null checks causing layout test crashes.
      
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::adjustRenderStyle): check e for null (null for pseudo styles)
              * kcanvas/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::requiresLayer): check parent()->element() for null
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15844 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      afa6e7c7
    • ddkilzer's avatar
      LayoutTests: · ce4f3f9a
      ddkilzer authored
              Reviewed by NOBODY (layout test fix).
      
              Additional layout test fixes from hyatt's "Eliminate RenderImageButton" change
              in r15839.  See also r15840 for more layout test fixes.
      
              * tables/mozilla/bugs/bug19599-expected.txt: Changed RenderImageButton to RenderImage.
              * tables/mozilla/bugs/bug24200-expected.txt: Ditto.
              * tables/mozilla/bugs/bug4527-expected.txt: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce4f3f9a
    • eseidel's avatar
      2006-08-11 Eric Seidel <eric@eseidel.com> · 0f4a4a03
      eseidel authored
              Reviewed by andersca.
      
              The outermost <svg> element needs to clip itself
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5358
      
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::adjustRenderStyle): adjust for SVG overflow rules
              * kcanvas/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::requiresLayer): only require layers for absolute/relative positioning of outermost SVG
              (WebCore::RenderSVGContainer::paint):
              * kcanvas/device/KRenderingDevice.h:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.h: remove dead methods
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm: remove dead methods
              (WebCore::KRenderingDeviceContextQuartz::KRenderingDeviceContextQuartz):
              * ksvg2/svg/SVGPaint.cpp: spacing changes
              (WebCore::SVGPaint::SVGPaint): spacing cleanup
              * ksvg2/svg/SVGSVGElement.cpp:
              (WebCore::SVGSVGElement::parseMappedAttribute): spacing cleanup
              * platform/GraphicsContext.h: Added concatCTM
              * platform/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::concatCTM): Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f4a4a03
    • beidson's avatar
      WebCore: · 28d76d25
      beidson authored
              Reviewed by Maciej
      
              Renamed a method/parameter for clarity and consistency, as well as some style
              cleanups and removing some ridiculously verbose log messages.
              Also added an _isEmpty method to the database and bridge for WebKit's use.
              Finally, added a central way for both WebKit and WebCore to get the icon database filename
      
              * bridge/mac/WebCoreIconDatabaseBridge.h:  Added _isEmpty and defaultDatabaseFilename
              * bridge/mac/WebCoreIconDatabaseBridge.mm:  Removed an unnecessary semicolon off most of these methods
              (-[WebCoreIconDatabaseBridge openSharedDatabaseWithPath:]):
              (-[WebCoreIconDatabaseBridge closeSharedDatabase]):
              (-[WebCoreIconDatabaseBridge isOpen]):
              (-[WebCoreIconDatabaseBridge _isEmpty]):  Added
              (-[WebCoreIconDatabaseBridge setPrivateBrowsingEnabled:]):
              (-[WebCoreIconDatabaseBridge privateBrowsingEnabled]):
              (-[WebCoreIconDatabaseBridge iconForPageURL:withSize:]):
              (-[WebCoreIconDatabaseBridge iconURLForPageURL:]):
              (-[WebCoreIconDatabaseBridge defaultIconWithSize:]):
              (-[WebCoreIconDatabaseBridge retainIconForURL:]):
              (-[WebCoreIconDatabaseBridge releaseIconForURL:]):
              (-[WebCoreIconDatabaseBridge _setIconData:forIconURL:]):
              (-[WebCoreIconDatabaseBridge _setHaveNoIconForIconURL:]):
              (-[WebCoreIconDatabaseBridge _setIconURL:forPageURL:]):
              (-[WebCoreIconDatabaseBridge _hasIconForIconURL:]):
              (-[WebCoreIconDatabaseBridge defaultDatabaseFilename]):  Added
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::defaultDatabaseFilename):  Added
              (WebCore::IconDatabase::open):  
              (WebCore::IconDatabase::isEmpty):  Added
              (WebCore::IconDatabase::retainIconForURL):  Removed log message
              (WebCore::IconDatabase::releaseIconForURL):  Removed log message
              * loader/icon/IconDatabase.h: 
      
      WebKit:
      
              Reviewed by John, Timo, Adele, and Darin
      
              In addition to a few style/good-practice cleanups, this patch will convert the old icon database
              format to the WebCore format if the WebCore db is empty (implying this conversion has yet to take
              place).  After the conversion, it will delete all traces of the old format to free the unneeded space
      
              * Misc/WebIconDatabase.m:
              (-[WebIconDatabase init]):  
              (-[WebIconDatabase _setIconURL:forURL:]):  Changed the bridge's name for this method to be more clear
              (-[WebIconDatabase _createFileDatabase]):  
              (-[WebIconDatabase _iconDataForIconURL:]):  This grabs the raw data for use in the conversion function
              (-[WebIconDatabase _convertToWebCoreFormat]):  This does the actual conversion
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28d76d25
    • hyatt's avatar
      Update layout tests for removal of RenderImageButton · 0fabaf37
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0fabaf37
    • hyatt's avatar
      Eliminate RenderImageButton. · 7a01faa2
      hyatt authored
              Reviewed by darin
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject isImageButton]):
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::createRenderer):
              * rendering/RenderImage.h:
              (WebCore::RenderImage::isImage):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15839 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a01faa2
    • adele's avatar
      LayoutTests: · b70787ae
      adele authored
              Reviewed by Brady.
      
              Test case for <rdar://problem/4656274> 
              REGRESSION: option elements are selected when added regardless of "selected" property
      
              * fast/forms/option-constructor-selected-expected.txt: Added.
              * fast/forms/option-constructor-selected.html: Added.
      
      WebCore:
      
              Reviewed by Brady.
      
              - Fix for <rdar://problem/4656274> 
              REGRESSION: option elements are selected when added regardless of "selected" property
      
              Test: fast/forms/option-constructor-selected.html
      
              * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::setOption):
              When adding an option element, check that the option element is selected before calling setSelectedIndex.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b70787ae
    • tomernic's avatar
      Reviewed by John Sullivan. · 20efa2d4
      tomernic authored
              
              Needed for <rdar://problem/4678070>.
      
              * Plugins/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView sendEvent:]):
              Changed an assertion to an early return.  It should be possible to send events, especially updateEvt (for image capturing
              purposes), to off-screen plug-ins.  It just doesn't work right now.  See <rdar://problem/4318269>.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      20efa2d4
    • sullivan's avatar
      Reviewed by Darin · 2327bfdb
      sullivan authored
              
              - fixed <rdar://problem/4522894> Would be nice if Safari shrank pages a little if necessary 
              to avoid printing an almost-empty page
      
              * WebView/WebHTMLView.m:
              (-[NSArray knowsPageRange:]):
              If the last page has a short-enough orphan (< 1/10 of the page height is the number I pulled
              out of ... the air), then we adjust the scale factor slightly and check whether this reduces
              the page count and thus eliminates the orphan.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2327bfdb
    • hyatt's avatar
      Add layout test for link bug. · 9457c78d
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9457c78d
    • hyatt's avatar
      Fix for bug 10349, make sure to call setChanged when an anchor changes · 80661f10
      hyatt authored
              from not being a link to being a link (and vice versa).
      
              Test is in fast/dynamic/link-href-change.html
      
              Reviewed by darin
      
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::HTMLAnchorElement):
              (WebCore::HTMLAnchorElement::parseMappedAttribute):
              * html/HTMLAnchorElement.h:
              * html/HTMLAreaElement.cpp:
              (WebCore::HTMLAreaElement::parseMappedAttribute):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80661f10
    • rwlbuis's avatar
      Reviewed by Darin. · cdd5d406
      rwlbuis authored
              Revert an over-optimization step that messed up the HashSet lookup.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cdd5d406
    • oliver's avatar
      Removing unnecessary comment from patch for bug 10346 · 2ac8ff70
      oliver authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ac8ff70
    • oliver's avatar
      Fix for bug #10346, fixes regression in svg image layout · d44b1008
      oliver authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d44b1008
  4. 10 Aug, 2006 2 commits
    • andersca's avatar
      2006-08-10 Anders Carlsson <acarlsson@apple.com> · 6a206c72
      andersca authored
              Rubber-stamped by Maciej.
      
              Move xpath to xml.
              
              * DerivedSources.make:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * xpath/XPathEvaluator.cpp: Removed.
              * xpath/XPathEvaluator.h: Removed.
              * xpath/XPathEvaluator.idl: Removed.
              * xpath/XPathExpression.cpp: Removed.
              * xpath/XPathExpression.h: Removed.
              * xpath/XPathExpression.idl: Removed.
              * xpath/XPathNSResolver.cpp: Removed.
              * xpath/XPathNSResolver.h: Removed.
              * xpath/XPathNSResolver.idl: Removed.
              * xpath/XPathNamespace.cpp: Removed.
              * xpath/XPathNamespace.h: Removed.
              * xpath/XPathResult.cpp: Removed.
              * xpath/XPathResult.h: Removed.
              * xpath/XPathResult.idl: Removed.
              * xpath/impl/XPathExpressionNode.cpp: Removed.
              * xpath/impl/XPathExpressionNode.h: Removed.
              * xpath/impl/XPathFunctions.cpp: Removed.
              * xpath/impl/XPathFunctions.h: Removed.
              * xpath/impl/XPathGrammar.y: Removed.
              * xpath/impl/XPathParser.cpp: Removed.
              * xpath/impl/XPathParser.h: Removed.
              * xpath/impl/XPathPath.cpp: Removed.
              * xpath/impl/XPathPath.h: Removed.
              * xpath/impl/XPathPredicate.cpp: Removed.
              * xpath/impl/XPathPredicate.h: Removed.
              * xpath/impl/XPathStep.cpp: Removed.
              * xpath/impl/XPathStep.h: Removed.
              * xpath/impl/XPathUtil.cpp: Removed.
              * xpath/impl/XPathUtil.h: Removed.
              * xpath/impl/XPathValue.cpp: Removed.
              * xpath/impl/XPathValue.h: Removed.
              * xpath/impl/XPathVariableReference.cpp: Removed.
              * xpath/impl/XPathVariableReference.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a206c72
    • harrison's avatar
      Reviewed by John Sullivan. · 146d0a8a
      harrison authored
              <rdar://problem/4600112> REGRESSION: VO no longer able to review text within an edit field on web pages
      
              Test cases added: None.  Manual AX testing is way too awkward, and automated testing
              is not possible.  See following bug...
                  <rdar://problem/4256882> Need automated testing support for accessibility APIs
      
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject value]):
              Add handling for text input fields.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      146d0a8a
  5. 09 Aug, 2006 1 commit
    • ddkilzer's avatar
      WebCore: · 54f5ceac
      ddkilzer authored
              Reviewed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10247
              REGRESSION: Unable to build webkit without SVG/XPATH
      
              * bindings/js/kjs_binding.cpp:
              (KJS::setDOMException):
              * bindings/js/kjs_dom.cpp:
              (KJS::toJS):
              * bindings/js/kjs_html.cpp:
              (KJS::HTMLElementFunction::callAsFunction):
              * bindings/js/kjs_proxy.cpp:
              * bindings/js/kjs_proxy.h:
              * bindings/objc/DOMInternal.h:
              * bindings/objc/DOMInternal.mm:
              (raiseDOMException):
              * bindings/objc/DOMXPath.mm:
              * bindings/objc/DOMXPathInternal.h:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bridge/mac/WebCoreFrameBridge.mm:
              (+[WebCoreFrameBridge supportedNonImageMIMETypes]):
              * css/CSSGrammar.y:
              * css/CSSStyleDeclaration.cpp:
              (WebCore::propertyID):
              * css/cssparser.cpp:
              (WebCore::CSSParser::parseValue):
              * css/cssparser.h:
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::loadDefaultStyle):
              (WebCore::CSSStyleSelector::applyProperty):
              * css/cssstyleselector.h:
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::~Document):
              (WebCore::Document::createElementNS):
              (WebCore::Document::implicitClose):
              (WebCore::Document::recalcStyleSelector):
              (WebCore::Document::createEvent):
              * dom/Document.h:
              * dom/Document.idl:
              * dom/Node.cpp:
              (WebCore::Node::createRendererIfNeeded):
              * dom/Node.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::endElementNs):
              (WebCore::XMLTokenizer::insertErrorMessageBlock):
              * html/HTMLEmbedElement.cpp:
              * html/HTMLEmbedElement.h:
              * html/HTMLObjectElement.cpp:
              * html/HTMLObjectElement.h:
              * kcanvas/KCanvasCreator.cpp:
              * kcanvas/KCanvasCreator.h:
              * kcanvas/KCanvasFilters.cpp:
              * kcanvas/KCanvasFilters.h:
              * kcanvas/KCanvasImage.h:
              * kcanvas/KCanvasMatrix.cpp:
              * kcanvas/KCanvasMatrix.h:
              * kcanvas/KCanvasPath.cpp:
              * kcanvas/KCanvasPath.h:
              * kcanvas/KCanvasResourceListener.h:
              * kcanvas/KCanvasResources.cpp:
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              * kcanvas/RenderForeignObject.cpp:
              * kcanvas/RenderForeignObject.h:
              * kcanvas/RenderPath.cpp:
              * kcanvas/RenderPath.h:
              * kcanvas/RenderSVGContainer.cpp:
              * kcanvas/RenderSVGContainer.h:
              * kcanvas/RenderSVGImage.cpp:
              * kcanvas/RenderSVGImage.h:
              * kcanvas/RenderSVGText.cpp:
              * kcanvas/RenderSVGText.h:
              * kcanvas/device/KRenderingDevice.cpp:
              * kcanvas/device/KRenderingDevice.h:
              * kcanvas/device/KRenderingFillPainter.cpp:
              * kcanvas/device/KRenderingFillPainter.h:
              * kcanvas/device/KRenderingPaintServer.h:
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerPattern.cpp:
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * kcanvas/device/KRenderingPaintServerSolid.cpp:
              * kcanvas/device/KRenderingPaintServerSolid.h:
              * kcanvas/device/KRenderingStrokePainter.cpp:
              * kcanvas/device/KRenderingStrokePainter.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              * kcanvas/device/quartz/KCanvasMaskerQuartz.mm:
              * kcanvas/device/quartz/KCanvasPathQuartz.mm:
              * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              * kcanvas/device/quartz/QuartzSupport.h:
              * kcanvas/device/quartz/QuartzSupport.mm:
              * ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp:
              * ksvg2/bindings/js/JSSVGElementWrapperFactory.h:
              * 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/ecma/GlobalObject.cpp:
              * ksvg2/ecma/GlobalObject.h:
              * ksvg2/events/JSSVGLazyEventListener.cpp:
              * ksvg2/events/JSSVGLazyEventListener.h:
              * ksvg2/events/SVGZoomEvent.cpp:
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/ksvg.h:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/KSVGTimeScheduler.cpp:
              * ksvg2/misc/KSVGTimeScheduler.h:
              * ksvg2/misc/SVGDocumentExtensions.cpp:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGImageLoader.cpp:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/svg/DOMList.h:
              * ksvg2/svg/SVGAElement.cpp:
              * ksvg2/svg/SVGAElement.h:
              * ksvg2/svg/SVGAngle.cpp:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAnimateColorElement.cpp:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimateElement.cpp:
              * ksvg2/svg/SVGAnimateElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.cpp:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimatedAngle.cpp:
              * ksvg2/svg/SVGAnimatedAngle.h:
              * ksvg2/svg/SVGAnimatedBoolean.cpp:
              * ksvg2/svg/SVGAnimatedBoolean.h:
              * ksvg2/svg/SVGAnimatedColor.cpp:
              * ksvg2/svg/SVGAnimatedColor.h:
              * ksvg2/svg/SVGAnimatedEnumeration.cpp:
              * ksvg2/svg/SVGAnimatedEnumeration.h:
              * ksvg2/svg/SVGAnimatedInteger.cpp:
              * ksvg2/svg/SVGAnimatedInteger.h:
              * ksvg2/svg/SVGAnimatedLength.cpp:
              * ksvg2/svg/SVGAnimatedLength.h:
              * ksvg2/svg/SVGAnimatedLengthList.cpp:
              * ksvg2/svg/SVGAnimatedLengthList.h:
              * ksvg2/svg/SVGAnimatedNumber.cpp:
              * ksvg2/svg/SVGAnimatedNumber.h:
              * ksvg2/svg/SVGAnimatedNumberList.cpp:
              * ksvg2/svg/SVGAnimatedNumberList.h:
              * ksvg2/svg/SVGAnimatedPathData.cpp:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.cpp:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedPreserveAspectRatio.cpp:
              * ksvg2/svg/SVGAnimatedPreserveAspectRatio.h:
              * ksvg2/svg/SVGAnimatedRect.cpp:
              * ksvg2/svg/SVGAnimatedRect.h:
              * ksvg2/svg/SVGAnimatedString.cpp:
              * ksvg2/svg/SVGAnimatedString.h:
              * ksvg2/svg/SVGAnimatedTemplate.h:
              * ksvg2/svg/SVGAnimatedTransformList.cpp:
              * ksvg2/svg/SVGAnimatedTransformList.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/SVGComponentTransferFunctionElement.cpp:
              * ksvg2/svg/SVGComponentTransferFunctionElement.h:
              * ksvg2/svg/SVGCursorElement.cpp:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGDOMImplementation.cpp:
              * ksvg2/svg/SVGDOMImplementation.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/SVGElement.cpp:
              * ksvg2/svg/SVGElement.h:
              * 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/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/SVGHelper.cpp:
              * ksvg2/svg/SVGHelper.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/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/SVGLocatable.cpp:
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMarkerElement.cpp:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMatrix.cpp:
              * ksvg2/svg/SVGMatrix.h:
              * ksvg2/svg/SVGNumber.cpp:
              * ksvg2/svg/SVGNumber.h:
              * ksvg2/svg/SVGNumberList.cpp:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.cpp:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGPathElement.cpp:
              * ksvg2/svg/SVGPathElement.h:
              * ksvg2/svg/SVGPathSeg.cpp:
              * 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.cpp:
              * ksvg2/svg/SVGPoint.h:
              * 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.cpp:
              * ksvg2/svg/SVGRect.h:
              * ksvg2/svg/SVGRectElement.cpp:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGSVGElement.cpp:
              * ksvg2/svg/SVGSVGElement.h:
              * 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/SVGTransformList.cpp:
              * ksvg2/svg/SVGTransformList.h:
              * ksvg2/svg/SVGTransformable.cpp:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGURIReference.cpp:
              * ksvg2/svg/SVGURIReference.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:
              * ksvg2/svg/svgpathparser.cpp:
              * ksvg2/svg/svgpathparser.h:
              * page/DOMWindow.idl:
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              (WebCore::Frame::begin):
              (WebCore::Frame::pauseTimeouts):
              (WebCore::Frame::resumeTimeouts):
              * platform/GraphicsContext.h:
              * platform/cg/GraphicsContextCG.cpp:
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::isTransparent):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::containingBlock):
              * rendering/RenderObject.h:
              * rendering/RenderStyle.cpp:
              (WebCore::RenderStyle::RenderStyle):
              (WebCore::RenderStyle::inheritFrom):
              (WebCore::RenderStyle::operator==):
              (WebCore::RenderStyle::inheritedNotEqual):
              (WebCore::RenderStyle::diff):
              * rendering/RenderStyle.h:
              * rendering/RenderTreeAsText.cpp:
              (WebCore::write):
              (WebCore::externalRepresentation):
              * xpath/XPathEvaluator.cpp:
              * xpath/XPathEvaluator.h:
              * xpath/XPathExpression.cpp:
              * xpath/XPathExpression.h:
              * xpath/XPathNSResolver.cpp:
              * xpath/XPathNSResolver.h:
              * xpath/XPathNamespace.cpp:
              * xpath/XPathNamespace.h:
              * xpath/XPathResult.cpp:
              * xpath/XPathResult.h:
              * xpath/impl/XPathExpressionNode.cpp:
              * xpath/impl/XPathExpressionNode.h:
              * xpath/impl/XPathFunctions.cpp:
              * xpath/impl/XPathFunctions.h:
              * xpath/impl/XPathGrammar.y:
              * xpath/impl/XPathParser.cpp:
              * xpath/impl/XPathParser.h:
              * xpath/impl/XPathPath.cpp:
              * xpath/impl/XPathPath.h:
              * xpath/impl/XPathPredicate.cpp:
              * xpath/impl/XPathPredicate.h:
              * xpath/impl/XPathStep.cpp:
              * xpath/impl/XPathStep.h:
              * xpath/impl/XPathUtil.cpp:
              * xpath/impl/XPathUtil.h:
              * xpath/impl/XPathValue.cpp:
              * xpath/impl/XPathValue.h:
              * xpath/impl/XPathVariableReference.cpp:
              * xpath/impl/XPathVariableReference.h:
      
              Change all #if SVG_SUPPORT to #ifdef SVG_SUPPORT and
              #if XPATH_SUPPORT to #ifdef XPATH_SUPPORT
              (except for one #if !SVG_SUPPORT to a #ifndef SVG_SUPPORT
              in RenderTreeAsText.cpp)
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54f5ceac
  6. 08 Aug, 2006 2 commits
    • rwlbuis's avatar
      Reviewed by Darin. · 1340096d
      rwlbuis authored
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10230
              SVGDOMImplementation should die (and be rolled into DOMImplementation)
      
              Delete SVGDOMImplementation and references to it. The
              svg specific functionality is now in DOMImplementation.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1340096d
    • beidson's avatar
      WebCore: · 2bfe8d3b
      beidson authored
              Reviewed by Anders and John
      
              Icons can now refresh when new data is sent from WebKit, both on disk and in memory
      
              * bridge/mac/WebCoreIconDatabaseBridge.h:
              * bridge/mac/WebCoreIconDatabaseBridge.mm:
              (WebCore::IconDatabase::loadIconFromURL):  Allows WebCore/Kit to kick off a load
              outside of any greater context
              (-[WebCoreIconDatabaseBridge isIconExpiredForIconURL:]):
              (-[WebCoreIconDatabaseBridge isIconExpiredForPageURL:]): Allows WebKit
              to get whether or not an icon has expired
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::recreateDatabase): Changed database schema slightly
              (WebCore::IconDatabase::createPrivateTables): Changed database schema slightly
              (WebCore::IconDatabase::iconForPageURL): 
              (WebCore::IconDatabase::isIconExpiredForIconURL): Get if an icon has expired
              (WebCore::IconDatabase::isIconExpiredForPageURL): Get if an icon has expired
              (WebCore::IconDatabase::setIconDataForIconURL): Force a refresh of the in memory
              image when new icon data is loaded
              (WebCore::IconDatabase::setIconURLForPageURL): added a check for null iconID
      
              * loader/icon/IconDatabase.h: added/changed some methods
              * loader/icon/SiteIcon.cpp:
              (SiteIcon::getImage): simplified/removed debugging code
              (SiteIcon::manuallySetImageData): allow the image data to be changed when new icon
              data is loaded
      
      WebKit:
      
              Reviewed by Anders and John
      
              * Misc/WebIconDatabase.m:
              (-[WebIconDatabase init]):
              (-[WebIconDatabase isIconExpiredForIconURL:]): Get if an icon expired
              (-[WebIconDatabase isIconExpiredForPageURL:]): Ditto
              (-[WebIconDatabase _setIconURL:forURL:]):
              (-[WebIconDatabase _sendNotificationForURL:]): Moved to WebKitPendingPublic for use outside of WebIconDatabase
              (-[WebIconDatabase loadIconFromURL:]): Allow a load outside the context of a page load
              * Misc/WebIconDatabasePrivate.h:
      
              * Misc/WebIconLoader.m:
              (-[WebIconLoader didFinishLoading]): fixed up the "flipping the switch" #defs a bit
              (-[WebIconLoader willSendRequest:redirectResponse:]): override to allow a load
              outside of the context of a page load
      
              * WebCoreSupport/WebIconDatabaseBridge.h: Added.
              * WebCoreSupport/WebIconDatabaseBridge.m: Added.
              (-[WebIconDatabaseBridge init]):
              (-[WebIconDatabaseBridge dealloc]):
              (-[WebIconDatabaseBridge loadIconFromURL:]):  Kick off a load on an icon outside
              of the context of any page load
              (-[WebIconDatabaseBridge _setIconData:forIconURL:]):  WebKit side of bridge method
              (-[WebIconDatabaseBridge _setHaveNoIconForIconURL:]):  WebKit side of bridge method
              (-[WebIconDatabaseBridge releaseCachedLoaderForIconURL:]): 
              (+[WebIconDatabaseBridge sharedBridgeInstance]): Moved this from WebCore to WebKit
              so both sides of the bridge get the WebKit version
              * WebKit.xcodeproj/project.pbxproj: Added some files
              * WebView/WebDataSource.m:
              (-[WebDataSource _loadIcon]): Added check for reload/expired icon to force
              a load even if we already have it
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2bfe8d3b
  7. 07 Aug, 2006 1 commit
  8. 05 Aug, 2006 2 commits
  9. 04 Aug, 2006 8 commits
    • hyatt's avatar
      Fix for Radar bug #4644045, regression where dragging selection no longer · e3b1e94b
      hyatt authored
              works for floats contained inside layers.  I added an optimization to
              refine dirty rect checking for layers, and it incorrectly excluded floats
              from the paint bounds since PaintPhaseSelection was not considered when
              analyzing the floatRect().
      
              Reviewed by beth
      
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::paint):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3b1e94b
    • hyatt's avatar
      Fix remove() so that it is equivalent to calling removeChild on the · 7c422d38
      hyatt authored
              parent.  This involved moving three operations that remove did.
      
              (1) Move the accessibility object cache removal into the destroy methods,
              since this really should just happen when a render object is going away.
      
              (2) removeFromObjectLists shifted into removeChild, which means it will
              now be called more often (this is a correct change).  Note that there is
              also now a new guard on removeFromObjectLists so that it won't do any
              work unless the document is not being destroyed.
      
              (3) The big one.  deleteLineBoxWrapper was not getting called to clean up
              the line box tree.  This moved right into RenderContainer's removeChildNode so
              that it is now done even in the lowest level RenderContainer removal primitive.
      
              Reviewed by beth
      
              * rendering/RenderContainer.cpp:
              (WebCore::RenderContainer::removeChildNode):
              (WebCore::RenderContainer::removeChild):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::removeFromObjectLists):
              (WebCore::RenderObject::destroy):
              * rendering/RenderObject.h:
              (WebCore::RenderObject::remove):
              * rendering/RenderWidget.cpp:
              (WebCore::RenderWidget::destroy):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c422d38
    • beidson's avatar
      Reviewed by Geoff's rubber stamp · 345a3422
      beidson authored
              Fix a build break on Intel hardware causes by adapting stricter
              compiler warnings (-Wshorten-64-to-32)
      
              * API/testapi.c:
              (assertEqualsAsNumber): manually cast some doubles to floats
              (main): ditto
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      345a3422
    • hyatt's avatar
      Add layout test for list marker crash · 7c8866bf
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c8866bf
    • hyatt's avatar
      Back out the fix for list marker crashes. The actual bug here is that · b8663441
      hyatt authored
              there is a confusing mismatch between remove() and removeChild() in the
              render tree.  remove() does a little bit of extra work that removeChild
              should be doing instead (so that remove() can just be a shorthand for
              removeChild).
      
              This conservative fix does not solve the remove/removeChild mismatch
              but instead just changes the list marker updating code to use remove
              instead.
      
              Reviewed by beth
      
              Test Case: fast/lists/dynamic-marker-crash.html
      
              * rendering/ListMarkerBox.cpp:
              * rendering/ListMarkerBox.h:
              * rendering/RenderListItem.cpp:
              (WebCore::RenderListItem::updateMarkerLocation):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8663441
    • weinig's avatar
      JavaScriptCore: · 48bafd85
      weinig authored
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10192
                Make WebCore (and friends) compile with -Wshorten-64-to-32
      
                * Adds -Wshorten-64-to-32 flag to Xcode project.
                * Adds explicit casts where OK.
      
              * API/JSNodeList.c:
              (JSNodeList_item):
              (JSNodeList_getProperty):
              * JavaScriptCore.xcodeproj/project.pbxproj:
      
      JavaScriptGlue:
      
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10192
                Make WebCore (and friends) compile with -Wshorten-64-to-32
      
                * Adds -Wshorten-64-to-32 flag to Xcode project.
      
              * JavaScriptGlue.xcodeproj/project.pbxproj:
      
      WebCore:
      
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10192
                Make WebCore (and friends) compile with -Wshorten-64-to-32
      
                * Adds -Wshorten-64-to-32 flag to Xcode project.
                * Adds 'f' to float literals where expecting a float.
                * Use cosf() instead of cos() when assigning to a float.
      
              * WebCore.xcodeproj/project.pbxproj:
              * kcanvas/device/quartz/filters/WKDiffuseLightingFilter.m:
              (+[WKDiffuseLightingFilter initialize]):
              * kcanvas/device/quartz/filters/WKDiscreteTransferFilter.m:
              (-[WKDiscreteTransferFilter outputImage]):
              * kcanvas/device/quartz/filters/WKDisplacementMapFilter.m:
              (+[WKDisplacementMapFilter initialize]):
              * kcanvas/device/quartz/filters/WKSpecularLightingFilter.m:
              (+[WKSpecularLightingFilter initialize]):
              * kcanvas/device/quartz/filters/WKSpotLightFilter.m:
              (-[WKSpotLightFilter outputImage]):
              * kcanvas/device/quartz/filters/WKTableTransferFilter.m:
              (-[WKTableTransferFilter outputImage]):
      
      WebKit:
      
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10192
                Make WebCore (and friends) compile with -Wshorten-64-to-32
      
                * Adds 'f' to float literals where expecting a float.
                * Use ceilf() instead of ceil() when assigning to a float.
                * Adds explicit casts where OK.
                
                NOTE: The -Wshorten-64-to-32 flag was not added for WebKit
                because there are still a few places where no error handling 
                is in place.  The flag can be added as soon as those are worked
                out.
      
              * Misc/WebNSControlExtras.m:
              (-[NSControl sizeToFitAndAdjustWindowHeight]):
              * Misc/WebNSImageExtras.m:
              (-[NSImage _web_scaleToMaxSize:]):
              * Misc/WebNSViewExtras.h:
              * Misc/WebNSViewExtras.m:
              * Plugins/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):
              (-[WebBaseNetscapePluginView drawRect:]):
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge expiresTimeForResponse:]):
              * WebInspector/WebInspector.m:
              (-[NSWindow window]):
              (-[WebInspector treeViewScrollTo:]):
              (-[WebInspector _updateSystemColors]):
              (-[WebInspector webView:plugInViewWithArguments:]):
              (-[WebInspector outlineView:objectValueForTableColumn:byItem:]):
              * WebInspector/WebInspectorOutlineView.m:
              (-[WebInspectorOutlineView _highlightRow:clipRect:]):
              * WebInspector/WebNodeHighlight.m:
              (-[WebNodeHighlight initWithBounds:andRects:forView:]):
              * WebInspector/WebNodeHighlightView.m:
              (-[WebNodeHighlightView roundedRect:withRadius:]):
              (-[WebNodeHighlightView initWithHighlight:andRects:forView:]):
              (-[WebNodeHighlightView drawRect:]):
              * WebView/WebFrame.m:
              (-[WebFrame _opened]):
              * WebView/WebFrameView.m:
              (-[WebFrameView initWithFrame:]):
              * WebView/WebHTMLView.m:
              (-[WebHTMLView _dragImageForLinkElement:]):
              (-[WebHTMLView _web_setPrintingModeRecursive]):
              (-[WebHTMLView _web_clearPrintingModeRecursive]):
              (-[NSArray layout]):
              (-[NSArray _setPrinting:minimumPageWidth:maximumPageWidth:adjustViewSize:]):
              (-[NSArray adjustPageHeightNew:top:bottom:limit:]):
              (-[NSArray _scaleFactorForPrintOperation:]):
              (-[NSArray setPageWidthForPrinting:]):
              (-[NSArray _endPrintMode]):
              (-[NSArray knowsPageRange:]):
              (-[NSArray _originalFontA]):
              (-[NSArray _originalFontB]):
              (-[WebTextCompleteController _buildUI]):
              (-[WebTextCompleteController _placePopupWindow:]):
              * WebView/WebPDFView.m:
              (-[WebPDFView _makeTextStandardSize:]):
              (-[WebPDFView selectionImageForcingWhiteText:]):
              (-[PDFPrefUpdatingProxy forwardInvocation:]):
              * WebView/WebPreferences.m:
              (-[WebPreferences _floatValueForKey:]):
              * WebView/WebView.m:
              (-[WebView makeTextSmaller:]):
              (-[WebView canMakeTextStandardSize]):
              (-[WebView makeTextStandardSize:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48bafd85
    • aroben's avatar
      Reviewed by Anders. · e4ff307a
      aroben authored
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Convert
              spaces to tabs
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4ff307a
    • ddkilzer's avatar
      WebKit: · f4163388
      ddkilzer authored
              Reviewed by NOBODY (build fix).
      
              * WebCoreSupport/WebSubresourceLoader.m: REALLY moved to Loader/
              * WebView/WebFrameLoader.h: REALLY moved to Loader/
              * WebView/WebFrameLoader.m: REALLY moved to Loader/
              * WebView/WebLoader.h: REALLY moved to Loader/
              * WebView/WebLoader.m: REALLY moved to Loader/
              * WebView/WebMainResourceLoader.m: REALLY moved to Loader/
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4163388
  10. 03 Aug, 2006 8 commits