1. 08 Jan, 2011 1 commit
  2. 23 Jan, 2007 2 commits
    • zack's avatar
      Fix the Qt build · 1bd89127
      zack authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1bd89127
    • oliver's avatar
      2007-01-23 Oliver Hunt <oliver@apple.com> · aeffa297
      oliver authored
              Reviewed by Adam.
      
              Added DragController to handled drag and drop state and control logic.
              Currently this only handles logic for Dragging and Dropping, and is 
              unable to initialise a drag itself.
      
              platform/DragData encapsulate the paltform Drag data (NSDraggingInfo on Mac, 
              QMimeType in Qt).  This provides methods to pull data out the drag data as a String, 
              a URL, a DocumentFragment (for rich content), or a Colour.
      
              * WebCore.exp:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * dom/Clipboard.cpp: Added.
              (WebCore::Clipboard::setAccessPolicy):
              (WebCore::dragOpFromIEOp):
              (WebCore::IEOpFromDragOp):
              (WebCore::Clipboard::sourceOperation):
              (WebCore::Clipboard::destinationOperation):
              (WebCore::Clipboard::setSourceOperation):
              (WebCore::Clipboard::setDestinationOperation):
              (WebCore::Clipboard::setDropEffect):
              (WebCore::Clipboard::setEffectAllowed):
                move platform independent functions from ClipboardMac to Clipboard
      
              * dom/Clipboard.h:
              (WebCore::Clipboard::Clipboard):
              (WebCore::Clipboard::dropEffect):
              (WebCore::Clipboard::effectAllowed):
              (WebCore::Clipboard::policy):
                as above -- also removed virtual modifier from now 
                platform independent methods
      
              * editing/Editor.cpp:
              (WebCore::Editor::smartInsertDeleteEnabled): 
              (WebCore::Editor::shouldApplyStyle):
              * editing/Editor.h:
                adding calls through to EditorClient
               
              * page/DragActions.h: Added.
              (WebCore::):
                Replicates a number of NS* enums in the WebCore namespace
      
              * page/DragClient.h: Added.
              (WebCore::DragClient::~DragClient):
                Standard client interface for dragging UIDelegate
      
              * page/DragController.cpp: Added.
              (WebCore::createMouseEvent):
              (WebCore::DragController::DragController):
              (WebCore::DragController::~DragController):
              (WebCore::documentFragmentFromDragData):
              (WebCore::DragController::isMoveDrag):
              (WebCore::visiblePositionForPoint):
              (WebCore::DragController::cancelDrag):
              (WebCore::documentAtPoint):
              (WebCore::DragController::dragEntered):
              (WebCore::DragController::dragExited):
              (WebCore::DragController::dragUpdated):
              (WebCore::DragController::performDrag):
              (WebCore::DragController::dragEnteredOrUpdated):
              (WebCore::DragController::tryDocumentDrag):
              (WebCore::DragController::operationForLoad):
              (WebCore::DragController::concludeDrag):
              (WebCore::DragController::canProcessDrag):
              (WebCore::DragController::tryDHTMLDrag):
                Class to handle state and logic for dragging and dropping
      
              * page/DragController.h: Added.
              (WebCore::DragController::client):
              (WebCore::DragController::didInitiateDrag):
              (WebCore::DragController::isHandlingDrag):
              (WebCore::DragController::dragOperation):
              (WebCore::DragController::document):
              (WebCore::DragController::dragInitiator):
              (WebCore::DragController::dragDestinationAction):
              (WebCore::DragController::dragSourceAction):
              (WebCore::DragController::dragEnded):
              (WebCore::DragController::setIsHandlingDrag):
              (WebCore::DragController::setDidInitiateDrag):
              (WebCore::DragController::setDragOperation):
              (WebCore::DragController::setDragSourceAction):
              (WebCore::DragController::setDragInitiator):
                See above
      
              * page/Page.cpp:
              (WebCore::Page::Page):
                Update Page to have DragController
      
              * page/Page.h:
              (WebCore::Page::dragController):
                ditto
      
              * page/mac/DragControllerMac.mm: Added.
              (WebCore::DragController::isCopyKeyDown):
              (WebCore::DragController::dragOperation):
                Platform specific portions of the DragController
      
              * page/mac/EventHandlerMac.mm:
              (WebCore::EventHandler::handleDrag):
              (WebCore::EventHandler::dragSourceEndedAt):
                Convert from NSDragOperation to WebCore::DragOperation
      
              * page/mac/WebCoreFrameBridge.h:
              * page/mac/WebCoreFrameBridge.mm:
                Remove obsolete Drag functions
      
              * page/qt/DragControllerQt.cpp: Added.
              (WebCore::DragController::isCopyKeyDown):
              (WebCore::DragController::dragOperation):
                Basic stubs to maintain Qt  build
      
              * platform/DragData.cpp: Added.
              (WebCore::DragData::DragData):
              * platform/DragData.h: Added.
              (WebCore::DragData::clientPosition):
              (WebCore::DragData::globalPosition):
              (WebCore::DragData::platformData):
              (WebCore::DragData::draggingSourceOperationMask):
                DragData class to encapsulate platform drag data/event
      
              * platform/graphics/svg/SVGImage.cpp:
              (WebCore::SVGImage::setData):
                Addition of dummy DragClient
      
              * platform/graphics/svg/SVGImageEmptyClients.h:
              (WebCore::SVGEmptyDragClient::~SVGEmptyDragClient):
              (WebCore::SVGEmptyDragClient::willPerformDragDestinationAction):
              (WebCore::SVGEmptyDragClient::actionMaskForDrag):
              (WebCore::SVGEmptyDragClient::dragControllerDestroyed):
                ditto
      
              * platform/mac/ClipboardMac.h:
              * platform/mac/ClipboardMac.mm:
              (WebCore::ClipboardMac::ClipboardMac):
              (WebCore::ClipboardMac::clearData):
              (WebCore::ClipboardMac::clearAllData):
              (WebCore::ClipboardMac::getData):
              (WebCore::ClipboardMac::setData):
              (WebCore::ClipboardMac::types):
              (WebCore::ClipboardMac::setDragImage):
               Moving platform independent logic to Clipboard, and updating
               platform specific methods to use appropriate accessors rather than 
               directly manipulating data they no longer own
      
              * platform/mac/DragDataMac.mm: Added.
              (WebCore::DragData::DragData):
              (WebCore::DragData::canSmartReplace):
              (WebCore::DragData::containsColor):
              (WebCore::DragData::containsPlainText):
              (WebCore::DragData::asPlainText):
              (WebCore::DragData::asColor):
              (WebCore::DragData::createClipboard):
              (WebCore::imageExistsAtPaths):
              (WebCore::DragData::containsCompatibleContent):
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              (WebCore::DragData::asFragment):
                Mac implementations of DragData methods.  A number of these use
                a Helper class that accesses WebKit functionality.  That functionality 
                should be migrated to WebCore in the future.
      
              * platform/mac/PasteboardHelper.h: Added.
              (WebCore::PasteboardHelper::~PasteboardHelper):
                Temporary, and Mac only, helper class to access WebKit functionality 
                from WebCore
      
              * platform/qt/DragDataQt.cpp: Added.
              (WebCore::DragData::canSmartReplace):
              (WebCore::DragData::containsColor):
              (WebCore::DragData::containsPlainText):
              (WebCore::DragData::asPlainText):
              (WebCore::DragData::asColor):
              (WebCore::DragData::createClipboard):
              (WebCore::DragData::containsCompatibleContent):
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              (WebCore::DragData::asFragment):
               Basic stubs to maintain Qt build
      
              * rendering/HitTestResult.cpp:
              (WebCore::HitTestResult::HitTestResult):
               Correct HitTestResult copy contructor to copy localPoint
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aeffa297
  3. 15 Jan, 2007 1 commit
    • eseidel's avatar
      2007-01-15 Eric Seidel <eric@webkit.org> · 8eddecf9
      eseidel authored
              Reviewed by bdash.
      
              Update header guards to follow new style guidelines using new clean-header-guards script.
      
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSSVGElementWrapperFactory.h:
              * bindings/js/JSSVGPODTypeWrapper.h:
              * bindings/js/JSXMLHttpRequest.h:
              * bindings/js/JSXSLTProcessor.h:
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_css.h:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_domnode.h:
              * bindings/js/kjs_events.h:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_navigator.h:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_traversal.h:
              * bindings/js/kjs_window.h:
              * bridge/EditorClient.h:
              * bridge/History.h:
              * css/CSSStyleSheet.h:
              * css/CSSValue.h:
              * css/CSSValueList.h:
              * css/DashboardRegion.h:
              * css/FontFamilyValue.h:
              * css/FontValue.h:
              * css/MediaFeatureNames.h:
              * css/MediaList.h:
              * css/Pair.h:
              * css/RectImpl.h:
              * css/ShadowValue.h:
              * css/StyleBase.h:
              * css/StyleList.h:
              * css/StyleSheet.h:
              * css/StyleSheetList.h:
              * css/cssstyleselector.h:
              * dom/BeforeTextInsertedEvent.h:
              * dom/CDATASection.h:
              * dom/CharacterData.h:
              * dom/ChildNodeList.h:
              * dom/Comment.h:
              * dom/DOMImplementation.h:
              * dom/DocPtr.h:
              * dom/Document.h:
              * dom/DocumentFragment.h:
              * dom/DocumentMarker.h:
              * dom/DocumentType.h:
              * dom/EditingText.h:
              * dom/Entity.h:
              * dom/EntityReference.h:
              * dom/EventNames.h:
              * dom/EventTargetNode.h:
              * dom/NameNodeList.h:
              * dom/NamedNodeMap.h:
              * dom/Node.h:
              * dom/NodeList.h:
              * dom/Notation.h:
              * dom/Position.h:
              * dom/ProcessingInstruction.h:
              * dom/Range.h:
              * dom/StyleElement.h:
              * dom/Text.h:
              * editing/AppendNodeCommand.h:
              * editing/ApplyStyleCommand.h:
              * editing/BreakBlockquoteCommand.h:
              * editing/CommandByName.h:
              * editing/CompositeEditCommand.h:
              * editing/DeleteButton.h:
              * editing/DeleteButtonController.h:
              * editing/DeleteFromTextNodeCommand.h:
              * editing/DeleteSelectionCommand.h:
              * editing/InsertIntoTextNodeCommand.h:
              * editing/InsertLineBreakCommand.h:
              * editing/InsertNodeBeforeCommand.h:
              * editing/InsertParagraphSeparatorCommand.h:
              * editing/InsertTextCommand.h:
              * editing/JoinTextNodesCommand.h:
              * editing/MergeIdenticalElementsCommand.h:
              * editing/ModifySelectionListLevel.h:
              * editing/MoveSelectionCommand.h:
              * editing/RemoveCSSPropertyCommand.h:
              * editing/RemoveNodeAttributeCommand.h:
              * editing/RemoveNodeCommand.h:
              * editing/RemoveNodePreservingChildrenCommand.h:
              * editing/ReplaceSelectionCommand.h:
              * editing/SetNodeAttributeCommand.h:
              * editing/SplitElementCommand.h:
              * editing/SplitTextNodeCommand.h:
              * editing/SplitTextNodeContainingElementCommand.h:
              * editing/TextGranularity.h:
              * editing/TypingCommand.h:
              * editing/WrapContentsInDummySpanCommand.h:
              * history/BackForwardList.h:
              * history/HistoryItem.h:
              * history/HistoryItemTimer.h:
              * history/PageCache.h:
              * html/CanvasGradient.h:
              * html/CanvasPattern.h:
              * html/CanvasRenderingContext2D.h:
              * html/CanvasStyle.h:
              * html/FormDataList.h:
              * html/HTMLAnchorElement.h:
              * html/HTMLAppletElement.h:
              * html/HTMLAreaElement.h:
              * html/HTMLBRElement.h:
              * html/HTMLBaseElement.h:
              * html/HTMLBaseFontElement.h:
              * html/HTMLBlockquoteElement.h:
              * html/HTMLBodyElement.h:
              * html/HTMLButtonElement.h:
              * html/HTMLCanvasElement.h:
              * html/HTMLCollection.h:
              * html/HTMLDListElement.h:
              * html/HTMLDirectoryElement.h:
              * html/HTMLDivElement.h:
              * html/HTMLElement.h:
              * html/HTMLElementFactory.h:
              * html/HTMLEmbedElement.h:
              * html/HTMLFieldSetElement.h:
              * html/HTMLFontElement.h:
              * html/HTMLFormCollection.h:
              * html/HTMLFormElement.h:
              * html/HTMLFrameSetElement.h:
              * html/HTMLGenericFormElement.h:
              * html/HTMLHRElement.h:
              * html/HTMLHeadElement.h:
              * html/HTMLHeadingElement.h:
              * html/HTMLHtmlElement.h:
              * html/HTMLImageElement.h:
              * html/HTMLImageLoader.h:
              * html/HTMLInputElement.h:
              * html/HTMLIsIndexElement.h:
              * html/HTMLKeygenElement.h:
              * html/HTMLLIElement.h:
              * html/HTMLLabelElement.h:
              * html/HTMLLegendElement.h:
              * html/HTMLLinkElement.h:
              * html/HTMLMapElement.h:
              * html/HTMLMarqueeElement.h:
              * html/HTMLMenuElement.h:
              * html/HTMLMetaElement.h:
              * html/HTMLModElement.h:
              * html/HTMLNameCollection.h:
              * html/HTMLOListElement.h:
              * html/HTMLObjectElement.h:
              * html/HTMLOptGroupElement.h:
              * html/HTMLOptionElement.h:
              * html/HTMLOptionsCollection.h:
              * html/HTMLParagraphElement.h:
              * html/HTMLParamElement.h:
              * html/HTMLParser.h:
              * html/HTMLPlugInElement.h:
              * html/HTMLPreElement.h:
              * html/HTMLQuoteElement.h:
              * html/HTMLScriptElement.h:
              * html/HTMLSelectElement.h:
              * html/HTMLStyleElement.h:
              * html/HTMLTableCaptionElement.h:
              * html/HTMLTableCellElement.h:
              * html/HTMLTableColElement.h:
              * html/HTMLTableElement.h:
              * html/HTMLTablePartElement.h:
              * html/HTMLTableRowElement.h:
              * html/HTMLTableSectionElement.h:
              * html/HTMLTextAreaElement.h:
              * html/HTMLTextFieldInnerElement.h:
              * html/HTMLTitleElement.h:
              * html/HTMLUListElement.h:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/events/JSSVGLazyEventListener.h:
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/PointerEventsHitRules.h:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/misc/TimeScheduler.h:
              * ksvg2/svg/GradientAttributes.h:
              * ksvg2/svg/LinearGradientAttributes.h:
              * ksvg2/svg/PatternAttributes.h:
              * ksvg2/svg/RadialGradientAttributes.h:
              * ksvg2/svg/SVGAElement.h:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimateElement.h:
              * ksvg2/svg/SVGAnimateMotionElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedTemplate.h:
              * ksvg2/svg/SVGAnimationElement.h:
              * ksvg2/svg/SVGCircleElement.h:
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGComponentTransferFunctionElement.h:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGDOMImplementation.h:
              * ksvg2/svg/SVGDefsElement.h:
              * ksvg2/svg/SVGDescElement.h:
              * ksvg2/svg/SVGDocument.h:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGElementInstance.h:
              * ksvg2/svg/SVGElementInstanceList.h:
              * ksvg2/svg/SVGEllipseElement.h:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFEBlendElement.h:
              * ksvg2/svg/SVGFEColorMatrixElement.h:
              * ksvg2/svg/SVGFEComponentTransferElement.h:
              * ksvg2/svg/SVGFECompositeElement.h:
              * ksvg2/svg/SVGFEDiffuseLightingElement.h:
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEDistantLightElement.h:
              * ksvg2/svg/SVGFEFloodElement.h:
              * ksvg2/svg/SVGFEFuncAElement.h:
              * ksvg2/svg/SVGFEFuncBElement.h:
              * ksvg2/svg/SVGFEFuncGElement.h:
              * ksvg2/svg/SVGFEFuncRElement.h:
              * ksvg2/svg/SVGFEGaussianBlurElement.h:
              * ksvg2/svg/SVGFEImageElement.h:
              * ksvg2/svg/SVGFELightElement.h:
              * ksvg2/svg/SVGFEMergeElement.h:
              * ksvg2/svg/SVGFEMergeNodeElement.h:
              * ksvg2/svg/SVGFEOffsetElement.h:
              * ksvg2/svg/SVGFEPointLightElement.h:
              * ksvg2/svg/SVGFESpecularLightingElement.h:
              * ksvg2/svg/SVGFESpotLightElement.h:
              * ksvg2/svg/SVGFETileElement.h:
              * ksvg2/svg/SVGFETurbulenceElement.h:
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
              * ksvg2/svg/SVGFitToViewBox.h:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGGElement.h:
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGImageElement.h:
              * ksvg2/svg/SVGLangSpace.h:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGLengthList.h:
              * ksvg2/svg/SVGLineElement.h:
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGList.h:
              * ksvg2/svg/SVGListTraits.h:
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMetadataElement.h:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGParserUtilities.h:
              * ksvg2/svg/SVGPathElement.h:
              * ksvg2/svg/SVGPathSeg.h:
              * ksvg2/svg/SVGPathSegArc.h:
              * ksvg2/svg/SVGPathSegClosePath.h:
              * ksvg2/svg/SVGPathSegCurvetoCubic.h:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
              * ksvg2/svg/SVGPathSegLineto.h:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
              * ksvg2/svg/SVGPathSegLinetoVertical.h:
              * ksvg2/svg/SVGPathSegList.h:
              * ksvg2/svg/SVGPathSegMoveto.h:
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGPointList.h:
              * ksvg2/svg/SVGPolyElement.h:
              * ksvg2/svg/SVGPolygonElement.h:
              * ksvg2/svg/SVGPolylineElement.h:
              * ksvg2/svg/SVGPreserveAspectRatio.h:
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGRenderingIntent.h:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGScriptElement.h:
              * ksvg2/svg/SVGSetElement.h:
              * ksvg2/svg/SVGStopElement.h:
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGStyleElement.h:
              * ksvg2/svg/SVGStyledElement.h:
              * ksvg2/svg/SVGStyledLocatableElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.h:
              * ksvg2/svg/SVGSymbolElement.h:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTextContentElement.h:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/SVGTextPositioningElement.h:
              * ksvg2/svg/SVGTitleElement.h:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransformList.h:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGURIReference.h:
              * ksvg2/svg/SVGUnitTypes.h:
              * ksvg2/svg/SVGUseElement.h:
              * ksvg2/svg/SVGViewElement.h:
              * ksvg2/svg/SVGZoomAndPan.h:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.h:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocumentLoader.h:
              * loader/Request.h:
              * loader/SubresourceLoader.h:
              * loader/icon/IconDataCache.h:
              * loader/icon/IconDatabase.h:
              * loader/icon/IconLoader.h:
              * loader/icon/SQLDatabase.h:
              * loader/icon/SQLStatement.h:
              * loader/icon/SQLTransaction.h:
              * page/Frame.h:
              * page/FrameLoadRequest.h:
              * page/FrameTree.h:
              * page/FrameView.h:
              * page/PageState.h:
              * page/Plugin.h:
              * page/qt/FrameQt.h:
              * page/qt/FrameQtClient.h:
              * platform/Arena.h:
              * platform/ArrayImpl.h:
              * platform/Cursor.h:
              * platform/DeprecatedArray.h:
              * platform/DeprecatedCString.h:
              * platform/FileChooser.h:
              * platform/Font.h:
              * platform/FontCache.h:
              * platform/FontData.h:
              * platform/FontDescription.h:
              * platform/FontFamily.h:
              * platform/GlyphBuffer.h:
              * platform/GlyphMap.h:
              * platform/GlyphWidthMap.h:
              * platform/Logging.h:
              * platform/Pasteboard.h:
              * platform/PlatformString.h:
              * platform/PlugInInfoStore.h:
              * platform/PopupMenu.h:
              * platform/PopupMenuClient.h:
              * platform/ScrollBar.h:
              * platform/ScrollView.h:
              * platform/SearchPopupMenu.h:
              * platform/Shared.h:
              * platform/Sound.h:
              * platform/SystemTime.h:
              * platform/Timer.h:
              * platform/Widget.h:
              * platform/cf/RetainPtr.h:
              * platform/gdk/ChromeClientGdk.h:
              * platform/gdk/FontPlatformData.h:
              * platform/gdk/FrameGdk.h:
              * platform/gdk/KeyboardCodes.h:
              * platform/gdk/RenderPopupMenuGdk.h:
              * platform/gdk/RenderThemeGdk.h:
              * platform/graphics/BitmapImage.h:
              * platform/graphics/Color.h:
              * platform/graphics/FloatPoint.h:
              * platform/graphics/FloatPoint3D.h:
              * platform/graphics/FloatRect.h:
              * platform/graphics/Icon.h:
              * platform/graphics/Image.h:
              * platform/graphics/ImageAnimationObserver.h:
              * platform/graphics/ImageBuffer.h:
              * platform/graphics/ImageSource.h:
              * platform/graphics/IntPoint.h:
              * platform/graphics/IntRect.h:
              * platform/graphics/IntSize.h:
              * platform/graphics/IntSizeHash.h:
              * platform/graphics/PathTraversalState.h:
              * platform/graphics/Pen.h:
              * platform/graphics/qt/ImageDecoderQt.h:
              * platform/graphics/svg/SVGImage.h:
              * platform/graphics/svg/SVGImageEmptyClients.h:
              * platform/graphics/svg/SVGPaintServer.h:
              * platform/graphics/svg/SVGPaintServerGradient.h:
              * platform/graphics/svg/SVGPaintServerLinearGradient.h:
              * platform/graphics/svg/SVGPaintServerPattern.h:
              * platform/graphics/svg/SVGPaintServerRadialGradient.h:
              * platform/graphics/svg/SVGPaintServerSolid.h:
              * platform/graphics/svg/SVGResource.h:
              * platform/graphics/svg/SVGResourceClipper.h:
              * platform/graphics/svg/SVGResourceFilter.h:
              * platform/graphics/svg/SVGResourceMarker.h:
              * platform/graphics/svg/SVGResourceMasker.h:
              * platform/graphics/svg/cg/CgSupport.h:
              * platform/graphics/svg/filters/SVGDistantLightSource.h:
              * platform/graphics/svg/filters/SVGFEBlend.h:
              * platform/graphics/svg/filters/SVGFEColorMatrix.h:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
              * platform/graphics/svg/filters/SVGFEComposite.h:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
              * platform/graphics/svg/filters/SVGFEFlood.h:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
              * platform/graphics/svg/filters/SVGFEImage.h:
              * platform/graphics/svg/filters/SVGFEMerge.h:
              * platform/graphics/svg/filters/SVGFEMorphology.h:
              * platform/graphics/svg/filters/SVGFEOffset.h:
              * platform/graphics/svg/filters/SVGFESpecularLighting.h:
              * platform/graphics/svg/filters/SVGFETile.h:
              * platform/graphics/svg/filters/SVGFETurbulence.h:
              * platform/graphics/svg/filters/SVGFilterEffect.h:
              * platform/graphics/svg/filters/SVGLightSource.h:
              * platform/graphics/svg/filters/SVGPointLightSource.h:
              * platform/graphics/svg/filters/SVGSpotLightSource.h:
              * platform/mac/FontPlatformData.h:
              * platform/mac/PlatformScrollBar.h:
              * platform/network/AuthenticationChallenge.h:
              * platform/network/Credential.h:
              * platform/network/HTTPHeaderMap.h:
              * platform/network/ProtectionSpace.h:
              * platform/network/ResourceError.h:
              * platform/network/ResourceRequest.h:
              * platform/network/ResourceResponse.h:
              * platform/network/cf/FormDataStreamCFNet.h:
              * platform/network/cf/ResourceRequestCFNet.h:
              * platform/network/cf/ResourceResponseCFNet.h:
              * platform/network/gdk/ResourceHandleManager.h:
              * platform/network/mac/AuthenticationMac.h:
              * platform/network/mac/FormDataStreamMac.h:
              * platform/network/qt/ResourceHandleManagerKDE.h:
              * platform/network/qt/ResourceHandleManagerQt.h:
              * platform/network/win/ResourceHandleWin.h:
              * platform/qt/FontPlatformData.h:
              * platform/qt/KeyboardCodes.h:
              * platform/qt/PlatformScrollBar.h:
              * platform/qt/ScrollViewCanvasQt.h:
              * platform/qt/SharedTimerQt.h:
              * platform/win/FontPlatformData.h:
              * platform/win/PlatformScrollBar.h:
              * rendering/AutoTableLayout.h:
              * rendering/HitTestRequest.h:
              * rendering/HitTestResult.h:
              * rendering/InlineBox.h:
              * rendering/InlineFlowBox.h:
              * rendering/Length.h:
              * rendering/ListMarkerBox.h:
              * rendering/RenderBox.h:
              * rendering/RenderMenuList.h:
              * rendering/RenderPart.h:
              * rendering/RenderPartObject.h:
              * rendering/RenderPath.h:
              * rendering/RenderReplaced.h:
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGInline.h:
              * rendering/RenderSVGInlineText.h:
              * rendering/RenderSVGTSpan.h:
              * rendering/RenderSVGText.h:
              * rendering/RenderStyle.h:
              * rendering/RenderTableCol.h:
              * rendering/RenderThemeWin.h:
              * rendering/bidi.h:
              * xml/DOMParser.h:
              * xml/XPathEvaluator.h:
              * xml/XPathExpression.h:
              * xml/XPathExpressionNode.h:
              * xml/XPathFunctions.h:
              * xml/XPathNSResolver.h:
              * xml/XPathNamespace.h:
              * xml/XPathParser.h:
              * xml/XPathPath.h:
              * xml/XPathPredicate.h:
              * xml/XPathResult.h:
              * xml/XPathStep.h:
              * xml/XPathUtil.h:
              * xml/XPathValue.h:
              * xml/XPathVariableReference.h:
              * xml/XSLImportRule.h:
              * xml/XSLStyleSheet.h:
              * xml/XSLTProcessor.h:
              * xml/xmlhttprequest.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8eddecf9
  4. 11 Jan, 2007 1 commit
    • beidson's avatar
      WebCore: · d0d91260
      beidson authored
              Reviewed by Anders
      
              Rewrites HTTP Authentication setting up a more platform-independent structure
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::didReceiveAuthenticationChallenge):
              (WebCore::FrameLoader::didCancelAuthenticationChallenge):
              * loader/FrameLoader.h:
              * loader/FrameLoaderClient.h:
              * loader/ResourceLoader.cpp:
              (WebCore::ResourceLoader::ResourceLoader):
              (WebCore::ResourceLoader::didCancel):
              * loader/ResourceLoader.h:
              (WebCore::ResourceLoader::didReceiveAuthenticationChallenge):
              (WebCore::ResourceLoader::didCancelAuthenticationChallenge):
              (WebCore::ResourceLoader::receivedCredential):
              (WebCore::ResourceLoader::receivedRequestToContinueWithoutCredential):
              (WebCore::ResourceLoader::receivedCancellation):
              * loader/mac/FrameLoaderMac.mm:
              * loader/mac/ResourceLoaderMac.mm:
              (WebCore::ResourceLoader::didReceiveAuthenticationChallenge):
              (WebCore::ResourceLoader::didCancelAuthenticationChallenge):
              (WebCore::ResourceLoader::receivedCredential):
              (WebCore::ResourceLoader::receivedRequestToContinueWithoutCredential):
              (WebCore::ResourceLoader::receivedCancellation):
              * platform/graphics/svg/SVGImageEmptyClients.h:
              (WebCore::SVGEmptyFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
              (WebCore::SVGEmptyFrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
              * platform/network/ResourceHandleClient.h:
              (WebCore::ResourceHandleClient::willSendRequest):
              (WebCore::ResourceHandleClient::didReceiveAuthenticationChallenge):
              (WebCore::ResourceHandleClient::didCancelAuthenticationChallenge):
              (WebCore::ResourceHandleClient::receivedCredential):
              (WebCore::ResourceHandleClient::receivedRequestToContinueWithoutCredential):
              (WebCore::ResourceHandleClient::receivedCancellation):
              (WebCore::ResourceHandleClient::willCacheResponse):
              * platform/network/ResourceResponse.h:
              (WebCore::operator!=):
              * platform/network/URLAuthenticationChallenge.cpp: Added.
              (WebCore::URLAuthenticationChallenge::URLAuthenticationChallenge):
              (WebCore::URLAuthenticationChallenge::previousFailureCount):
              (WebCore::URLAuthenticationChallenge::proposedCredential):
              (WebCore::URLAuthenticationChallenge::protectionSpace):
              (WebCore::URLAuthenticationChallenge::failureResponse):
              (WebCore::URLAuthenticationChallenge::error):
              (WebCore::URLAuthenticationChallenge::isNull):
              (WebCore::URLAuthenticationChallenge::nullify):
              (WebCore::operator==):
              (WebCore::operator!=):
              * platform/network/URLAuthenticationChallenge.h: Added.
              (WebCore::URLAuthenticationChallenge::sender):
              (WebCore::URLAuthenticationChallenge::nsURLAuthenticationChallenge):
              * platform/network/URLCredential.cpp: Added.
              (WebCore::URLCredential::URLCredential):
              (WebCore::URLCredential::user):
              (WebCore::URLCredential::password):
              (WebCore::URLCredential::hasPassword):
              (WebCore::URLCredential::persistence):
              (WebCore::operator==):
              * platform/network/URLCredential.h: Added.
              (WebCore::):
              (WebCore::operator!=):
              * platform/network/URLProtectionSpace.cpp: Added.
              (WebCore::URLProtectionSpace::URLProtectionSpace):
              (WebCore::URLProtectionSpace::host):
              (WebCore::URLProtectionSpace::port):
              (WebCore::URLProtectionSpace::serverType):
              (WebCore::URLProtectionSpace::realm):
              (WebCore::URLProtectionSpace::authenticationScheme):
              (WebCore::operator==):
              * platform/network/URLProtectionSpace.h: Added.
              (WebCore::):
              (WebCore::operator!=):
              * platform/network/mac/AuthenticationMac.h: Added.
              * platform/network/mac/AuthenticationMac.mm: Added.
              (WebCore::URLAuthenticationChallenge::URLAuthenticationChallenge):
              (WebCore::mac):
              (WebCore::core):
              * platform/network/mac/ResourceHandleMac.mm:
              (-[WebCoreResourceHandleAsDelegate connection:didReceiveAuthenticationChallenge:]):
              (-[WebCoreResourceHandleAsDelegate connection:didCancelAuthenticationChallenge:]):
              (-[WebCoreResourceHandleAsDelegate useCredential:forAuthenticationChallenge:]):
              (-[WebCoreResourceHandleAsDelegate continueWithoutCredentialForAuthenticationChallenge:]):
              (-[WebCoreResourceHandleAsDelegate cancelAuthenticationChallenge:]):
              * platform/network/mac/ResourceResponseMac.mm:
              (WebCore::operator==):
      
      WebKit:
      
              Reviewed by Anders
      
              Rewrites HTTP Authentication setting up a more platform-independent structure
      
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
              (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
              * WebKit.xcodeproj/project.pbxproj:
      
      WebKitQt:
      
              Keep the fancy new FrameLoaderClientQt building with a small api change in WebCore
              Yay for the loader on QT!
      
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
              (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
              * WebCoreSupport/FrameLoaderClientQt.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0d91260
  5. 11 Jun, 2006 1 commit
    • andersca's avatar
      WebCore: · c79dba31
      andersca authored
      2006-06-11  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Geoff.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9390
              Move full-frame plugins to WebCore
              
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              Add PluginDocument
              
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::redirectDataToPlugin):
              Call the bridge.
              
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              Add redirectDataToPlugin which is used to redirect incoming data
              to a plugin.
              
              * bridge/mac/WebCoreViewFactory.h:
              Add pluginSupportsMIMEType which returns whether any plugins support a given MIME type.
              
              * dom/DOMImplementation.cpp:
              * dom/DOMImplementation.h:
              Get rid of createTextDocument and just create a text document explicitly when needed.
              
              * dom/Document.h:
              (WebCore::Document::isPluginDocument):
              * loader/PluginDocument.cpp: Added.
              (WebCore::PluginTokenizer::PluginTokenizer):
              (WebCore::PluginTokenizer::wantsRawData):
              (WebCore::PluginTokenizer::write):
              (WebCore::PluginTokenizer::createDocumentStructure):
              (WebCore::PluginTokenizer::writeRawData):
              (WebCore::PluginTokenizer::stopParsing):
              (WebCore::PluginTokenizer::finish):
              (WebCore::PluginTokenizer::isWaitingForScripts):
              (WebCore::PluginDocument::PluginDocument):
              (WebCore::PluginDocument::createTokenizer):
              * loader/PluginDocument.h: Added.
              (WebCore::PluginDocument::isPluginDocument):
              Add PluginDocument.
              
              * page/Frame.cpp:
              (WebCore::Frame::begin):
              Possibly create a plugin document.
              
              * page/Frame.h:
              (WebCore::Frame::redirectDataToPlugin):
              Add declaration.
              
              * platform/PlugInInfoStore.h:
              * platform/mac/PlugInInfoStoreMac.mm:
              (WebCore::PlugInInfoStore::supportsMIMEType):
              Ask WebCoreViewFactory if the MIME type is supported.
      
      WebKit:
      
      2006-06-11  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Tim.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9390
              Move full-frame plugins to WebCore
      
              * Plugins/WebBaseNetscapePluginStream.h:
              * Plugins/WebBaseNetscapePluginStream.m:
              (-[WebBaseNetscapePluginStream instance]):
              Add instance method which returns the plugin instance.
              
              * Plugins/WebBasePluginPackage.h:
              Add WebPluginManualLoader protocol
              
              * Plugins/WebNetscapePluginDocumentView.h: Removed.
              * Plugins/WebNetscapePluginDocumentView.m: Removed.
      
              * Plugins/WebNetscapePluginEmbeddedView.h:
              * Plugins/WebNetscapePluginEmbeddedView.m:
              (-[WebNetscapePluginEmbeddedView initWithFrame:plugin:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:]):
              (-[WebNetscapePluginEmbeddedView dealloc]):
              (-[WebNetscapePluginEmbeddedView didStart]):
              (-[WebNetscapePluginEmbeddedView pluginView:receivedResponse:]):
              (-[WebNetscapePluginEmbeddedView pluginView:receivedData:]):
              (-[WebNetscapePluginEmbeddedView pluginView:receivedError:]):
              (-[WebNetscapePluginEmbeddedView pluginViewFinishedLoading:]):
              (-[WebNetscapePluginEmbeddedView redeliverStream]):
              Make WebNetscapePluginEmbeddedView support the WebPluginManualLoader protocol. It creates a plugin stream and feeds the
              data manually. Much of this code has been copied from WebNetscapePluginRepresentation.
      
              * Plugins/WebNetscapePluginRepresentation.h: Removed.
              * Plugins/WebNetscapePluginRepresentation.m: Removed.
      
              * Plugins/WebPluginController.h:
              * Plugins/WebPluginController.m:
              (-[WebPluginController pluginView:receivedResponse:]):
              (-[WebPluginController pluginView:receivedData:]):
              (-[WebPluginController pluginView:receivedError:]):
              (-[WebPluginController pluginViewFinishedLoading:]):
              Make WebPluginController support the WebPluginManualLoader protocol so it can feed data manually to WebKit plugins.
      
              * Plugins/WebPluginDatabase.m:        
              (-[WebPluginDatabase refresh]):
              Use WebHTMLView and WebHTMLRepresentation when registering/unregistering plug-in MIME types.
              
              * Plugins/WebPluginDocumentView.h: Removed.
              * Plugins/WebPluginDocumentView.m: Removed.
      
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge pluginViewWithPackage:attributeNames:attributeValues:baseURL:DOMElement:loadManually:]):
              (-[WebFrameBridge viewForPluginWithURL:attributeNames:attributeValues:MIMEType:DOMElement:loadManually:]):
              Add loadManually argument.
              
              (-[WebFrameBridge redirectDataToPlugin:]):
              Call down to the HTML representation.
              
              (-[WebFrameBridge viewForJavaAppletWithFrame:attributeNames:attributeValues:baseURL:DOMElement:]):
              Pass NO to loadManually.
              
              (-[WebFrameBridge determineObjectFromMIMEType:URL:]):
              Explicitly check if the MIME type is supported by a plug-in instead of checking the view class.
              
              * WebCoreSupport/WebViewFactory.m:
              (-[WebViewFactory pluginSupportsMIMEType:]):
              New function which returns whether any plugins support a given MIME type.
              
              * WebKit.xcodeproj/project.pbxproj:
              Update for removed files.
              
              * WebView/WebFrame.m:
              (-[WebFrame _reloadForPluginChanges]):
              Remove view type checks.
              
              (-[WebFrame _recursive_pauseNullEventsForAllNetscapePlugins]):
              (-[WebFrame _recursive_resumeNullEventsForAllNetscapePlugins]):
              Remove FIXME comments.
              
              * WebView/WebHTMLRepresentation.m:
              (-[WebHTMLRepresentation _redirectDataToManualLoader:forPluginView:]):        
              New function which redirects incoming data to a manual loader.
              
              (-[WebHTMLRepresentation receivedData:withDataSource:]):
              (-[WebHTMLRepresentation receivedError:withDataSource:]):
              (-[WebHTMLRepresentation finishedLoadingWithDataSource:]):
              Optionally redirect incoming data.
              
              * WebView/WebHTMLRepresentationPrivate.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c79dba31
  6. 09 May, 2006 1 commit
    • mjs's avatar
      JavaScriptCore: · bb863518
      mjs authored
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * bindings/c/c_instance.cpp:
              * bindings/objc/WebScriptObject.mm:
              * kjs/JSImmediate.h:
              * kjs/Parser.cpp:
              * kjs/Parser.h:
              * kjs/array_object.cpp:
              * kjs/collector.cpp:
              (KJS::Collector::registerThread):
              * kjs/collector.h:
              * kjs/config.h:
              * kjs/function.cpp:
              (KJS::isStrWhiteSpace):
              * kjs/function.h:
              * kjs/identifier.cpp:
              * kjs/internal.cpp:
              * kjs/internal.h:
              * kjs/lexer.cpp:
              (Lexer::shift):
              (Lexer::isWhiteSpace):
              (Lexer::isIdentStart):
              (Lexer::isIdentPart):
              * kjs/lookup.cpp:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/number_object.cpp:
              * kjs/object.h:
              * kjs/property_map.cpp:
              * kjs/property_map.h:
              * kjs/string_object.cpp:
              (StringProtoFunc::callAsFunction):
              * kjs/testkjs.cpp:
              (testIsInteger):
              * kjs/ustring.cpp:
              * kjs/ustring.h:
              * kxmlcore: Removed.
              * kxmlcore/AlwaysInline.h: Removed.
              * kxmlcore/Assertions.cpp: Removed.
              * kxmlcore/Assertions.h: Removed.
              * kxmlcore/FastMalloc.cpp: Removed.
              * kxmlcore/FastMalloc.h: Removed.
              * kxmlcore/FastMallocInternal.h: Removed.
              * kxmlcore/Forward.h: Removed.
              * kxmlcore/HashCountedSet.h: Removed.
              * kxmlcore/HashFunctions.h: Removed.
              * kxmlcore/HashMap.h: Removed.
              * kxmlcore/HashSet.h: Removed.
              * kxmlcore/HashTable.cpp: Removed.
              * kxmlcore/HashTable.h: Removed.
              * kxmlcore/HashTraits.h: Removed.
              * kxmlcore/ListRefPtr.h: Removed.
              * kxmlcore/Noncopyable.h: Removed.
              * kxmlcore/OwnArrayPtr.h: Removed.
              * kxmlcore/OwnPtr.h: Removed.
              * kxmlcore/PassRefPtr.h: Removed.
              * kxmlcore/Platform.h: Removed.
              * kxmlcore/RefPtr.h: Removed.
              * kxmlcore/TCPageMap.h: Removed.
              * kxmlcore/TCSpinLock.h: Removed.
              * kxmlcore/TCSystemAlloc.cpp: Removed.
              * kxmlcore/TCSystemAlloc.h: Removed.
              * kxmlcore/UnusedParam.h: Removed.
              * kxmlcore/Vector.h: Removed.
              * kxmlcore/VectorTraits.h: Removed.
              * kxmlcore/unicode: Removed.
              * kxmlcore/unicode/Unicode.h: Removed.
              * kxmlcore/unicode/UnicodeCategory.h: Removed.
              * kxmlcore/unicode/icu: Removed.
              * kxmlcore/unicode/icu/UnicodeIcu.h: Removed.
              * kxmlcore/unicode/posix: Removed.
              * kxmlcore/unicode/qt3: Removed.
              * kxmlcore/unicode/qt4: Removed.
              * kxmlcore/unicode/qt4/UnicodeQt4.h: Removed.
              * pcre/pcre_get.c:
              * wtf: Added.
              * wtf/Assertions.cpp:
              * wtf/Assertions.h:
              * wtf/FastMalloc.cpp:
              (WTF::TCMalloc_ThreadCache::Scavenge):
              (WTF::do_malloc):
              (WTF::do_free):
              (WTF::TCMallocGuard::TCMallocGuard):
              (WTF::malloc):
              (WTF::free):
              (WTF::calloc):
              (WTF::cfree):
              (WTF::realloc):
              * wtf/FastMalloc.h:
              * wtf/FastMallocInternal.h:
              * wtf/Forward.h:
              * wtf/HashCountedSet.h:
              * wtf/HashFunctions.h:
              * wtf/HashMap.h:
              * wtf/HashSet.h:
              * wtf/HashTable.cpp:
              * wtf/HashTable.h:
              * wtf/HashTraits.h:
              * wtf/ListRefPtr.h:
              * wtf/Noncopyable.h:
              * wtf/OwnArrayPtr.h:
              * wtf/OwnPtr.h:
              * wtf/PassRefPtr.h:
              * wtf/RefPtr.h:
              * wtf/TCSystemAlloc.cpp:
              (TCMalloc_SystemAlloc):
              * wtf/Vector.h:
              * wtf/VectorTraits.h:
              * wtf/unicode/UnicodeCategory.h:
              * wtf/unicode/icu/UnicodeIcu.h:
      
      JavaScriptGlue:
      
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * config.h:
              * kxmlcore: Removed.
              * kxmlcore/AlwaysInline.h: Removed.
              * kxmlcore/Assertions.h: Removed.
              * kxmlcore/FastMalloc.h: Removed.
              * kxmlcore/Forward.h: Removed.
              * kxmlcore/HashCountedSet.h: Removed.
              * kxmlcore/HashSet.h: Removed.
              * kxmlcore/Noncopyable.h: Removed.
              * kxmlcore/OwnArrayPtr.h: Removed.
              * kxmlcore/OwnPtr.h: Removed.
              * kxmlcore/PassRefPtr.h: Removed.
              * kxmlcore/Platform.h: Removed.
              * kxmlcore/RefPtr.h: Removed.
              * kxmlcore/Vector.h: Removed.
              * wtf: Added.
      
      WebCore:
      
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * ForwardingHeaders/kxmlcore: Removed.
              * ForwardingHeaders/kxmlcore/AlwaysInline.h: Removed.
              * ForwardingHeaders/kxmlcore/Assertions.h: Removed.
              * ForwardingHeaders/kxmlcore/FastMalloc.h: Removed.
              * ForwardingHeaders/kxmlcore/Forward.h: Removed.
              * ForwardingHeaders/kxmlcore/HashCountedSet.h: Removed.
              * ForwardingHeaders/kxmlcore/HashMap.h: Removed.
              * ForwardingHeaders/kxmlcore/HashSet.h: Removed.
              * ForwardingHeaders/kxmlcore/HashTraits.h: Removed.
              * ForwardingHeaders/kxmlcore/Noncopyable.h: Removed.
              * ForwardingHeaders/kxmlcore/OwnArrayPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/OwnPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/PassRefPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/Platform.h: Removed.
              * ForwardingHeaders/kxmlcore/RefPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/Vector.h: Removed.
              * ForwardingHeaders/wtf: Added.
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/kjs_binding.cpp:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOMImplementationFront.h:
              * bridge/JavaAppletWidget.h:
              * bridge/mac/WebCoreFrameNamespaces.mm:
              * bridge/mac/WebCorePageBridge.mm:
              (initializeLogChannel):
              * bridge/mac/WebCoreStringTruncator.mm:
              * bridge/mac/WebCoreViewFactory.m:
              * config.h:
              * css/css_base.h:
              * css/css_valueimpl.h:
              * css/csshelper.cpp:
              * css/cssparser.h:
              * dom/DOMImplementation.h:
              * dom/Document.h:
              * dom/NamedNodeMap.h:
              * dom/Node.h:
              * dom/NodeList.h:
              * dom/QualifiedName.cpp:
              * dom/Range.h:
              * dom/StyledElement.cpp:
              * dom/dom2_traversalimpl.h:
              * dom/xml_tokenizer.h:
              * editing/RebalanceWhitespaceCommand.cpp:
              * editing/RemoveCSSPropertyCommand.cpp:
              * editing/RemoveNodeAttributeCommand.cpp:
              * editing/RemoveNodeCommand.cpp:
              * editing/RemoveNodePreservingChildrenCommand.cpp:
              * editing/ReplaceSelectionCommand.h:
              * editing/Selection.cpp:
              * editing/SetNodeAttributeCommand.cpp:
              * editing/SplitElementCommand.cpp:
              * editing/SplitTextNodeCommand.cpp:
              * editing/SplitTextNodeContainingElementCommand.cpp:
              * editing/TextIterator.h:
              * editing/htmlediting.h:
              * editing/markup.h:
              * html/CanvasGradient.h:
              * html/CanvasRenderingContext2D.h:
              * html/CanvasStyle.cpp:
              * html/HTMLCollection.h:
              * html/HTMLElementFactory.h:
              * kcanvas/KCanvasFilters.cpp:
              * kcanvas/KCanvasPath.h:
              * kcanvas/RenderPath.cpp:
              * kcanvas/RenderSVGImage.cpp:
              * kcanvas/RenderSVGText.cpp:
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              * kcanvas/device/quartz/QuartzSupport.mm:
              * ksvg2/misc/KSVGTimeScheduler.h:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/scripts/make_names.pl:
              * ksvg2/svg/SVGDOMImplementation.cpp:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
              * ksvg2/svg/SVGForeignObjectElement.cpp:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGStyledElement.cpp:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransformable.cpp:
              * kwq/AccessibilityObjectCache.h:
              * kwq/KWQCString.cpp:
              * kwq/KWQFormData.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQResourceLoader.mm:
              * kwq/KWQTextEdit.mm:
              * loader/Cache.h:
              * loader/CachedObject.h:
              * loader/CachedObjectClientWalker.h:
              * loader/Decoder.h:
              * loader/DocLoader.h:
              * loader/loader.cpp:
              * loader/loader.h:
              * page/DOMWindow.h:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameTree.cpp:
              * page/Page.cpp:
              * page/Page.h:
              * page/Plugin.h:
              * platform/Arena.cpp:
              * platform/ArrayImpl.h:
              * platform/AtomicString.cpp:
              * platform/CharsetNames.cpp:
              * platform/Color.cpp:
              * platform/DeprecatedPtrListImpl.cpp:
              * platform/DeprecatedValueListImpl.h:
              * platform/FontFallbackList.h:
              * platform/GraphicsContext.h:
              * platform/GraphicsTypes.cpp:
              * platform/Image.h:
              * platform/KURL.cpp:
              * platform/Logging.cpp:
              * platform/Logging.h:
              * platform/PlatformString.h:
              * platform/PlugInInfoStore.h:
              * platform/StreamingTextDecoder.cpp:
              * platform/StreamingTextDecoder.h:
              * platform/String.cpp:
              * platform/StringHash.h:
              * platform/StringImpl.cpp:
              * platform/StringImpl.h:
              * platform/TextEncoding.cpp:
              * platform/Timer.cpp:
              * platform/Timer.h:
              * platform/TransferJob.h:
              * platform/TransferJobInternal.h:
              * platform/mac/BlockExceptions.mm:
              * platform/mac/ColorMac.mm:
              * platform/mac/FontData.mm:
              * platform/mac/KURLMac.mm:
              * platform/mac/QStringMac.mm:
              * platform/mac/SharedTimerMac.cpp:
              * platform/mac/TextEncodingMac.cpp:
              * platform/mac/WebCoreImageRendererFactory.m:
              * platform/mac/WebCoreKeyGenerator.m:
              * platform/mac/WebCoreTextArea.mm:
              * platform/mac/WebCoreTextField.mm:
              * platform/mac/WebTextRendererFactory.h:
              * platform/mac/WebTextRendererFactory.mm:
              * platform/win/TemporaryLinkStubs.cpp:
              (JavaAppletWidget::JavaAppletWidget):
              * rendering/InlineTextBox.cpp:
              * rendering/RenderText.cpp:
              * rendering/RenderTreeAsText.cpp:
              * rendering/bidi.cpp:
              * xml/XSLTProcessor.h:
              * xpath/impl/XPathExpressionNode.h:
              * xpath/impl/XPathParser.h:
              * xpath/impl/XPathPath.h:
              * xpath/impl/XPathUtil.h:
      
      WebKit:
      
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * Misc/WebKitLogging.h:
              * Misc/WebKitLogging.m:
              (initializeLogChannel):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb863518
  7. 27 Feb, 2006 3 commits
    • eseidel's avatar
      2006-02-27 Eric Seidel <eseidel@apple.com> · 4927d4b9
      eseidel authored
              Reviewed by hyatt.
      
              Fix a bunch more link errors in the win32 build, mostly by adding stubs.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: add JSXMLHttpRequest and PlugInInfoStore
              * WebCore.vcproj/WebCore/build-generated-files.sh: update for JSXMLHttpRequest
              * khtml/ecma/JSXMLHttpRequest.cpp:
              (KJS::JSXMLHttpRequest::getValueProperty): fix switch to compile
              * platform/PlugInInfoStore.h:
              * platform/mac/PlugInInfoStoreMac.mm:
              * platform/win/TemporaryLinkStubs.cpp: add a bunch of stubs.
              (WebCore::TransferJob::errorText):
              (WebCore::TransferJob::isErrorPage):
              (WebCore::Widget::hide):
              (PlugInInfoStore::createPluginInfoForPluginAtIndex):
              (PlugInInfoStore::pluginCount):
              (WebCore::refreshPlugins):
              (QFont::QFont):
              (QFont::~QFont):
              (QFont::italic):
              (QFont::weight):
              (QFontMetrics::QFontMetrics):
              (QFontMetrics::~QFontMetrics):
              (QFontMetrics::xHeight):
              (Widget::setActiveWindow):
              (WebCore::ScrollView::contentsX):
              (WebCore::ScrollView::contentsY):
              (WebCore::ScrollView::contentsHeight):
              (WebCore::ScrollView::contentsWidth):
              (WebCore::ScrollView::visibleHeight):
              (WebCore::ScrollView::visibleWidth):
              (WebCore::ScrollView::hScrollBarMode):
              (WebCore::ScrollView::vScrollBarMode):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4927d4b9
    • eseidel's avatar
      2006-02-27 Eric Seidel <eseidel@apple.com> · b502dd04
      eseidel authored
              Reviewed by ggaren.
      
              Move KConfig to platform/PlugInInfoStore and add test.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
      
              Test: plugins/plugin-javascript-access.html
      
              * ForwardingHeaders/kconfig.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::PluginBase::PluginBase):
              * khtml/ecma/kjs_window.cpp:
              * kwq/KWQKConfigBase.h: Removed.
              * kwq/KWQKConfigBase.mm: Removed.
              * platform/PlugInInfoStore.h: Added.
              * platform/mac/PlugInInfoStoreMac.mm: Added.
              (WebCore::PlugInInfoStore::createPluginInfoForPluginAtIndex):
              (WebCore::PlugInInfoStore::pluginCount):
              (WebCore::refreshPlugins):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b502dd04
    • eseidel's avatar
      2006-02-27 Eric Seidel <eseidel@apple.com> · 7991caa2
      eseidel authored
              Reviewed by darin.
      
              Reworked KConfig and plugin architecture to be much more sane.
              This is part one.  Once this lands, I'll move it under platform with a better name.
      
              Darin had several great suggested further improvements as part of:
              http://bugzilla.opendarwin.org/show_bug.cgi?id=7451
              I'll make some of those when I move this to platform.
      
              No layout test possible (no way to control which plugins DRT sees).
      
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::PluginBase::PluginBase):
              (KJS::PluginBase::~PluginBase):
              (KJS::PluginBase::refresh):
              (KJS::Plugins::getValueProperty):
              (KJS::Plugins::nameGetter):
              (KJS::Plugins::getOwnPropertySlot):
              (KJS::MimeTypes::getValueProperty):
              (KJS::MimeTypes::nameGetter):
              (KJS::MimeTypes::getOwnPropertySlot):
              (KJS::Plugin::getValueProperty):
              (KJS::Plugin::nameGetter):
              (KJS::Plugin::getOwnPropertySlot):
              * khtml/ecma/kjs_navigator.h:
              * khtml/ecma/kjs_window.cpp:
              * kwq/KWQKConfigBase.h:
              (WebCore::PluginInfoStore::PluginInfoStore):
              * kwq/KWQKConfigBase.mm:
              (WebCore::PluginInfoStore::createPluginInfoForPluginAtIndex):
              (WebCore::PluginInfoStore::pluginCount):
              (WebCore::refreshPlugins):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7991caa2
  8. 07 Feb, 2006 1 commit
    • mjs's avatar
      Rubber stamped by Hyatt. · 9156f8e5
      mjs authored
              - move kwq/KWQString.mm to platform/QString.cpp, split out nonportable parts, speculative
              port of one remaining nonportable bit to windows.
      
              * ForwardingHeaders/qstring.h:
              * WebCore+SVG/KDOMSettings.h:
              * WebCore+SVG/kdom.h:
              * WebCore.xcodeproj/project.pbxproj:
              * css/cssparser.h:
              * css/cssstyleselector.cpp:
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.h:
              * khtml/ecma/kjs_window.h:
              * khtml/editing/html_interchange.cpp:
              * khtml/editing/visible_position.h:
              * khtml/editing/visible_text.h:
              * khtml/editing/visible_units.cpp:
              * khtml/html/FormDataList.h:
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/htmltokenizer.h:
              * khtml/misc/decoder.h:
              * khtml/misc/formdata.h:
              * khtml/xbl/xbl_protohandler.cpp:
              * khtml/xml/dom_position.cpp:
              * khtml/xsl/xslt_processorimpl.h:
              * ksvg2/svg/SVGHelper.h:
              * ksvg2/svg/SVGPreserveAspectRatioImpl.cpp:
              * ksvg2/svg/SVGStyleElementImpl.cpp:
              * ksvg2/svg/SVGURIReferenceImpl.h:
              * ksvg2/svg/svgpathparser.cpp:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQBuffer.h:
              * kwq/KWQEvent.h:
              * kwq/KWQFont.mm:
              * kwq/KWQFontFamily.h:
              * kwq/KWQFontMetrics.h:
              * kwq/KWQKConfigBase.h:
              * kwq/KWQKDebug.h:
              * kwq/KWQKHTMLSettings.h:
              * kwq/KWQKJobClasses.h:
              * kwq/KWQKJobClasses.mm:
              * kwq/KWQKLocale.mm:
              * kwq/KWQKSSLKeyGen.mm:
              * kwq/KWQKURL.h:
              * kwq/KWQLineEdit.h:
              * kwq/KWQRegExp.h:
              * kwq/KWQRenderTreeDebug.h:
              * kwq/KWQString.h: Removed.
              * kwq/KWQString.mm: Removed.
              * kwq/KWQStringList.h:
              * kwq/KWQTextCodec.h:
              * kwq/KWQTextStream.h:
              * kwq/KWQTextUtilities.mm:
              * kwq/WebCoreScriptDebugger.mm:
              * loader/Cache.h:
              * platform/Color.cpp:
              * platform/Color.h:
              * platform/QString.cpp: Added.
              (allocateHandle):
              (KWQStringData::KWQStringData):
              (QString::QString):
              (QString::insert):
              (QString::detach):
              (QString::remove):
              (QString::setLength):
              (QString::fill):
              (initializeHandleNodeBlock):
              (allocateNode):
              (freeHandle):
              * platform/QString.h: Added.
              * platform/SegmentedString.h:
              * platform/StringImpl.h:
              * platform/mac/Image.mm:
              * platform/mac/QString.mm: Added.
              (QString::setBufferFromCFString):
              (QString::fromCFString):
              (QString::fromNSString):
              (QString::getNSString):
              (QString::utf8):
              (QString::fromUtf8):
              * rendering/bidi.h:
              * rendering/break_lines.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9156f8e5
  9. 24 Jan, 2006 1 commit
    • hyatt's avatar
      Fix for bug 6781, convert QColor to Color (and QRgb to RGBA32). r=maciej. · 0cb17725
      hyatt authored
              * ForwardingHeaders/qcolor.h: Removed.
              * WebCore+SVG/KDOMSettings.h:
              * WebCore+SVG/RGBColorImpl.cpp:
              (RGBColorImpl::RGBColorImpl):
              (RGBColorImpl::red):
              (RGBColorImpl::green):
              (RGBColorImpl::blue):
              * WebCore+SVG/RGBColorImpl.h:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/objc/DOMCSS.mm:
              (getWrapperForRGB):
              (setWrapperForRGB):
              (removeWrapperForRGB):
              (-[DOMRGBColor dealloc]):
              (-[DOMRGBColor finalize]):
              (-[DOMRGBColor red]):
              (-[DOMRGBColor green]):
              (-[DOMRGBColor blue]):
              (-[DOMRGBColor _initWithRGB:]):
              (+[DOMRGBColor _RGBColorWithRGB:]):
              (-[DOMRGBColor alpha]):
              (-[DOMRGBColor _color]):
              * bridge/mac/MacFrame.mm:
              (MacFrame::attributedString):
              (MacFrame::fontAttributesForSelectionStart):
              (MacFrame::bodyBackgroundColor):
              (convertAttributesToUnderlines):
              * css/css_valueimpl.cpp:
              (WebCore::CSSPrimitiveValueImpl::CSSPrimitiveValueImpl):
              (WebCore::CSSPrimitiveValueImpl::cssText):
              * css/csshelper.h:
              * css/cssparser.cpp:
              (CSSParser::parseColor):
              (CSSParser::parseColorFromValue):
              * css/cssparser.h:
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::canShareStyleWithElement):
              (WebCore::):
              (WebCore::colorForCSSValue):
              (WebCore::CSSStyleSelector::applyProperty):
              (WebCore::CSSStyleSelector::getColorFromPrimitiveValue):
              * css/cssstyleselector.h:
              * kcanvas/KCanvasFilters.h:
              (KCanvasFEDiffuseLighting::lightingColor):
              (KCanvasFEDiffuseLighting::setLightingColor):
              (KCanvasFEFlood::floodColor):
              (KCanvasFEFlood::setFloodColor):
              (KCanvasFESpecularLighting::lightingColor):
              (KCanvasFESpecularLighting::setLightingColor):
              * kcanvas/KCanvasTreeDebug.cpp:
              (operator<<):
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/device/KRenderingDevice.h:
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              (KCSortedGradientStopList::addStop):
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerSolid.cpp:
              (KRenderingPaintServerSolid::color):
              (KRenderingPaintServerSolid::setColor):
              * kcanvas/device/KRenderingPaintServerSolid.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (ciColor):
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              (setupShadingWithStyle):
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              (KRenderingPaintServerPatternQuartz::setup):
              * khtml/ecma/kjs_css.h:
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::Context2DFunction::callAsFunction):
              (KJS::colorRefFromValue):
              (KJS::colorFromValue):
              (KJS::Context2D::putValueProperty):
              (KJS::GradientFunction::callAsFunction):
              * khtml/ecma/kjs_html.h:
              * khtml/editing/apply_style_command.cpp:
              (WebCore::StyleChange::checkForLegacyHTMLStyleChange):
              * khtml/html/html_baseimpl.cpp:
              (WebCore::HTMLBodyElementImpl::parseMappedAttribute):
              * khtml/misc/helper.h:
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::DocumentImpl):
              (WebCore::DocumentImpl::resetLinkColor):
              (WebCore::DocumentImpl::resetVisitedLinkColor):
              * khtml/xml/DocumentImpl.h:
              (WebCore::DocumentImpl::setTextColor):
              (WebCore::DocumentImpl::textColor):
              (WebCore::DocumentImpl::linkColor):
              (WebCore::DocumentImpl::visitedLinkColor):
              (WebCore::DocumentImpl::activeLinkColor):
              (WebCore::DocumentImpl::setLinkColor):
              (WebCore::DocumentImpl::setVisitedLinkColor):
              (WebCore::DocumentImpl::setActiveLinkColor):
              * ksvg2/css/SVGCSSStyleSelector.cpp:
              (KDOM::CSSStyleSelector::applySVGProperty):
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (WebCore::KSVGPainterFactory::fillPaintServer):
              * ksvg2/misc/KSVGTimeScheduler.cpp:
              (KSVG::SVGTimer::notifyAll):
              * ksvg2/svg/SVGAnimateColorElementImpl.cpp:
              (SVGAnimateColorElementImpl::handleTimerEvent):
              (SVGAnimateColorElementImpl::clampColor):
              (SVGAnimateColorElementImpl::color):
              (SVGAnimateColorElementImpl::initialColor):
              * ksvg2/svg/SVGAnimateColorElementImpl.h:
              * ksvg2/svg/SVGAnimateElementImpl.cpp:
              (SVGAnimateElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGColorImpl.cpp:
              (SVGColorImpl::setRGBColor):
              (SVGColorImpl::color):
              * ksvg2/svg/SVGColorImpl.h:
              * ksvg2/svg/SVGGradientElementImpl.cpp:
              (SVGGradientElementImpl::rebuildStops):
              * kwq/KWQAccObject.mm:
              (AXAttributeStringSetStyle):
              * kwq/KWQBrush.h:
              (QBrush::QBrush::QBrush):
              (QBrush::color):
              (QBrush::setColor):
              * kwq/KWQColor.h: Removed.
              * kwq/KWQColor.mm: Removed.
              * kwq/KWQColorData.gperf: Removed.
              * kwq/KWQKConfigBase.h:
              * kwq/KWQKConfigBase.mm:
              (KConfig::readColorEntry):
              * kwq/KWQLineEdit.mm:
              (QLineEdit::setPalette):
              * kwq/KWQNamespace.h:
              (Qt::):
              * kwq/KWQObject.h:
              * kwq/KWQPainter.h:
              * kwq/KWQPainter.mm:
              (QPainter::setPen):
              (QPainter::setBrush):
              (QPainter::drawText):
              (QPainter::drawHighlightForText):
              (QPainter::selectedTextBackgroundColor):
              (_fillRectXX):
              (QPainter::setShadow):
              (QPainter::initFocusRing):
              * kwq/KWQPalette.h:
              (QColorGroup::QColorGroup):
              (QColorGroup::color):
              (QColorGroup::setColor):
              (QColorGroup::background):
              (QColorGroup::foreground):
              (QColorGroup::base):
              (QPalette::QPalette):
              (QPalette::background):
              (QPalette::foreground):
              * kwq/KWQPen.cpp:
              (QPen::QPen):
              (QPen::color):
              (QPen::setColor):
              * kwq/KWQPen.h:
              * kwq/KWQRenderTreeDebug.cpp:
              (operator<<):
              * kwq/KWQTextEdit.mm:
              (QTextEdit::setPalette):
              * loader/CachedImage.cpp:
              (WebCore::CachedImage::tiled_pixmap):
              * loader/CachedImage.h:
              * page/Frame.cpp:
              (Frame::paint):
              * page/Frame.h:
              (MarkedTextUnderline::MarkedTextUnderline):
              * platform/Color.cpp: Added.
              (WebCore::makeRGB):
              (WebCore::makeRGBA):
              (WebCore::parseHexColor):
              (WebCore::Color::Color):
              (WebCore::Color::name):
              (WebCore::Color::setNamedColor):
              (WebCore::Color::hsv):
              (WebCore::Color::setHsv):
              (WebCore::Color::light):
              (WebCore::Color::dark):
              (WebCore::Color::getRgbaF):
              * platform/Color.h: Added.
              (WebCore::Color::Color):
              (WebCore::Color::rgb):
              (WebCore::Color::setRgb):
              (WebCore::operator==):
              (WebCore::operator!=):
              * platform/ColorData.gperf: Added.
              * rendering/InlineTextBox.cpp:
              (khtml::simpleDifferenceBetweenColors):
              (khtml::correctedTextColor):
              (khtml::InlineTextBox::paint):
              (khtml::InlineTextBox::paintSelection):
              (khtml::InlineTextBox::paintMarkedTextBackground):
              (khtml::InlineTextBox::paintDecoration):
              * rendering/RenderTable.h:
              (WebCore::RenderTable::bgColor):
              * rendering/RenderTableCell.cpp:
              (WebCore::outlineBox):
              (WebCore::RenderTableCell::paintBoxDecorations):
              * rendering/font.cpp:
              (khtml::Font::drawHighlightForText):
              (khtml::Font::drawText):
              * rendering/font.h:
              * rendering/render_box.cpp:
              (WebCore::RenderBox::paintRootBoxDecorations):
              (WebCore::RenderBox::paintBackgrounds):
              (WebCore::RenderBox::paintBackground):
              (WebCore::RenderBox::paintBackgroundExtended):
              (WebCore::RenderBox::outlineBox):
              * rendering/render_box.h:
              * rendering/render_flow.cpp:
              (RenderFlow::paintFocusRing):
              (RenderFlow::paintOutlineForLine):
              * rendering/render_form.cpp:
              (RenderFieldset::paintBorderMinusLegend):
              * rendering/render_frames.cpp:
              (WebCore::RenderFrameSet::userResize):
              * rendering/render_image.cpp:
              (WebCore::RenderImage::paint):
              * rendering/render_layer.h:
              * rendering/render_line.cpp:
              (WebCore::InlineFlowBox::paintBackgrounds):
              (WebCore::InlineFlowBox::paintBackground):
              (WebCore::InlineFlowBox::paintBackgroundAndBorder):
              (WebCore::InlineFlowBox::paintDecorations):
              (WebCore::EllipsisBox::paint):
              * rendering/render_line.h:
              * rendering/render_list.cpp:
              (RenderListMarker::paint):
              * rendering/render_object.cpp:
              (WebCore::RenderObject::drawBorder):
              (WebCore::RenderObject::paintBorder):
              (WebCore::RenderObject::paintOutline):
              (WebCore::RenderObject::selectionColor):
              (WebCore::RenderObject::getTextDecorationColors):
              * rendering/render_object.h:
              (WebCore::RenderObject::paintBackgroundExtended):
              * rendering/render_replaced.cpp:
              (WebCore::RenderReplaced::selectionColor):
              * rendering/render_replaced.h:
              * rendering/render_style.h:
              (khtml::BorderValue::isTransparent):
              (khtml::CollapsedBorderValue::color):
              (khtml::RenderStyle::hasBackground):
              (khtml::RenderStyle::borderLeftColor):
              (khtml::RenderStyle::borderRightColor):
              (khtml::RenderStyle::borderTopColor):
              (khtml::RenderStyle::borderBottomColor):
              (khtml::RenderStyle::outlineColor):
              (khtml::RenderStyle::color):
              (khtml::RenderStyle::backgroundColor):
              (khtml::RenderStyle::setBackgroundColor):
              (khtml::RenderStyle::setBorderLeftColor):
              (khtml::RenderStyle::setBorderRightColor):
              (khtml::RenderStyle::setBorderTopColor):
              (khtml::RenderStyle::setBorderBottomColor):
              (khtml::RenderStyle::setOutlineColor):
              (khtml::RenderStyle::setColor):
              (khtml::RenderStyle::initialColor):
              * rendering/render_theme.cpp:
              (khtml::RenderTheme::isControlStyled):
              * rendering/render_theme.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0cb17725
  10. 04 Dec, 2005 1 commit
    • eseidel's avatar
      Bug #: 5877 · 2928be58
      eseidel authored
      Submitted by: eseidel
      Reviewed by: mjs
              No test cases needed/possible, only removing dead code.
      
              Remove rotten #ifdef'd code from the source:
              APPLE_CHANGES & KHTML_NO_CPLUSPLUS_DOM
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5877
      
              * khtml/dom/css_rule.h:
              (DOM::CSSRule::):
              * khtml/dom/css_stylesheet.h:
              * khtml/dom/css_value.h:
              (DOM::CSSValue::):
              (DOM::CSSPrimitiveValue::):
              * khtml/dom/dom2_events.cpp:
              (DOM::EventListener::handleEventImpl):
              * khtml/dom/dom2_events.h:
              (DOM::Event::):
              (DOM::EventException::):
              (DOM::MutationEvent::):
              * khtml/dom/dom2_range.h:
              (DOM::RangeException::):
              (DOM::Range::):
              * khtml/dom/dom2_traversal.cpp:
              * khtml/dom/dom2_traversal.h:
              (DOM::NodeFilter::):
              * khtml/dom/dom_exception.h:
              (DOM::DOMException::):
              * khtml/dom/dom_misc.cpp:
              (DOM::DomShared::~DomShared):
              * khtml/dom/dom_misc.h:
              (DOM::DomShared::deleteMe):
              * khtml/dom/dom_node.h:
              (DOM::Node::):
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::JSNodeFilterCondition::acceptNode):
              * khtml/khtml_part.cpp:
              (KHTMLPart::stopLoading):
              * khtml/khtml_part.h:
              * khtml/khtmlview.cpp:
              (KHTMLView::viewportMousePressEvent):
              (KHTMLView::focusNextPrevNode):
              * kwq/KWQKConfigBase.h:
              * kwq/KWQKHTMLPageCache.h:
              * kwq/KWQPointArray.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2928be58
  11. 23 May, 2004 1 commit
    • darin's avatar
      Reviewed by Ken. · fb958e8b
      darin authored
              - went through things marked "unimplemented" or "not implemented" and removed
                or implemented as many as possible
      
              * kwq/DOM.mm: (-[DOMNode dispatchEvent:]): Implemented.
              Also moved DOMAbstractView and DOMDocumentView into DOMViews.mm.
              * kwq/DOM-CSS.mm: (-[DOMDocument getComputedStyle::]): Implemented.
      
              * kwq/DOMEventsInternal.h: Added.
              * kwq/DOMEvents.mm:
              (-[DOMEvent type]): Implemented.
              (-[DOMEvent target]): Implemented.
              (-[DOMEvent currentTarget]): Implemented.
              (-[DOMEvent eventPhase]): Implemented.
              (-[DOMEvent bubbles]): Implemented.
              (-[DOMEvent cancelable]): Implemented.
              (-[DOMEvent timeStamp]): Implemented.
              (-[DOMEvent stopPropagation]): Implemented.
              (-[DOMEvent preventDefault]): Implemented.
              (-[DOMEvent initEvent:::]): Implemented.
              (-[DOMEvent _eventImpl]): Added.
              (-[DOMEvent _initWithEventImpl:]): Added.
              (+[DOMEvent _eventWithImpl:]): Added.
              (-[DOMMouseEvent _mouseEventImpl]): Added.
              (-[DOMMouseEvent screenX]): Implemented.
              (-[DOMMouseEvent screenY]): Implemented.
              (-[DOMMouseEvent clientX]): Implemented.
              (-[DOMMouseEvent clientY]): Implemented.
              (-[DOMMouseEvent ctrlKey]): Implemented.
              (-[DOMMouseEvent shiftKey]): Implemented.
              (-[DOMMouseEvent altKey]): Implemented.
              (-[DOMMouseEvent metaKey]): Implemented.
              (-[DOMMouseEvent button]): Implemented.
              (-[DOMMouseEvent relatedTarget]): Implemented.
              (-[DOMMouseEvent initMouseEvent:::::::::::::::]): Implemented.
              (-[DOMMutationEvent _mutationEventImpl]): Added.
              (-[DOMMutationEvent relatedNode]): Implemented.
              (-[DOMMutationEvent prevValue]): Implemented.
              (-[DOMMutationEvent newValue]): Implemented.
              (-[DOMMutationEvent attrName]): Implemented.
              (-[DOMMutationEvent attrChange]): Implemented.
              (-[DOMMutationEvent initMutationEvent::::::::]):
              (-[DOMUIEvent _UIEventImpl]): Added.
              (-[DOMUIEvent view]): Implemented.
              (-[DOMUIEvent detail]): Implemented.
              (-[DOMUIEvent initUIEvent:::::]): Implemented.
              (-[DOMDocument createEvent:]): Implemented.
      
              * kwq/DOMHTMLInternal.h: Added.
              * kwq/DOMHTML.mm:
              (+[DOMHTMLOptionsCollection _optionsCollectionWithImpl:]): Added.
              (-[DOMHTMLOptionsCollection length]): Implemented.
              (-[DOMHTMLOptionsCollection setLength:]): Implemented.
              (-[DOMHTMLOptionsCollection item:]): Implemented.
              (-[DOMHTMLOptionsCollection namedItem:]): Implemented.
              (-[DOMHTMLSelectElement options]): Implemented.
      
              * kwq/DOMViews.h: Changed DOMDocumentView to be a category on DOMDocument
              rather than a separate class.
              * kwq/DOMViewsInternal.h: Added.
              * kwq/DOMViews.mm: Added.
              (-[DOMAbstractView document]): Implemnted.
              (-[DOMAbstractView _abstractViewImpl]): Added.
              (-[DOMAbstractView _initWithAbstractViewImpl:]): Added.
              (+[DOMAbstractView _abstractViewWithImpl:]): Added.
              (-[DOMDocument defaultView]): Implemented.
      
              * khtml/dom/dom2_views.h: Made AbstractView constructor public to allow creation in
              the bindings. Would not be necessary if the impl classes were used consistently.
      
              * khtml/html/html_formimpl.h: Added options() function to HTMLSelectElementImpl.
              Added HTMLOptionsCollectionImpl class.
              * khtml/html/html_formimpl.cpp:
              (HTMLSelectElementImpl::~HTMLSelectElementImpl): Added code to detach and deref the
              options collection.
              (HTMLSelectElementImpl::options): Create an options collection if needed.
              (HTMLOptionsCollectionImpl::length): Added. Not yet implemented.
              (HTMLOptionsCollectionImpl::setLength): Ditto.
              (HTMLOptionsCollectionImpl::item): Ditto.
              (HTMLOptionsCollectionImpl::namedItem): Ditto.
      
              * khtml/khtmlview.h: Move unused focusNextPrevChild virtual function inside !APPLE_CHANGES.
              * khtml/khtmlview.cpp: Put the tp, paintBuffer, and formCompletions fields entirely
              inside !APPLE_CHANGES. Also made QT_NO_TOOLTIP entirely disable the tooltip field.
              Also put focusNextPrevChild and formCompletionItems functions inside !APPLE_CHANGES.
      
              * khtml/rendering/render_text.h: Removed unused isFixedWidthFont member function.
              * khtml/rendering/render_text.cpp: Ditto.
      
              * kwq/KWQCursor.h: Removed unused pos member function.
              * kwq/KWQCursor.mm: Ditto.
      
              * kwq/KWQFontMetrics.h: Removed unused rightBearing and leftBearing member functions.
              * kwq/KWQFontMetrics.mm: Ditto.
      
              * kwq/KWQKComboBox.h: Removed KCompletionBase as a base class.
      
              * kwq/KWQKConfigBase.h: Removed unused readBoolEntry, writeEntry, and readListEntry
              member functions.
              * kwq/KWQKConfigBase.mm: Ditto.
              (KConfig::readEntry): Improved "not implemented" message to indicate which key is uinimplemented.
              (KConfig::readNumEntry): Ditto.
              (KConfig::readUnsignedNumEntry): Ditto.
      
              * kwq/KWQKLineEdit.h: Removed everything, since all the KLineEdit stuff was unused.
              Changed KLineEdit to just be a typedef for QLineEdit.
      
              * kwq/KWQSlot.mm: Removed slotAutoScroll.
              (KWQSlot::KWQSlot): And from here.
              (KWQSlot::call): And from here.
      
              * kwq/KWQTextStream.h: Removed unused QTextOStream and QTextIStream.
              * kwq/KWQTextStream.mm: Removed unused QTextIStream function. Also made buffer sizes larger
              so we don't have any problems on 64-bit systems. 10 bytes might not be long enough to sprintf an
              integer or a long or a pointer, but 100 bytes surely will.
      
              * kwq/KWQWidget.h: Removed unused focusNextPrevChild.
              * kwq/KWQWidget.mm: Ditto.
      
              * WebCore.pbproj/project.pbxproj: Removed some files, added others.
      
              * ForwardingHeaders/kcompletionbox.h: Emptied out, no KWQKCompletionBox.h any more.
              * ForwardingHeaders/kiconloader.h: Emptied out, no KWQKIconLoader.h any more.
              * ForwardingHeaders/kmimetype.h: Emptied out, no KWQKMimeType.h any more.
              * ForwardingHeaders/ksimpleconfig.h: Emptied out, no KWQKSimpleConfig.h any more.
              * ForwardingHeaders/qfontinfo.h: Emptied out, no KWQFontInfo.h any more.
              * ForwardingHeaders/qtooltip.h: Replaced with define of QT_NO_TOOLTIP, no
              KWQToolTip.h any more.
      
              * kwq/KWQCompletion.h: Removed.
              * kwq/KWQCompletion.mm: Removed.
              * kwq/KWQFontInfo.h: Removed.
              * kwq/KWQFontInfo.mm: Removed.
              * kwq/KWQKCompletionBox.h: Removed.
              * kwq/KWQKIconLoader.h: Removed.
              * kwq/KWQKIconLoader.mm: Removed.
              * kwq/KWQKMimeType.h: Removed.
              * kwq/KWQKMimeType.mm: Removed.
              * kwq/KWQKSimpleConfig.h: Removed.
              * kwq/KWQKSimpleConfig.mm: Removed.
              * kwq/KWQToolTip.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb958e8b
  12. 09 Oct, 2003 1 commit
    • cblu's avatar
      WebCore: · 077d5564
      cblu authored
      	Fixed: <rdar://problem/3333897>: should support navigator.plugins.refresh as a way to add a plugin without restarting Safari
      
              Reviewed by rjw.
      
              * khtml/ecma/kjs_navigator.cpp:
              (PluginBase::refresh): new
              (PluginsFunc::tryCall): call refresh
              * kwq/KWQKConfigBase.h:
              * kwq/KWQKConfigBase.mm:
              (RefreshPlugins): new
              * kwq/WebCoreViewFactory.h:
      
      WebKit:
      
      	Fixed: <rdar://problem/3333897>: should support navigator.plugins.refresh as a way to add a plugin without restarting Safari
      
              Reviewed by rjw.
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView dealloc]): release the plug-in object
              * Plugins.subproj/WebBasePluginPackage.h:
              * Plugins.subproj/WebBasePluginPackage.m:
              (-[WebBasePluginPackage initWithPath:]): store the last mod date
              (-[WebBasePluginPackage dealloc]): release the last mod date
              (-[WebBasePluginPackage lastModifiedDate]): new
              (-[WebBasePluginPackage isEqual:]): new
              (-[WebBasePluginPackage hash]): new
              * Plugins.subproj/WebNetscapePluginPackage.m:
              (-[WebNetscapePluginPackage load]): convert the NPP_Shutdown proc pointer so that we can use it later
              (-[WebNetscapePluginPackage unload]): added log message
              * Plugins.subproj/WebPluginDatabase.h:
              * Plugins.subproj/WebPluginDatabase.m:
              (-[WebPluginDatabase pluginForKey:withEnumeratorSelector:]): tweak
              (-[WebPluginDatabase plugins]): tweak
              (-[WebPluginDatabase init]): call refresh
              (-[WebPluginDatabase refresh]): new
              (-[WebPluginDatabase loadPluginIfNeededForMIMEType:]): tweak
              * WebCoreSupport.subproj/WebViewFactory.m:
              (-[WebViewFactory refreshPlugins:]): new
              * WebView.subproj/WebControllerSets.h:
              * WebView.subproj/WebControllerSets.m:
              (+[WebViewSets makeWebViewsPerformSelector:]): new
              * WebView.subproj/WebFrame.m:
              (-[WebFrame _reloadForPluginChanges]): new
              * WebView.subproj/WebFramePrivate.h:
              * WebView.subproj/WebView.m:
              (-[WebView _reloadForPluginChanges]): new
              * WebView.subproj/WebViewPrivate.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      077d5564
  13. 07 Feb, 2003 1 commit
    • rjw's avatar
      WebKit: · 5fd5a7f5
      rjw authored
              Changes to support per WebController preferences.
      
              Reviewed by Maciej and Ken.
      
              * WebView.subproj/WebController.m:
              (-[WebController setPreferences:]):
              * WebView.subproj/WebControllerPrivate.h:
              * WebView.subproj/WebControllerPrivate.m:
              (-[WebControllerPrivate init]):
              (-[WebControllerPrivate dealloc]):
              (-[WebController _setFormDelegate:]):
              (-[WebController _formDelegate]):
              (-[WebController _settings]):
              (-[WebController _updateWebCoreSettingsFromPreferences:]):
              (-[WebController _releaseUserAgentStrings]):
              (-[WebController _preferencesChangedNotification:]):
              * WebView.subproj/WebFrame.m:
              (-[WebFrame initWithName:webView:controller:]):
              * WebView.subproj/WebPreferences.h:
              * WebView.subproj/WebPreferences.m:
              (-[WebPreferences _postPreferencesChangesNotification]):
              (+[WebPreferences load]):
              (-[WebPreferences _stringValueForKey:]):
              (-[WebPreferences _setStringValue:forKey:]):
              (-[WebPreferences _integerValueForKey:]):
              (-[WebPreferences _setIntegerValue:forKey:]):
              (-[WebPreferences _boolValueForKey:]):
              (-[WebPreferences _setBoolValue:forKey:]):
              (-[WebPreferences standardFontFamily]):
              (-[WebPreferences setStandardFontFamily:]):
              (-[WebPreferences fixedFontFamily]):
              (-[WebPreferences setFixedFontFamily:]):
              (-[WebPreferences serifFontFamily]):
              (-[WebPreferences setSerifFontFamily:]):
              (-[WebPreferences sansSerifFontFamily]):
              (-[WebPreferences setSansSerifFontFamily:]):
              (-[WebPreferences cursiveFontFamily]):
              (-[WebPreferences setCursiveFontFamily:]):
              (-[WebPreferences fantasyFontFamily]):
              (-[WebPreferences setFantasyFontFamily:]):
              (-[WebPreferences defaultFontSize]):
              (-[WebPreferences setDefaultFontSize:]):
              (-[WebPreferences defaultFixedFontSize]):
              (-[WebPreferences setDefaultFixedFontSize:]):
              (-[WebPreferences minimumFontSize]):
              (-[WebPreferences setMinimumFontSize:]):
              (-[WebPreferences defaultTextEncodingName]):
              (-[WebPreferences setDefaultTextEncodingName:]):
              (-[WebPreferences userStyleSheetEnabled]):
              (-[WebPreferences setUserStyleSheetEnabled:]):
              (-[WebPreferences userStyleSheetLocation]):
              (-[WebPreferences setUserStyleSheetLocation:]):
              (-[WebPreferences JavaEnabled]):
              (-[WebPreferences setJavaEnabled:]):
              (-[WebPreferences JavaScriptEnabled]):
              (-[WebPreferences setJavaScriptEnabled:]):
              (-[WebPreferences JavaScriptCanOpenWindowsAutomatically]):
              (-[WebPreferences setJavaScriptCanOpenWindowsAutomatically:]):
              (-[WebPreferences pluginsEnabled]):
              (-[WebPreferences setPluginsEnabled:]):
              (-[WebPreferences allowAnimatedImages]):
              (-[WebPreferences allowAnimatedImageLooping]):
              (-[WebPreferences setAllowAnimatedImageLooping:]):
              (-[WebPreferences setWillLoadImagesAutomatically:]):
              (-[WebPreferences willLoadImagesAutomatically]):
              (-[WebPreferences _initialTimedLayoutDelay]):
              (-[WebPreferences _initialTimedLayoutSize]):
              (-[WebPreferences _pageCacheSize]):
              (-[WebPreferences _objectCacheSize]):
              (-[WebPreferences _initialTimedLayoutEnabled]):
              (-[WebPreferences _resourceTimedLayoutDelay]):
              (-[WebPreferences _resourceTimedLayoutEnabled]):
              * WebView.subproj/WebPreferencesPrivate.h:
      WebCore:
              Changes to support per WebController preferences.
              KHTMLPart now always accesses preferences from it's m_setting.
              Changes made to WebPreferences pass to WebCoreSetting to KTMLSettings.
              Added JavaScriptCanOpenWindowsAutomatically to KHTMLSettings.
      
              Reviewed by Maciej and Ken.
      
              * khtml/ecma/kjs_window.cpp:
              (WindowFunc::tryCall):
              * khtml/khtml_part.cpp:
              (KHTMLPart::init):
              (KHTMLPart::restoreURL):
              (KHTMLPart::openURL):
              (KHTMLPart::begin):
              (KHTMLPart::reparseConfiguration):
              * khtml/khtmlpart_p.h:
              * kwq/KWQKConfigBase.h:
              * kwq/KWQKConfigBase.mm:
              (KConfig::readUnsignedNumEntry):
              * kwq/KWQKHTMLPart.h:
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::setSettings):
              * kwq/KWQKHTMLSettings.h:
              * kwq/KWQKHTMLSettings.mm:
              (KHTMLSettings::stdFontName):
              (KHTMLSettings::fixedFontName):
              (KHTMLSettings::serifFontName):
              (KHTMLSettings::sansSerifFontName):
              (KHTMLSettings::cursiveFontName):
              (KHTMLSettings::fantasyFontName):
              (KHTMLSettings::minFontSize):
              (KHTMLSettings::mediumFontSize):
              (KHTMLSettings::mediumFixedFontSize):
              (KHTMLSettings::isJavaEnabled):
              (KHTMLSettings::autoLoadImages):
              (KHTMLSettings::isPluginsEnabled):
              (KHTMLSettings::isJavaScriptEnabled):
              (KHTMLSettings::JavaScriptCanOpenWindowsAutomatically):
              (KHTMLSettings::userStyleSheet):
              (KHTMLSettings::setStdFontName):
              (KHTMLSettings::setFixedFontName):
              (KHTMLSettings::setSerifFontName):
              (KHTMLSettings::setSansSerifFontName):
              (KHTMLSettings::setCursiveFontName):
              (KHTMLSettings::setFantasyFontName):
              (KHTMLSettings::setMinFontSize):
              (KHTMLSettings::setMediumFontSize):
              (KHTMLSettings::setMediumFixedFontSize):
              (KHTMLSettings::setAutoLoadImages):
              (KHTMLSettings::setIsJavaScriptEnabled):
              (KHTMLSettings::setIsJavaEnabled):
              (KHTMLSettings::setArePluginsEnabled):
              (KHTMLSettings::setJavaScriptCanOpenWindowsAutomatically):
              (KHTMLSettings::setUserStyleSheet):
              * kwq/WebCoreBridge.h:
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge init]):
              (-[WebCoreBridge initializeSettings:]):
              * kwq/WebCoreSettings.h:
              * kwq/WebCoreSettings.mm:
              (-[WebCoreSettings dealloc]):
              (-[WebCoreSettings init]):
              (-[WebCoreSettings setStandardFontFamily:]):
              (-[WebCoreSettings setFixedFontFamily:]):
              (-[WebCoreSettings setSerifFontFamily:]):
              (-[WebCoreSettings setSansSerifFontFamily:]):
              (-[WebCoreSettings setCursiveFontFamily:]):
              (-[WebCoreSettings setFantasyFontFamily:]):
              (-[WebCoreSettings setMinimumFontSize:]):
              (-[WebCoreSettings setDefaultFontSize:]):
              (-[WebCoreSettings setDefaultFixedFontSize:]):
              (-[WebCoreSettings setJavaEnabled:]):
              (-[WebCoreSettings setPluginsEnabled:]):
              (-[WebCoreSettings setJavaScriptEnabled:]):
              (-[WebCoreSettings setJavaScriptCanOpenWindowsAutomatically:]):
              (-[WebCoreSettings setWillLoadImagesAutomatically:]):
              (-[WebCoreSettings setUserStyleSheetLocation:]):
              (-[WebCoreSettings userStyleSheetLocation]):
              (-[WebCoreSettings settings]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fd5a7f5
  14. 21 Jan, 2003 1 commit
  15. 26 Oct, 2002 1 commit
  16. 13 Jul, 2002 1 commit
    • darin's avatar
      top level: · f6706a30
      darin authored
              * embed.am: Removed.
      
      Tools:
      
              * Scripts/embed-in-alex: Added. Replaces the rules in embed.am as
      	the way to make our frameworks embed themselves in Alex so we can
      	rebuild a framework and re-run Alex with the changes without building
      	Alex too.
      
              * Scripts/create-forwarding-header: Added. Mainly useful for the
      	one-time job of making forwarding headers for WebCore, but saving
      	for possible use in the future.
      
              * Scripts/commit-log-editor: Make Tools log show up after top level,
      	but before things like JavaScriptCore.
      
      JavaScriptCore:
      
              * Makefile.am: Don't use embed.am any more.
              * JavaScriptCore.pbproj/project.pbxproj: Use embed-into-alex instead
      	of make embed.
      
      WebFoundation:
      
              * Makefile.am: Remove include of embed.am.
      
              * WebFoundation.pbproj/project.pbxproj: Remove unneeded ApplicationServices
      	framework search path. Use embed-into-alex instead of make embed.
      
      WebCore:
      
              * ForwardingHeaders/*: Added. New approach to headers to try to
      	make Project Builder's header dependency support work even for
      	includes like #include <render/render_object.h>.
              * kwq/kjs/*: Removed. Now part of ForwardingHeaders.
      
              * Makefile.am: Remove embed.am support.
      
              * WebCore.pbproj/project.pbxproj: Remove other search paths, and
      	add ForwardingHeaders directory as a search path. Add qucomextra_p.h.
      
              * khtml/ecma/kjs_navigator.cpp: Made gratuitous changes to touch this
      	file to make things build without requiring clean rebuild.
      
              * khtml/rendering/render_form.cpp: Removed many unneeded QObject::
      	qualifiers from inside APPLE_CHANGES to touch this file to make things
      	build without requiring clean rebuild.
      
              * kwq/KWQButton.mm: (QButton::setText), (QButton::text):
              * kwq/KWQColor.mm: (QColor::setNamedColor):
      	* kwq/KWQKConfigBase.mm: (KConfig::readEntry):
              * kwq/KWQKHTMLSettings.mm: (KHTMLSettings::stdFontName), (KHTMLSettings::fixedFontName):
              (KHTMLSettings::serifFontName), (KHTMLSettings::sansSerifFontName),
      	(KHTMLSettings::cursiveFontName), (KHTMLSettings::fantasyFontName), (KHTMLSettings::encoding):
              * kwq/KWQKLocale.mm: (i18n):
              * kwq/KWQKMessageBox.mm: (KMessageBox::error), (KMessageBox::warningYesNo):
              (KMessageBox::questionYesNo), (KMessageBox::sorry):
              * kwq/KWQListBox.mm: (-[KWQBrowserDelegate browser:willDisplayCell:atRow:column:]):
              * kwq/WebCoreBridge.mm: (-[WebCoreBridge selectedText]):
              Wean from QSTRING_TO_NSSTRING and NSSTRING_TO_QSTRING.
      
              * kwq/KWQComboBox.mm:
              (QComboBox::insertItem): Wean from QSTRING_TO_NSSTRING. Note that this
      	now stores a copy of the string in the array. The old version was unsafe
      	if anyone later modified the QString that was passed in.
      
              * kwq/KWQFontMetrics.mm: (QFontMetrics::width):
              * kwq/KWQPainter.mm: (QPainter::drawUnderlineForText), (QPainter::drawText):
      	Wean from QSTRING_TO_NSSTRING_LENGTH and _FAST_QSTRING_TO_NSSTRING. We still have
      	speed as high as before, in the "length" case slightly faster.
      
              * kwq/qt/qstring.h: Remove QSTRING_TO_NSSTRING family of macros.
      
              * kwq/KWQInvisibleButton.mm:
              * kwq/KWQKHTMLPart.mm:
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              * kwq/KWQKJavaAppletWidget.mm:
              * kwq/KWQKloader.mm:
              * kwq/KWQView.mm:
              * kwq/KWQsignals.mm:
              * kwq/WebCoreBridge.mm:
              * kwq/kdecore/kconfig.h:
              * kwq/kdecore/klibloader.h:
              * kwq/kdecore/klocale.h:
              * kwq/khtml/khtml_ext.h:
              * kwq/khtml/khtml_factory.h:
              * kwq/kio/kmimetype.h:
      	Remove subdirectory prefix from imports to match Project Builder include scheme.
      
              * kwq/KWQKCursor.mm: (+[NSCursor _WebCore_linkCursor]):
              * kwq/KWQKLocale.mm: (i18n):
              * kwq/KWQKstddirs.mm: (locate):
      	Use bundleForClass instead of bundleWithIdentifier to avoid any potential problems
      	with multiple versions of the framework installed on the same system.
      
              * kwq/KWQKLineEdit.mm:
              (KLineEdit::completionBox): Remove _logNotYetImplemented, since this is implemented
      	well enough for our needs now, and if we need to implement it later, it will become
      	clear from the application behavior. This should be the destiny of most of these.
      
              * kwq/kdecore/kglobal.h: Simplify.
              * kwq/KWQKGlobal.mm: Simplify.
              * kwq/qt/qlineedit.h: Simplify.
              * kwq/KWQLineEdit.mm: Simplify.
      
              * kwq/KWQPaintDeviceMetrics.mm: Remove unneeded import.
              * kwq/qt/qbutton.h: Remove unneeded destructor.
      
      WebKit:
      
              * History.subproj/IFURIEntry.m: (-[IFURIEntry image]):
      	Use [IFURIEntry class] instead of [self class] so we get the
      	icon from the WebKit bundle even if someone subclasses IFURIEntry.
              * Plugins.subproj/IFNullPluginView.mm:
              (-[IFNullPluginView initWithFrame:mimeType:arguments:]): Use
      	bundleForClass instead of bundleWithIdentifier so things work even
      	if we have two copies of WebKit installed on the same machine.
      
              * Makefile.am: Remove include of embed.am.
      
              * WebKit.pbproj/project.pbxproj: Use embed-into-alex instead of make embed.
      	Also change bundle identifier to com.apple.WebKit instead of com.apple.webkit
      	to match standard used by our other frameworks. (Checked that we no longer have
      	any hard-coding of the bundle identifier anywhere in our code.)
      
      WebBrowser:
      
              * WebBrowser.pbproj/project.pbxproj: Remove unneeded build phase.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6706a30
  17. 25 Apr, 2002 1 commit
    • darin's avatar
      WebCore: · 366d0866
      darin authored
      	Rework plugin code to prepare to move more of it into WebKit.
      
      	* khtml/rendering/render_applet.cpp:
      	(RenderApplet::RenderApplet): Create a widget for the applet using
      	the new simpler API.
      
      	* kwq/kdecore/kconfig.h:
      	* kwq/KWQKConfigBase.mm: Eliminate KConfigBase.
      	Set things up so we are poised to handle the other non-plugin
      	config keys easily in the future.
      
      	* kwq/KWQKHTMLPart.mm: (KHTMLPart::requestObject): Use the new simpler
      	IFPluginWidgetCreate API instead of the older WCPluginWidget one.
      
      	* kwq/qt/qstring.h: Add simpler conversions to/from NSString.
      	* kwq/KWQString.mm: (QString::fromNSString): New.
      
      	* kwq/WCPluginWidget.h: Made this API simpler both for the C++
      	side and the Objective-C side. There's now no class, and only one
      	function that needs to be supplied (normally by WebKit).
      	* kwq/WCJavaAppletWidget.h: Same thing for the Java case.
      
      	* kwq/WCJavaAppletWidget.mm:
      	(IFSetJavaAppletViewCreationFunction): New.
      	(IFJavaAppletWidgetCreate): New. Most of the code that was in here
      	is now moved into WebKit.
      	* kwq/WCPluginWidget.mm:
      	(IFSetPluginViewCreationFunction): New.
      	(IFPluginWidgetCreate): New. Most of the code that was in here
      	is now moved into WebKit.
      
      	* libwebcore.exp: Update for new function names.
      
      WebKit:
      
      	Rework plugin code to prepare to move more of here from WebCore.
      
      	* Plugins.subproj/IFPluginView.mm:
      	(IFPluginViewCreate): New. Does all the work of creating an NSView
      	for a plug-in, including stuff previously done in WebCore.
      	(IFJavaAppletViewCreate): Same as above, for Java applets.
      	(+[IFPluginView load]): Set up the function pointers using the new
      	improved WebCore API.
      
      	* Plugins.subproj/IFNullPluginView.mm:
      	(-[IFNullPluginView load]): Remove this setup because now there's
      	no separate call to set up a null plug-in.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      366d0866
  18. 21 Mar, 2002 1 commit
  19. 06 Nov, 2001 1 commit
  20. 02 Oct, 2001 1 commit
  21. 10 Sep, 2001 3 commits
  22. 05 Sep, 2001 2 commits
  23. 31 Aug, 2001 1 commit
  24. 30 Aug, 2001 1 commit
  25. 27 Aug, 2001 1 commit
  26. 24 Aug, 2001 1 commit