1. 23 Sep, 2007 1 commit
    • zecke's avatar
      /: · 2752405f
      zecke authored
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * WebKit.pri:
              * WebKit.pro:
      
      JavaScriptCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK 
      
              * JavaScriptCore.pri:
              * kjs/testkjs.pro:
              * pcre/dftables.pro:
              * wtf/Platform.h: PLATFORM(GDK) to PLATFORM(GTK)
      
      WebCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.pro:
              * WebCoreSources.bkl:
              * loader/gdk: Removed.
              * loader/gdk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk: Added.
              * loader/gtk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk/DocumentLoaderGtk.cpp: Added.
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/gdk: Removed.
              * page/gdk/DragControllerGdk.cpp: Removed.
              * page/gdk/EventHandlerGdk.cpp: Removed.
              * page/gdk/FrameGdk.cpp: Removed.
              * page/gtk: Added.
              * page/gtk/DragControllerGdk.cpp: Removed.
              * page/gtk/DragControllerGtk.cpp: Added.
              * page/gtk/EventHandlerGdk.cpp: Removed.
              * page/gtk/EventHandlerGtk.cpp: Added.
              (WebCore::EventHandler::createDraggingClipboard):
              * page/gtk/FrameGdk.cpp: Removed.
              * page/gtk/FrameGtk.cpp: Added.
              * platform/ContextMenuItem.h:
              * platform/Cursor.h:
              * platform/DragData.h:
              * platform/DragImage.h:
              * platform/FontData.h:
              * platform/NotImplemented.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/PlatformMenuDescription.h:
              * platform/PlatformMouseEvent.h:
              * platform/PlatformWheelEvent.h:
              * platform/ScrollView.h:
              * platform/Widget.h:
              * platform/gdk: Removed.
              * platform/gdk/ClipboardGdk.cpp: Removed.
              * platform/gdk/ClipboardGdk.h: Removed.
              * platform/gdk/ContextMenuGdk.cpp: Removed.
              * platform/gdk/ContextMenuItemGdk.cpp: Removed.
              * platform/gdk/CookieJarGdk.cpp: Removed.
              * platform/gdk/CursorGdk.cpp: Removed.
              * platform/gdk/DragDataGdk.cpp: Removed.
              * platform/gdk/DragImageGdk.cpp: Removed.
              * platform/gdk/FileChooserGdk.cpp: Removed.
              * platform/gdk/FileSystemGdk.cpp: Removed.
              * platform/gdk/FontCacheGdk.cpp: Removed.
              * platform/gdk/FontDataGdk.cpp: Removed.
              * platform/gdk/FontGdk.cpp: Removed.
              * platform/gdk/FontPlatformData.h: Removed.
              * platform/gdk/FontPlatformDataGdk.cpp: Removed.
              * platform/gdk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gdk/KeyEventGdk.cpp: Removed.
              * platform/gdk/KeyboardCodes.h: Removed.
              * platform/gdk/LocalizedStringsGdk.cpp: Removed.
              * platform/gdk/LoggingGdk.cpp: Removed.
              * platform/gdk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gdk/MouseEventGdk.cpp: Removed.
              * platform/gdk/PasteboardGdk.cpp: Removed.
              * platform/gdk/PlatformScreenGdk.cpp: Removed.
              * platform/gdk/PlatformScrollBar.h: Removed.
              * platform/gdk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gdk/PopupMenuGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.h: Removed.
              * platform/gdk/ScrollViewGdk.cpp: Removed.
              * platform/gdk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gdk/SharedTimerLinux.cpp: Removed.
              * platform/gdk/SoundGdk.cpp: Removed.
              * platform/gdk/SystemTimeLinux.cpp: Removed.
              * platform/gdk/TemporaryLinkStubs.cpp: Removed.
              * platform/gdk/WheelEventGdk.cpp: Removed.
              * platform/gdk/WidgetGdk.cpp: Removed.
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContext::setPlatformFont):
              * platform/graphics/gdk: Removed.
              * platform/graphics/gdk/IconGdk.cpp: Removed.
              * platform/graphics/gdk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk: Added.
              * platform/graphics/gtk/IconGdk.cpp: Removed.
              * platform/graphics/gtk/IconGtk.cpp: Added.
              * platform/graphics/gtk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk/ImageGtk.cpp: Added.
              * platform/gtk: Added.
              * platform/gtk/ClipboardGdk.cpp: Removed.
              * platform/gtk/ClipboardGdk.h: Removed.
              * platform/gtk/ClipboardGtk.cpp: Added.
              (WebCore::ClipboardGtk::ClipboardGtk):
              (WebCore::ClipboardGtk::~ClipboardGtk):
              (WebCore::ClipboardGtk::clearData):
              (WebCore::ClipboardGtk::clearAllData):
              (WebCore::ClipboardGtk::getData):
              (WebCore::ClipboardGtk::setData):
              (WebCore::ClipboardGtk::types):
              (WebCore::ClipboardGtk::dragLocation):
              (WebCore::ClipboardGtk::dragImage):
              (WebCore::ClipboardGtk::setDragImage):
              (WebCore::ClipboardGtk::dragImageElement):
              (WebCore::ClipboardGtk::setDragImageElement):
              (WebCore::ClipboardGtk::createDragImage):
              (WebCore::ClipboardGtk::declareAndWriteDragImage):
              (WebCore::ClipboardGtk::writeURL):
              (WebCore::ClipboardGtk::writeRange):
              (WebCore::ClipboardGtk::hasData):
              * platform/gtk/ClipboardGtk.h: Added.
              * platform/gtk/ContextMenuGdk.cpp: Removed.
              * platform/gtk/ContextMenuGtk.cpp: Added.
              * platform/gtk/ContextMenuItemGdk.cpp: Removed.
              * platform/gtk/ContextMenuItemGtk.cpp: Added.
              * platform/gtk/CookieJarGdk.cpp: Removed.
              * platform/gtk/CookieJarGtk.cpp: Added.
              * platform/gtk/CursorGdk.cpp: Removed.
              * platform/gtk/CursorGtk.cpp: Added.
              * platform/gtk/DragDataGdk.cpp: Removed.
              * platform/gtk/DragDataGtk.cpp: Added.
              * platform/gtk/DragImageGdk.cpp: Removed.
              * platform/gtk/DragImageGtk.cpp: Added.
              * platform/gtk/FileChooserGdk.cpp: Removed.
              * platform/gtk/FileChooserGtk.cpp: Added.
              * platform/gtk/FileSystemGdk.cpp: Removed.
              * platform/gtk/FileSystemGtk.cpp: Added.
              * platform/gtk/FontCacheGdk.cpp: Removed.
              * platform/gtk/FontCacheGtk.cpp: Added.
              * platform/gtk/FontDataGdk.cpp: Removed.
              * platform/gtk/FontDataGtk.cpp: Added.
              * platform/gtk/FontGdk.cpp: Removed.
              * platform/gtk/FontGtk.cpp: Added.
              * platform/gtk/FontPlatformDataGdk.cpp: Removed.
              * platform/gtk/FontPlatformDataGtk.cpp: Added.
              * platform/gtk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gtk/GlyphPageTreeNodeGtk.cpp: Added.
              * platform/gtk/KeyEventGdk.cpp: Removed.
              * platform/gtk/KeyEventGtk.cpp: Added.
              * platform/gtk/LocalizedStringsGdk.cpp: Removed.
              * platform/gtk/LocalizedStringsGtk.cpp: Added.
              * platform/gtk/LoggingGdk.cpp: Removed.
              * platform/gtk/LoggingGtk.cpp: Added.
              * platform/gtk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gtk/MIMETypeRegistryGtk.cpp: Added.
              * platform/gtk/MouseEventGdk.cpp: Removed.
              * platform/gtk/MouseEventGtk.cpp: Added.
              * platform/gtk/PasteboardGdk.cpp: Removed.
              * platform/gtk/PasteboardGtk.cpp: Added.
              * platform/gtk/PlatformScreenGdk.cpp: Removed.
              * platform/gtk/PlatformScreenGtk.cpp: Added.
              * platform/gtk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gtk/PlatformScrollBarGtk.cpp: Added.
              * platform/gtk/PopupMenuGdk.cpp: Removed.
              * platform/gtk/PopupMenuGtk.cpp: Added.
              * platform/gtk/RenderThemeGdk.cpp: Removed.
              * platform/gtk/RenderThemeGdk.h: Removed.
              * platform/gtk/RenderThemeGtk.cpp: Added.
              (WebCore::theme):
              (WebCore::RenderThemeGtk::RenderThemeGtk):
              (WebCore::RenderThemeGtk::close):
              (WebCore::RenderThemeGtk::addIntrinsicMargins):
              (WebCore::RenderThemeGtk::supportsFocus):
              (WebCore::RenderThemeGtk::determineState):
              (WebCore::RenderThemeGtk::determineShadow):
              (WebCore::RenderThemeGtk::getThemeData):
              (WebCore::RenderThemeGtk::setCheckboxSize):
              (WebCore::RenderThemeGtk::paintCheckbox):
              (WebCore::RenderThemeGtk::setRadioSize):
              (WebCore::RenderThemeGtk::paintRadio):
              (WebCore::RenderThemeGtk::paintButton):
              (WebCore::RenderThemeGtk::adjustTextFieldStyle):
              (WebCore::RenderThemeGtk::paintTextField):
              (WebCore::RenderThemeGtk::paintTextArea):
              (WebCore::RenderThemeGtk::adjustButtonStyle):
              (WebCore::RenderThemeGtk::systemFont):
              (WebCore::RenderThemeGtk::gtkButton):
              (WebCore::RenderThemeGtk::gtkCheckbox):
              (WebCore::RenderThemeGtk::gtkRadioButton):
              (WebCore::RenderThemeGtk::gtkWindowContainer):
              * platform/gtk/RenderThemeGtk.h: Added.
              * platform/gtk/ScrollViewGdk.cpp: Removed.
              * platform/gtk/ScrollViewGtk.cpp: Added.
              * platform/gtk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gtk/SearchPopupMenuGtk.cpp: Added.
              * platform/gtk/SoundGdk.cpp: Removed.
              * platform/gtk/SoundGtk.cpp: Added.
              * platform/gtk/WheelEventGdk.cpp: Removed.
              * platform/gtk/WheelEventGtk.cpp: Added.
              * platform/gtk/WidgetGdk.cpp: Removed.
              * platform/gtk/WidgetGtk.cpp: Added.
              * platform/network/ResourceHandle.h:
      
      WebKitTools:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              * GdkLauncher: Removed.
              * GdkLauncher/Bakefiles.bkgen: Removed.
              * GdkLauncher/ENV: Removed.
              * GdkLauncher/GdkLauncher.pro: Removed.
              * GdkLauncher/gdklauncher.bkl: Removed.
              * GdkLauncher/main.cpp: Removed.
              * GdkLauncher/mk: Removed.
              * GdkLauncher/simple.svg: Removed.
              * GdkLauncher/text.html: Removed.
              * GtkLauncher: Added.
              * GtkLauncher/GdkLauncher.pro: Removed.
              * GtkLauncher/GtkLauncher.pro: Added.
              * GtkLauncher/main.cpp:
              (updateWindowTitle):
              (main):
              * Scripts/build-webkit:
              * Scripts/regenerate-makefiles:
              * Scripts/run-javascriptcore-tests:
              * Scripts/run-launcher:
              * Scripts/run-webkit-tests:
              * Scripts/webkitdirs.pm:
      
      
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2752405f
  2. 13 Sep, 2007 1 commit
  3. 12 Sep, 2007 1 commit
    • oliver's avatar
      2007-09-12 Oliver Hunt <oliver@apple.com> · 501b365c
      oliver authored
              Reviewed by Adam.
      
      WebKit:
              Fixing
                  <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
                  <rdar://problem/5224996> Add zoom in and zoom out cursors
      
              Add images for vertical text and zoom in and out cursors to WebKit resources.
      
              * WebKit.vcproj/verticalTextCursor.png: Added.
              * WebKit.vcproj/WebKit.rc:
              * WebKit.vcproj/WebKit.vcproj:
              * WebKit.vcproj/resource.h:
              * WebKit.vcproj/zoomInCursor.png: Added.
              * WebKit.vcproj/zoomOutCursor.png: Added.
              * WebKitDLL.cpp:
              (loadResourceIntoBuffer):
      
      WebCore:
              Fixing
                  <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
                  <rdar://problem/5224996> Add zoom in and zoom out cursors
      
              Added SharedCursor for CursorWin so we can correctly track lifetime of custom/image
              based cursors, such as the vertical text and zooming cursors.
      
              * platform/Cursor.h:
              (WebCore::SharedCursor::SharedCursor):
              (WebCore::SharedCursor::~SharedCursor):
              (WebCore::SharedCursor::nativeCursor):
              * platform/win/CursorWin.cpp:
              (WebCore::Cursor::Cursor):
              (WebCore::loadCursorByName):
              (WebCore::loadSharedCursor):
              (WebCore::pointerCursor):
              (WebCore::crossCursor):
              (WebCore::handCursor):
              (WebCore::iBeamCursor):
              (WebCore::waitCursor):
              (WebCore::helpCursor):
              (WebCore::eastResizeCursor):
              (WebCore::northResizeCursor):
              (WebCore::northEastResizeCursor):
              (WebCore::northWestResizeCursor):
              (WebCore::southResizeCursor):
              (WebCore::southEastResizeCursor):
              (WebCore::southWestResizeCursor):
              (WebCore::westResizeCursor):
              (WebCore::northSouthResizeCursor):
              (WebCore::eastWestResizeCursor):
              (WebCore::northEastSouthWestResizeCursor):
              (WebCore::northWestSouthEastResizeCursor):
              (WebCore::columnResizeCursor):
              (WebCore::rowResizeCursor):
              (WebCore::moveCursor):
              (WebCore::verticalTextCursor):
              (WebCore::progressCursor):
              (WebCore::notAllowedCursor):
              (WebCore::zoomInCursor):
              (WebCore::zoomOutCursor):
              * platform/win/WidgetWin.cpp:
              (WebCore::Widget::setCursor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      501b365c
  4. 23 May, 2007 1 commit
    • andersca's avatar
      Reviewed by Darin. · 1500e83b
      andersca authored
              Add -webkit-zoom-in and -webkit-zoom-out cursors.
              
              * Resources/zoomInCursor.png: Added.
              * Resources/zoomOutCursor.png: Added.
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/CSSValueKeywords.in:
              * page/EventHandler.cpp:
              (WebCore::selectCursor):
              * platform/Cursor.h:
              * platform/mac/CursorMac.mm:
              (WebCore::zoomInCursor):
              (WebCore::zoomOutCursor):
              * rendering/RenderStyle.h:
              (WebCore::):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1500e83b
  5. 17 Feb, 2007 1 commit
  6. 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
  7. 17 Dec, 2006 1 commit
    • ap's avatar
      2006-12-17 Lars Naesbye Christensen <larsnaesbye@stud.ku.dk> · ad97d9d4
      ap authored
              Reviewed, tweaked and landed by Alexey.
      
              http://bugs.webkit.org/show_bug.cgi?id=11798
              [CSS 3] missing cursor support for 'none'
      
              * Resources/noneCursor.png: Added.
              * WebCore.xcodeproj/project.pbxproj:
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/CSSValueKeywords.in:
              * css/cssparser.cpp: Also fixed previously broken -webkit-background-composite: copy.
              * manual-tests/cursor.html:
              * page/EventHandler.cpp:
              (WebCore::selectCursor):
              * platform/Cursor.h:
              * platform/gdk/CursorGdk.cpp:
              (WebCore::noneCursor):
              * platform/mac/CursorMac.mm:
              (WebCore::noneCursor):
              * platform/qt/CursorQt.cpp:
              (WebCore::noneCursor):
              * platform/win/CursorWin.cpp:
              (WebCore::noneCursor):
              * rendering/RenderStyle.h:
              (WebCore::):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad97d9d4
  8. 09 Dec, 2006 1 commit
  9. 05 Dec, 2006 1 commit
  10. 18 Nov, 2006 1 commit
    • ap's avatar
      2006-11-17 Lars Naesbye Christensen <larsnaesbye@stud.ku.dk> · 3677cb06
      ap authored
              Reviewed by Tim H.
      
              http://bugs.webkit.org/show_bug.cgi?id=11638
              [CSS 2.1+3] add support for alias, progress, no-drop and not-allowed cursor styles
      
              * Resources/aliasCursor.png: Added.
              * Resources/noDropCursor.png: Added.
              * Resources/progressCursor.png: Added.
              * WebCore.xcodeproj/project.pbxproj:
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/CSSValueKeywords.in:
              * manual-tests/cursor.html:
              * page/EventHandler.cpp:
              (WebCore::selectCursor):
              * platform/Cursor.h:
              * platform/mac/CursorMac.mm:
              (WebCore::handCursor):
              (WebCore::aliasCursor):
              (WebCore::progressCursor):
              (WebCore::noDropCursor):
              * rendering/RenderStyle.h:
              (WebCore::):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3677cb06
  11. 11 Nov, 2006 1 commit
    • ap's avatar
      2006-11-11 Lars Naesbye Christensen <larsnaesbye@stud.ku.dk> · af7d7294
      ap authored
              Tortured by Sam Weinig, Tim H., Maciej, Mitz and Alexey :-)
      
              [CSS 3] support for vertical-text, cell and context-menu cursors
              http://bugs.webkit.org/show_bug.cgi?id=11494
      
              * Resources/cellCursor.png: Added.
              * Resources/contextMenuCursor.png: Added.
              * Resources/verticalTextCursor.png: Added.
              * WebCore.xcodeproj/project.pbxproj:
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/CSSValueKeywords.in:
              * manual-tests/cursor.html:
              * page/FrameView.cpp:
              (WebCore::selectCursor):
              * platform/Cursor.h:
              * platform/mac/CursorMac.mm:
              (WebCore::verticalTextCursor):
              (WebCore::cellCursor):
              (WebCore::contextMenuCursor):
              * rendering/RenderStyle.h:
              (WebCore::):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af7d7294
  12. 17 Oct, 2006 1 commit
    • oliver's avatar
      2006-10-17 Oliver Hunt <oliver@apple.com> · 170f9afd
      oliver authored
              Reviewed by Brady
      
              Various cursor fixes
      
              * page/FrameView.cpp:
              (WebCore::FrameView::handleMouseMoveEvent):
              * platform/Cursor.h:
              * platform/mac/CursorMac.mm:
              (WebCore::pointerCursor):
              * platform/win/CursorWin.cpp:
              (WebCore::supportsAlphaCursors):
              (WebCore::Cursor::Cursor):
              (WebCore::Cursor::~Cursor):
              (WebCore::pointerCursor):
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      170f9afd
  13. 24 Sep, 2006 1 commit
  14. 28 Aug, 2006 1 commit
    • ggaren's avatar
      Reviewed by Maciej. · 4c7c632c
      ggaren authored
              
              Added support for experimental CFNetwork-based loader (not turned on yet).
              
              While I was there, I did the following platform cleanup:
              - Windows now uses USE(WININET) instead of PLATFORM(WIN_OS), to match the
                USE(CFNETWORK) idiom.
              - Removed some #includes of windows.h in platform-independent headers.
              - Changed #ifdef __APPLE__ to PLATFORM(MAC)
              - Fixed some build bustage, including case-sensitive filesystem bustage.
      
              * loader/loader.cpp:
              (WebCore::Loader::receivedAllData):
              * platform/Cursor.h:
              * platform/KURL.h:
              * platform/ResourceLoader.h:
              * platform/ResourceLoaderClient.h:
              * platform/ResourceLoaderInternal.h:
              (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
              * platform/cfnet/KURLCFNet.cpp: Added.
              (WebCore::KURL::createCFURL):
              * platform/cfnet/ResourceLoaderCFNet.cpp: Added.
              (WebCore::willSendRequest):
              (WebCore::didReceiveChallenge):
              (WebCore::didCancelChallenge):
              (WebCore::didReceiveResponse):
              (WebCore::didReceiveData):
              (WebCore::didFinishLoading):
              (WebCore::didFail):
              (WebCore::willCacheResponse):
              (WebCore::addHeadersFromString):
              (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
              (WebCore::ResourceLoader::~ResourceLoader):
              (WebCore::arrayFromFormData):
              (WebCore::emptyPerform):
              (WebCore::runLoaderThread):
              (WebCore::ResourceLoader::start):
              (WebCore::ResourceLoader::cancel):
              * platform/win/CursorWin.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c7c632c
  15. 23 Aug, 2006 1 commit
    • hyatt's avatar
      Refactor Cairo and CoreGraphics to use platform ifdefs. This patch · 7d8d9656
      hyatt authored
              separates the graphics engines from their respective platforms and replaces
              #ifdef PLATFORM(MAC) and PLATFORM(WIN) with PLATFORM(CG) and PLATFORM(CAIRO).
      
              Reviewed by darin
      
              * WebCore.xcodeproj/project.pbxproj:
              * platform/AffineTransform.h:
              * platform/Color.h:
              * platform/Cursor.h:
              * platform/FloatPoint.h:
              * platform/FloatRect.h:
              * platform/FloatSize.h:
              * platform/Font.h:
              * platform/FontData.h:
              * platform/GlyphBuffer.h:
              (WebCore::GlyphBuffer::glyphAt):
              (WebCore::GlyphBuffer::advanceAt):
              (WebCore::GlyphBuffer::add):
              * platform/GraphicsContext.h:
              * platform/Image.h:
              * platform/ImageSource.h:
              * platform/IntPoint.h:
              * platform/IntRect.h:
              * platform/IntSize.h:
              * platform/ResourceLoader.h:
              * platform/ResourceLoaderClient.h:
              * platform/Widget.h:
              * platform/cairo/GraphicsContextCairo.cpp:
              * platform/cairo/ImageCairo.cpp:
              * platform/cairo/ImageSourceCairo.cpp:
              * platform/cg/AffineTransformCG.cpp:
              * platform/cg/FloatPointCG.cpp: Added.
              * platform/cg/FloatRectCG.cpp: Added.
              * platform/cg/FloatSizeCG.cpp: Added.
              * platform/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::GraphicsContext):
              (WebCore::GraphicsContext::~GraphicsContext):
              (WebCore::GraphicsContext::setFocusRingClip):
              (WebCore::GraphicsContext::clearFocusRingClip):
              (WebCore::GraphicsContext::platformContext):
              (WebCore::GraphicsContext::drawRect):
              (WebCore::GraphicsContext::drawLine):
              * platform/cg/GraphicsContextPlatformPrivate.h: Added.
              (WebCore::GraphicsContextPlatformPrivate:::m_cgContext):
              (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate):
              * platform/cg/ImageCG.cpp: Added.
              (WebCore::Image::drawTiled):
              * platform/cg/ImageSourceCG.cpp: Added.
              * platform/cg/IntPointCG.cpp: Added.
              * platform/cg/IntRectCG.cpp: Added.
              * platform/cg/IntSizeCG.cpp: Added.
              * platform/cg/PDFDocumentImage.cpp: Added.
              (WebCore::PDFDocumentImage::adjustCTM):
              * platform/cg/PDFDocumentImage.h: Added.
              * platform/cg/PathCG.cpp:
              * platform/image-decoders/bmp/BMPImageDecoder.cpp:
              * platform/image-decoders/gif/GIFImageDecoder.cpp:
              * platform/image-decoders/gif/GIFImageReader.cpp:
              * platform/image-decoders/ico/ICOImageDecoder.cpp:
              * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
              * platform/image-decoders/png/PNGImageDecoder.cpp:
              * platform/image-decoders/xbm/XBMImageDecoder.cpp:
              * platform/mac/FloatPointMac.mm:
              * platform/mac/FloatRectMac.mm:
              * platform/mac/FloatSizeMac.mm:
              * platform/mac/GraphicsContextMac.mm:
              * platform/mac/ImageMac.mm:
              * platform/mac/ImageSourceMac.cpp: Removed.
              * platform/mac/IntPointMac.mm:
              * platform/mac/IntRectMac.mm:
              * platform/mac/IntSizeMac.mm:
              * platform/mac/PDFDocumentImage.h: Removed.
              * platform/mac/PDFDocumentImage.mm: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d8d9656
  16. 18 Aug, 2006 1 commit
  17. 03 Aug, 2006 1 commit
    • weinig's avatar
      JavaScriptCore: · f18aae37
      weinig authored
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10176
                Make WebCore compile with -Wundef
      
                * Adds -Wundef flag to Xcode project
                * Converts #ifs to #ifdef and #ifndefs where needed.
                * Added #define YYMAXDEPTH 10000 in kjs/grammar.y
                  to fix a warning from within Bison.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * bindings/jni/jni_jsobject.cpp:
              (JavaJSObject::getSlot):
              (JavaJSObject::setSlot):
              * bindings/npapi.h:
              * bindings/objc/objc_class.mm:
              (KJS::Bindings::ObjcClass::methodsNamed):
              (KJS::Bindings::ObjcClass::fieldNamed):
              * bindings/objc/objc_instance.mm:
              (ObjcInstance::invokeMethod):
              * bindings/objc/objc_runtime.mm:
              (ObjcMethod::getMethodSignature):
              (ObjcField::name):
              (ObjcField::type):
              * kjs/grammar.y:
              * kjs/identifier.h:
      
      JavaScriptGlue:
      
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10176
                Make WebCore compile with -Wundef
      
                * Adds -Wundef flag to Xcode project
      
              * JavaScriptGlue.xcodeproj/project.pbxproj:
      
      WebCore:
      
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10176
                Make WebCore compile with -Wundef
      
                * Adds -Wundef flag to Xcode project
                * Converts #ifs to #ifdef and #ifndefs where needed.
                * Replaces #ifdef WIN32 with #if PLATFORM(WIN_OS) or PLATFORM(WIN)
                  (and in one instance in config.h with #if !COMPILER(MSVC))
                * Added #define YYMAXDEPTH 10000 in XPathGrammar.y and CSSGrammar.y
                  to fix a warning from within Bison.
                * Cleaned up style a little in surrounding code.
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject doAXTextMarkerRangeForUnorderedTextMarkers:]):
              * config.h:
              * css/CSSGrammar.y:
              * css/MediaFeatureNames.cpp:
              * css/MediaFeatureNames.h:
              * css/cssparser.cpp:
              * dom/ContainerNode.cpp:
              (WebCore::ContainerNode::setActive):
              * dom/Element.cpp:
              (WebCore::Element::attach):
              * dom/Element.h:
              * dom/EventNames.cpp:
              * dom/EventNames.h:
              * dom/NamedAttrMap.h:
              * dom/Position.cpp:
              * dom/QualifiedName.cpp:
              * dom/QualifiedName.h:
              * dom/Range.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::error):
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::scriptHandler):
              (WebCore::HTMLTokenizer::scriptExecution):
              (WebCore::HTMLTokenizer::parseTag):
              (WebCore::HTMLTokenizer::continueProcessing):
              (WebCore::HTMLTokenizer::write):
              (WebCore::HTMLTokenizer::timerFired):
              (WebCore::HTMLTokenizer::notifyFinished):
              * kcanvas/device/quartz/KCanvasFilterQuartz.h:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/scripts/make_names.pl:
              * loader/CachedResource.h:
              * loader/LoaderFunctions.h:
              * loader/loader.h:
              * page/Frame.cpp:
              * page/FrameTree.cpp:
              * page/FrameView.cpp:
              (WebCore::FrameView::clear):
              (WebCore::FrameView::layout):
              (WebCore::FrameView::layoutTimerFired):
              (WebCore::FrameView::scheduleRelayout):
              (WebCore::FrameView::unscheduleRelayout):
              * platform/AtomicString.cpp:
              * platform/AtomicString.h:
              * platform/Cursor.h:
              * platform/DeprecatedArray.h:
              * platform/DeprecatedString.cpp:
              (WebCore::allocateHandle):
              (WebCore::initializeHandleNodeBlock):
              (WebCore::freeHandle):
              * platform/FloatPoint.h:
              * platform/FloatRect.h:
              * platform/FloatSize.h:
              * platform/GraphicsContext.h:
              * platform/Image.h:
              * platform/IntPoint.h:
              * platform/IntRect.h:
              (WebCore::IntRect::inflateX):
              (WebCore::IntRect::inflateY):
              * platform/IntSize.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/PlatformMouseEvent.h:
              * platform/PlatformString.h:
              * platform/ResourceLoader.h:
              * platform/ResourceLoaderInternal.h:
              (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
              * platform/ScrollView.h:
              * platform/StaticConstructors.h:
              * platform/StreamingTextDecoderICU.cpp:
              (WebCore::StreamingTextDecoderICU::convert):
              * platform/StringImpl.h:
              * platform/Widget.h:
              * platform/mac/BlockExceptions.mm:
              * platform/mac/ColorMac.mm:
              (+[WebCoreControlTintObserver WebCore]):
              * platform/mac/FloatPointMac.mm:
              * platform/mac/FloatRectMac.mm:
              * platform/mac/FloatSizeMac.mm:
              * platform/mac/FontMac.mm:
              * platform/mac/GraphicsContextMac.mm:
              (WebCore::GraphicsContext::drawFocusRing):
              * platform/mac/IntPointMac.mm:
              * platform/mac/IntRectMac.mm:
              * platform/mac/IntSizeMac.mm:
              * platform/mac/WebCoreSystemInterface.h:
              * rendering/RenderBlock.h:
              * rendering/RenderTableCell.h:
              * rendering/bidi.cpp:
              (WebCore::appendRun):
              (WebCore::RenderBlock::layoutInlineChildren):
              * xml/XSLTProcessor.cpp:
              (WebCore::parseErrorFunc):
              * xpath/impl/XPathGrammar.y:
      
      WebKit:
      
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10176
                Make WebCore compile with -Wundef
      
                * Adds -Wundef flag to Xcode project
                * Converts #ifs to #ifdef and #ifndefs where needed.
      
              * Carbon/CarbonUtils.m:
              * Carbon/CarbonWindowAdapter.m:
              * Carbon/HIViewAdapter.m:
              (+[NSView bindHIViewToNSView:nsView:]):
              * Carbon/HIWebView.m:
              (HIWebViewEventHandler):
              * Misc/WebFileDatabase.m:
              (UniqueFilePathForKey):
              * Misc/WebNSWindowExtras.m:
              (swizzleInstanceMethod):
              * Misc/WebTypesInternal.h:
              * Plugins/WebNetscapeDeprecatedFunctions.c:
              * Plugins/WebNetscapeDeprecatedFunctions.h:
              * Plugins/WebNetscapePluginPackage.h:
              * Plugins/WebNetscapePluginPackage.m:
              (-[WebNetscapePluginPackage unloadWithoutShutdown]):
              (-[WebNetscapePluginPackage load]):
              * WebKit.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f18aae37
  18. 23 Jun, 2006 1 commit
    • thatcher's avatar
      Reviewed by Eric. · 5d6cedb6
      thatcher authored
              Manual test added: cursor.html
      
              Bug 9560: should support new CSS3 cursor types to get more resizing directions
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9560
      
              Adds support for ew-resize, ns-resize, nesw-resize, nwse-resize,
              col-resize and row-resize CSS3 cursor values.
      
              Also converted some of the cursor images to grayscale tiffs,
              some were RGB but had no color data.
      
              * Resources/eastResizeCursor.tiff:
              * Resources/eastWestResizeCursor.tiff: Added.
              * Resources/helpCursor.tiff:
              * Resources/moveCursor.tiff:
              * Resources/northEastResizeCursor.tiff:
              * Resources/northEastSouthWestResizeCursor.tiff: Added.
              * Resources/northResizeCursor.tiff:
              * Resources/northSouthResizeCursor.tiff: Added.
              * Resources/northWestResizeCursor.tiff:
              * Resources/northWestSouthEastResizeCursor.tiff: Added.
              * Resources/southEastResizeCursor.tiff:
              * Resources/southResizeCursor.tiff:
              * Resources/southWestResizeCursor.tiff:
              * Resources/textAreaResizeCorner.tiff:
              * Resources/waitCursor.tiff:
              * Resources/westResizeCursor.tiff:
              * WebCore.xcodeproj/project.pbxproj:
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/CSSValueKeywords.in:
              * css/cssparser.cpp:
              (WebCore::CSSParser::parseValue):
              * manual-tests/cursor.html: Added.
              * page/FrameView.cpp:
              (WebCore::selectCursor):
              * platform/Cursor.h:
              * platform/mac/CursorMac.mm:
              (WebCore::northSouthResizeCursor):
              (WebCore::eastWestResizeCursor):
              (WebCore::northEastSouthWestResizeCursor):
              (WebCore::northWestSouthEastResizeCursor):
              (WebCore::columnResizeCursor):
              (WebCore::rowResizeCursor):
              * platform/win/CursorWin.cpp:
              (WebCore::northSouthResizeCursor):
              (WebCore::eastWestResizeCursor):
              (WebCore::northEastSouthWestResizeCursor):
              (WebCore::northWestSouthEastResizeCursor):
              (WebCore::columnResizeCursor):
              (WebCore::rowResizeCursor):
              * rendering/render_style.h: cursor needs 5 bits now
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d6cedb6
  19. 10 Jun, 2006 1 commit
    • ggaren's avatar
      JavaScriptCore: · 1ec99535
      ggaren authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8515
              Linux porting compile bug
              
              Fix by Mike Emmel, Reviewed by Darin.
      
              * JavaScriptCoreSources.bkl:
              * jscore.bkl:
              * wtf/Platform.h:
      
      WebCore:
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8515
              Linux porting compile bug
              
              Fix by Mike Emmel, Reviewed by Darin.
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCoreSources.bkl:
              * css/maketokenizer:
              * html/HTMLCanvasElement.cpp:
              * html/HTMLImageElement.h:
              * icon/IconDatabase.cpp:
              * make-generated-sources.sh:
              * page/Frame.h:
              * page/FramePrivate.h:
              * platform/Cursor.h:
              * platform/FontData.h:
              (WebCore::FontData::getGlyphIndex):
              * platform/GlyphBuffer.h:
              (WebCore::GlyphBuffer::glyphAt):
              (WebCore::GlyphBuffer::advanceAt):
              (WebCore::GlyphBuffer::add):
              * platform/GraphicsContext.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/PlatformMouseEvent.h:
              * platform/PlatformWheelEvent.h:
              * platform/ScrollView.h:
              * platform/TransferJob.h:
              (WebCore::TransferJob::getInternal):
              * platform/TransferJobInternal.h:
              (WebCore::TransferJobInternal::TransferJobInternal):
              * platform/Widget.h:
              * platform/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::GraphicsContext):
              (WebCore::GraphicsContext::roundToDevicePixels):
              * webcore-base.bkl:
              * xpath/impl/XPathValue.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ec99535
  20. 21 Apr, 2006 1 commit
    • darin's avatar
      JavaScriptCore: · fb4d937b
      darin authored
              Reviewed by Darin.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8507
                Compilation fixes for building on gcc 4.0.2, and without precomp headers
      
              * kjs/operations.h:
              * kxmlcore/Assertions.cpp:
              * kxmlcore/FastMalloc.cpp:
              Added necessary headers to resolve compilation issues when not using
              precompiled headers.
              
              * kjs/value.h: Declare the JSCell class before friend declaration  
              to resolve compilation issues with gcc 4.0.2.
              
              * kxmlcore/Platform.h: Set Unicode support to use ICU on platforms
              other than KDE (previously only defined for Win and Mac OS)
      
      WebCore:
      
              Reviewed by Darin.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8507
                Compilation fixes for building on gcc 4.0.2, and without precomp headers
      
              * platform/Cursor.h: Created a fallback case that typedefs PlatformCursor
              to void * if it isn't defined to anything else. (Useful to help get new ports
              initially compiling.)
              
              * bindings/js/kjs_window.cpp:
              * rendering/RenderTextField.cpp:
              * rendering/RenderBox.cpp:
              Add missing headers to resolve issues when compiling without precompiled
              headers.
              
              * rendering/RenderText.h: Declare the InlineTextBox class before 
              friend declaration to resolve compilation issues with gcc 4.0.2.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb4d937b
  21. 20 Feb, 2006 1 commit
    • darin's avatar
      Reviewed by Hyatt. · 644b75ef
      darin authored
              - moved Cursor into the platform directory from KWQ
              - removed a lot of other unneeded stuff from KWQ
      
              * platform/Cursor.h: Added.
              * platform/mac/CursorMac.mm: Added.
              * platform/mac/CursorWin.cpp: Added.
      
              * kwq/KWQBuffer.cpp: Removed.
              * kwq/KWQBuffer.h: Removed.
              * kwq/KWQCursor.h: Removed.
              * kwq/KWQCursor.mm: Removed.
              * kwq/KWQIODevice.h: Removed.
              * kwq/KWQKCursor.h: Removed.
              * kwq/KWQKCursor.mm: Removed.
              * kwq/KWQKDebug.h: Removed.
              * kwq/KWQSignalStubs.cpp: Removed.
      
              * ForwardingHeaders/kcursor.h: Removed.
              * ForwardingHeaders/kdebug.h: Removed.
              * ForwardingHeaders/qbuffer.h: Removed.
      
              * kwq/KWQEvent.h: Removed unused constants and types QCustomEvent,
              QFocusEvent, QHideEvent, QShowEvent, QContextMenuEvent, and QResizeEvent.
      
              * kwq/KWQLoader.h: Removed KWQLoader class since signals are no longer needed.
              * kwq/KWQLoader.mm: Ditto.
      
              * kwq/KWQNamespace.h: Removed DontClip, ShowPrefix, WordBreak, LayoutDirection,
              LeftToRight, RightToLeft, RasterOp, CopyROP, OrROP, and XorROP.
      
              * kwq/KWQObject.h: Removed blockSignals, sender, _signalsBlocked, _sender,
              and KWQObjectSenderScope.
              * kwq/KWQObject.cpp:
              (QObject::QObject): Removed _signalsBlocked.
              (QObject::connect): Removed special-case signals to not complain about.
              All of them were either unused, converted to non-signal functions, or in one
              case (slotScrollBarMoved) turned into a FIXME.
      
              * kwq/KWQPainter.h: Removed rasterOp and setRasterOp.
              * kwq/KWQPainter.mm: Ditto.
      
              * kwq/KWQSignal.h:
              * kwq/KWQSignal.cpp: (KWQSignal::disconnect): Removed special cases for
              various signals; all are now using plain function calls instead.
      
              * kwq/KWQSlot.h:
              * kwq/KWQSlot.cpp: Removed slots that are no longer needed because they
              are using plain function calls instead of signals.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              Updated for changed files.
      
              * bridge/mac/FrameViewMac.mm: Moved the contents of KWQKHTMLView.cpp in here.
              * bridge/mac/KWQKHTMLView.cpp: Removed.
      
              * bridge/mac/MacFrame.h: Removed signals, changed setStatusBarText to take
              String instead of QString.
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::MacFrame): Removed signals.
              (WebCore::MacFrame::setStatusBarText): Changed parameter type.
              (WebCore::MacFrame::openURLFromPageCache): Removed parameter from started function.
              (WebCore::MacFrame::khtmlMouseMoveEvent): Changed from QCursor() to pointerCursor().
      
              * dom/DocumentImpl.h:
              * dom/DocumentImpl.cpp:
              (WebCore::DocumentImpl::DocumentImpl): Removed signals.
              (WebCore::DocumentImpl::implicitOpen): Ditto.
              (WebCore::DocumentImpl::determineParseMode): Removed a use of kdDebug.
              (WebCore::DocumentImpl::finishedParsing): Added. Does a setParsing(false) and then
              calls finishedParsing on the frame. Replaces the old finishedParsing signal.
      
              * dom/xml_tokenizer.h:
              * dom/xml_tokenizer.cpp: Removed the finishedParsing signal since it's not just
              a function on the document.
              (WebCore::XMLTokenizer::finish): Call the function instead of emitting the signal.
      
              * khtml/html/htmlparser.h:
              * khtml/html/htmlparser.cpp: Moved the parser inside the WebCore namespace.
      
              * khtml/html/htmltokenizer.h:
              * khtml/html/htmltokenizer.cpp: (WebCore::HTMLTokenizer::end): Updated
              to call finishedParsing function on document rather than emitting a signal.
      
              * kwq/KWQComboBox.mm:
              (-[KWQPopUpButton becomeFirstResponder]): Use QEvent instead of QFocusEvent.
              (-[KWQPopUpButton resignFirstResponder]): Ditto.
              * kwq/KWQFileButton.mm: (KWQFileButton::focusChanged): Ditto.
              * kwq/KWQListBox.mm:
              (-[KWQTableView becomeFirstResponder]): Ditto.
              (-[KWQTableView resignFirstResponder]): Ditto.
              * kwq/KWQSlider.mm:
              (-[KWQSlider becomeFirstResponder]): Ditto.
              (-[KWQSlider resignFirstResponder]): Ditto.
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView becomeFirstResponder]): Ditto.
              (-[KWQTextAreaTextView resignFirstResponder]): Ditto.
              * kwq/KWQTextField.mm:
              (-[KWQTextFieldController setHasFocus:]): Ditto.
      
              * kwq/KWQTextStream.h: Removed the mode parameter from the QTextStream constructor.
              Removed the QTextIStream and QTextOStream classes.
              * kwq/KWQTextStream.cpp: (QTextStream::QTextStream): Removed the mode parameter.
      
              * loader/CachedCSSStyleSheet.h: Changed to take a ByteArray instead of a QBuffer.
              * loader/CachedCSSStyleSheet.cpp: (WebCore::CachedCSSStyleSheet::data): Ditto.
              * loader/CachedImage.h: Ditto.
              * loader/CachedImage.cpp: (WebCore::CachedImage::data): Ditto.
              * loader/CachedObject.h: Ditto.
              * loader/CachedScript.h: Ditto.
              * loader/CachedScript.cpp: (WebCore::CachedScript::data): Ditto.
              * loader/CachedXBLDocument.h: Ditto.
              * loader/CachedXBLDocument.cpp: (WebCore::CachedXBLDocument::data): Ditto.
              * loader/CachedXSLStyleSheet.h:
              * loader/CachedXSLStyleSheet.cpp: (WebCore::CachedXSLStyleSheet::data): Ditto.
      
              * loader/DocLoader.cpp: (WebCore::DocLoader::setLoadInProgress): Added a call
              to loadDone on the frame. Replaces the requestFailed and requestDone signals.
      
              * loader/DocLoader.h: Removed include of <qbuffer.h>.
      
              * loader/Request.h:
              * loader/Request.cpp: Updated to use ByteArray instead of QBuffer.
      
              * loader/loader.h: Removed unused signals.
              * loader/loader.cpp:
              (WebCore::Loader::Loader): Removed use of KWQLoader.
              (WebCore::Loader::~Loader): Ditto.
              (WebCore::Loader::load): Removed code to emit unused requestStarted signal.
              (WebCore::Loader::slotFinished): Removed code to emit requestFailed and
              requestDone signals, now handled by DocLoader::setLoadInProgress(false).
              (WebCore::Loader::slotReceivedResponse): Use ByteArray instead of QBuffer.
              (WebCore::Loader::slotData): Ditto.
      
              * page/Frame.h: Removed setURLCursor, urlCursor, slotRestoreData, slotIncZoom,
              slotDecZoom, slotLoadImages, slotPartRemoved, slotActiveFrameChanged,
              slotChildURLRequest, slotShowDocument, slotAutoScroll, slotPrintFrame, slotSelectAll,
              slotProgressUpdate, slotJobPercent, slotJobSpeed.connectChild, disconnectChild,
              and changed a number of others from slots to plain old functions.
              * page/Frame.cpp:
              (WebCore::Frame::Frame): Don't connect to loader signals.
              (WebCore::Frame::~Frame): Don't disconnect from loader signals.
              (WebCore::Frame::didOpenURL): Call started function instead of emitting
              started signal. Don't connect to speed and percent signals (which never
              existed in WebCore anyway).
              (WebCore::Frame::stopLoading): Call finishedParsing function instead of
              calling slotFinishedParsing.
              (WebCore::Frame::executeScript): Removed redundant checks and let
              submitFormAgain do the checking.
              (WebCore::Frame::clear): Removed code to disconnect from finishedParsing
              signal; we now use a function. Also removed loop that calls disconnectChild,
              becase again we use functions now instead of signals.
              (WebCore::Frame::setDocument): Remove code to disconnect and connect to the
              finishedParsing signal.
              (WebCore::Frame::begin): Remove code to connect to the finishedParsing signal.
              (WebCore::Frame::finishedParsing): Moved code that does setParsing(false) into
              the document class. Also renamed from slotFinishedParsing.
              (WebCore::Frame::loadDone): Renamed from slotLoaderRequestDone.
              (WebCore::Frame::checkCompleted): Changed to call the completed function instead
              of emitting one of the two completed signals.
              (WebCore::Frame::loadSubframe): Removed call to connectChild because we now use
              functions instead of signals. Also change the call to completed to pass false
              instead of true.
              (WebCore::Frame::submitFormAgain): Change function around so we are less likely
              to leak if something strange happens inside submitForm.
              (WebCore::Frame::submitForm): Remove code to connect signal. We now call
              submitFormAgain from inside the completed function.
              (WebCore::Frame::parentCompleted): Renamed from slotParentCompleted. No longer
              a slot, now called from completed.
              (WebCore::Frame::childCompleted): Renamed from slotChildCompleted.
              (WebCore::Frame::setJSStatusBarText): Removed "emit" from function call. Changed
              to use String instead of QString.
              (WebCore::Frame::setJSDefaultStatusBarText): Ditto.
              (WebCore::Frame::sendResizeEvent): Changed to send DOM event directly instead of
              creating a QResizeEvent to send along to the FrameView.
              (WebCore::Frame::scrollToAnchor): Changed to not pass a parameter to the started
              function, which no longer takes one.
              (WebCore::Frame::frameDetached): Removed code that calls disconnectChild, since
              we no longer use signals.
              (WebCore::Frame::completed): Added. Calls childCompleted, parentCompleted, and
              submitFormAgain.
              (WebCore::Frame::setStatusBarText): Added.
              (WebCore::Frame::started): Added. Sets the complete flag to false for the frame
              and all its ancestors, which is what slotChildStarted did recursively.
      
              * page/FramePrivate.h: Removed m_activeFrame and changed m_kjsStatusBarText and
              m_kjsDefaultStatusBarText to String from QString.
      
              * page/FrameView.h: Removed resizeEvent, focusInEvent, focusOutEvent, and
              slotPaletteChanged. Changed cleared from a signal to a private function and
              slotScrollBarMoved to a private function named scrollBarMoved.
              * page/FrameView.cpp:
              (WebCore::FrameView::FrameView): Removed connect call here that was connecting
              a signal that's nonexistent in WebCore; we'll want to rig it up later.
              (WebCore::FrameView::~FrameView): Added a call to setQWidget(0) here to replace
              something that was done with a signal before.
              (WebCore::FrameView::clear): Call cleared as a function rather than a signal.
              (WebCore::selectCursor): Changed to use Cursor instead of QCursor.
              (WebCore::FrameView::scrollBarMoved): Renamed this function, which is never called.
              Added a FIXME about calling it.
              (WebCore::FrameView::cleared): Added. Calls viewCleared on the owner part, which
              used to be done with a signal.
      
              * platform/Widget.h: Changed to Cursor from QCursor.
              * platform/mac/WidgetMac.mm: (WebCore::Widget::setCursor): Ditto.
      
              * rendering/render_frames.h:
              * rendering/render_frames.cpp:
              (WebCore::RenderFrameSet::userResize): Removed cursor-setting code here. We might
              want to use resize cursors for frames again, but it was mostly disabled anyway and
              it's not clear which cursors to use.
              (WebCore::RenderPart::setWidget): Removed code to connect to the cleared signal.
              Instead, FrameView takes care of it directly.
              (WebCore::RenderPart::viewCleared): Renamed from slotViewCleared.
              (WebCore::RenderFrame::viewCleared): Ditto.
              (WebCore::RenderPartObject::viewCleared): Ditto.
      
              * rendering/render_image.cpp:
              (WebCore::RenderImage::imageChanged): Removed use of WordBreak, which doesn't exist
              in WebCore text rendering.
              (WebCore::RenderImage::paint): Ditto.
      
              * rendering/render_list.cpp: (RenderListMarker::paint): Removed use of DontClip, which
              doesn't exist in WebCore text rendering. Also removed incorrect use of references to
              temporaries for the ". " and " ." strings.
      
              * rendering/render_object.cpp:
              (WebCore::RenderObject::drawBorder): Removed call to setRasterOp since it is a no-op
              in WebCore's painter. Added a FIXME.
              (WebCore::RenderObject::information): Remove mode parameter to QTextStream.
      
              * rendering/render_replaced.h: Removed slotWidgetDestructed, made setQWidget public,
              * rendering/render_replaced.cpp:
              (WebCore::RenderWidget::setQWidget): Removed code to connect slotWidgetDestructed to
              the destroyed signal. Instead FrameView calls setQWidget(0) on us.
              (WebCore::RenderWidget::eventFilter): Removed use of QFocusEvent::reason, which is
              never "popup" in WebCore.
      
              * WebCore+SVG/kdom.h:
              * css/css_stylesheetimpl.cpp:
              * css/css_valueimpl.cpp:
              * css/cssparser.cpp:
              * kcanvas/KCanvasCreator.cpp:
              * kcanvas/KCanvasResources.cpp:
              * kcanvas/RenderPath.cpp:
              * khtml/ecma/xmlserializer.cpp:
              * khtml/html/html_baseimpl.cpp:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * ksvg2/svg/SVGPathSegLinetoImpl.cpp:
              * ksvg2/svg/SVGStyledTransformableElementImpl.cpp:
              * ksvg2/svg/SVGTransformImpl.cpp:
              * platform/StringImpl.cpp:
              * rendering/RenderBlock.cpp:
              * rendering/render_box.cpp:
              * rendering/render_canvas.cpp:
              * rendering/render_flow.cpp:
              * rendering/render_form.cpp:
              * rendering/render_layer.cpp:
              * rendering/render_style.cpp:
              Removed includes of <kdebug.h>.
      
              * css/css_base.cpp: (CSSSelector::selectorText):
              * khtml/ecma/kjs_binding.cpp:
              (KJS::ScriptInterpreter::wasRunByUserGesture):
              * khtml/ecma/kjs_css.cpp:
              (KJS::DOMCSSRule::putValueProperty):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::getValueProperty):
              (KJS::DOMNode::putValueProperty):
              (KJS::DOMDocument::getValueProperty):
              * khtml/ecma/kjs_events.cpp:
              (KJS::DOMEvent::getValueProperty):
              (KJS::DOMUIEvent::getValueProperty):
              (KJS::DOMMouseEvent::getValueProperty):
              (KJS::DOMKeyboardEvent::getValueProperty):
              (KJS::Clipboard::getValueProperty):
              (KJS::Clipboard::putValueProperty):
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLDocument::getValueProperty):
              (KJS::KJS::HTMLDocument::putValueProperty):
              (KJS::HTMLElement::anchorGetter):
              (KJS::HTMLElement::areaGetter):
              (KJS::KJS::HTMLElementFunction::callAsFunction):
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::DOMNodeIterator::getValueProperty):
              (KJS::DOMTreeWalker::getValueProperty):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Screen::getValueProperty):
              (KJS::Window::scheduleClose):
              (KJS::Window::isSafeScript):
              (KJS::Window::clear):
              (KJS::LocationFunc::callAsFunction):
              (KJS::History::getValueProperty):
              * ksvg2/svg/SVGAnimateColorElementImpl.cpp:
              (SVGAnimateColorElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimateElementImpl.cpp:
              (SVGAnimateElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimateTransformElementImpl.cpp:
              (SVGAnimateTransformElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimationElementImpl.cpp:
              (SVGAnimationElementImpl::parseMappedAttribute):
              * ksvg2/svg/SVGCursorElementImpl.cpp:
              * ksvg2/svg/SVGDocumentImpl.cpp:
              (WebCore::SVGDocumentImpl::finishedParsing):
              * ksvg2/svg/SVGLengthImpl.cpp:
              (SVGLengthImpl::updateValueInSpecifiedUnits):
              Removed use of kdWarning, kdDebug, etc.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      644b75ef
  22. 07 Feb, 2006 1 commit
    • hyatt's avatar
      Combine ImageData and Image (the result ends up in Image). · 058251ef
      hyatt authored
              Reviewed by mjs
      
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/objc/DOM.mm:
              (-[DOMElement _image]):
              (-[DOMElement _imageTIFFRepresentation]):
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::fileWrapperForElement):
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (KCanvasFEImageQuartz::getCIFilter):
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::Context2DFunction::callAsFunction):
              (KJS::drawPattern):
              (KJS::_rh):
              (KJS::ImagePattern::createPattern):
              * kwq/KWQClipboard.mm:
              (WebCore::KWQClipboard::dragNSImage):
              * kwq/KWQCursor.h:
              * kwq/KWQCursor.mm:
              (WebCore::createCustomCursor):
              (WebCore::QCursor::QCursor):
              * kwq/KWQPainter.h:
              * kwq/KWQPainter.mm:
              (WebCore::QPainter::drawImageAtPoint):
              (WebCore::QPainter::drawImageInRect):
              (WebCore::QPainter::drawImage):
              (WebCore::QPainter::drawFloatImage):
              (WebCore::QPainter::drawTiledImage):
              (WebCore::QPainter::drawScaledAndTiledImage):
              * loader/CachedImage.cpp:
              (WebCore::CachedImage::image):
              * loader/CachedImage.h:
              * page/FrameView.cpp:
              (WebCore::selectCursor):
              * platform/Image.cpp:
              (WebCore::Image::Image):
              (WebCore::Image::~Image):
              (WebCore::Image::invalidateData):
              (WebCore::Image::cacheFrame):
              (WebCore::Image::isNull):
              (WebCore::Image::size):
              (WebCore::Image::setData):
              (WebCore::Image::setNativeData):
              (WebCore::Image::frameCount):
              (WebCore::Image::isSizeAvailable):
              (WebCore::Image::frameAtIndex):
              (WebCore::Image::frameDurationAtIndex):
              (WebCore::Image::shouldAnimate):
              (WebCore::Image::startAnimation):
              (WebCore::Image::stopAnimation):
              (WebCore::Image::resetAnimation):
              (WebCore::Image::advanceAnimation):
              (WebCore::Image::rect):
              * platform/Image.h:
              (KXMLCore::):
              (WebCore::FrameData::m_duration):
              (WebCore::FrameData::~FrameData):
              (WebCore::Image::currentFrame):
              (WebCore::Image::animationObserver):
              (WebCore::Image::setIsPDF):
              * platform/ImageData.cpp: Removed.
              * platform/ImageData.h: Removed.
              * platform/cairo/ImageCairo.cpp:
              (WebCore::FrameData::clear):
              (WebCore::Image::initNativeData):
              (WebCore::Image::destroyNativeData):
              (WebCore::Image::invalidateNativeData):
              (WebCore::Image::drawInRect):
              (WebCore::Image::tileInRect):
              (WebCore::Image::scaleAndTileInRect):
              * platform/mac/Image.mm:
              (WebCore::FrameData::clear):
              (WebCore::Image::initNativeData):
              (WebCore::Image::destroyNativeData):
              (WebCore::Image::invalidateNativeData):
              (WebCore::Image::loadResource):
              (WebCore::Image::supportsType):
              (WebCore::Image::checkForSolidColor):
              (WebCore::Image::getTIFFRepresentation):
              (WebCore::Image::getNSImage):
              (WebCore::Image::getCGImageRef):
              (WebCore::Image::drawInRect):
              (WebCore::drawPattern):
              (WebCore::Image::tileInRect):
              (WebCore::Image::scaleAndTileInRect):
              * rendering/render_image.cpp:
              (WebCore::RenderImage::imageChanged):
              (WebCore::RenderImage::resetAnimation):
              (WebCore::RenderImage::paint):
              (WebCore::RenderImage::nullImage):
              * rendering/render_image.h:
              (WebCore::RenderImage::image):
              * rendering/render_list.cpp:
              (RenderListItem::getAbsoluteRepaintRect):
              (RenderListMarker::paint):
              (RenderListMarker::calcMinMaxWidth):
              * rendering/render_object.cpp:
              (WebCore::RenderObject::paintBorderImage):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      058251ef
  23. 27 Jan, 2006 1 commit
    • hyatt's avatar
      Fix for 6867. Rename QPixmap to Image and move it to platform/. · b9443599
      hyatt authored
              Eliminate QPaintDevice and QPaintDeviceMetrics completely, since
              they aren't necessary.
      
              Reviewed by anders
      
              * ForwardingHeaders/q3paintdevicemetrics.h: Removed.
              * ForwardingHeaders/qpaintdevice.h: Removed.
              * ForwardingHeaders/qpaintdevicemetrics.h: Removed.
              * ForwardingHeaders/qpixmap.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/MacFrame.mm:
              (MacFrame::fileWrapperForElement):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge reapplyStylesForDeviceType:]):
              (nowPrinting):
              (-[WebCoreFrameBridge elementAtPoint:]):
              * css/css_valueimpl.cpp:
              (WebCore::CSSPrimitiveValueImpl::computeLength):
              (WebCore::CSSPrimitiveValueImpl::computeLengthFloat):
              * css/css_valueimpl.h:
              * css/csshelper.cpp:
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::CSSStyleSelector):
              (WebCore::CSSStyleSelector::init):
              (WebCore::CSSStyleSelector::initForStyleResolve):
              (WebCore::CSSStyleSelector::styleForElement):
              (WebCore::CSSStyleSelector::pseudoStyleForElement):
              (WebCore::convertToLength):
              (WebCore::CSSStyleSelector::applyProperty):
              (WebCore::CSSStyleSelector::mapBackgroundXPosition):
              (WebCore::CSSStyleSelector::mapBackgroundYPosition):
              * css/cssstyleselector.h:
              * kcanvas/KCanvasFilters.h:
              (KCanvasFEImage::image):
              (KCanvasFEImage::setImage):
              * kcanvas/KCanvasImage.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (KCanvasFEImageQuartz::getCIFilter):
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
              (KCanvasImageQuartz::init):
              * khtml/ecma/kjs_events.cpp:
              (KJS::ClipboardProtoFunc::callAsFunction):
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::Context2DFunction::callAsFunction):
              (KJS::drawPattern):
              (KJS::_rh):
              (KJS::ImagePattern::createPattern):
              * khtml/ecma/kjs_html.h:
              (KJS::ImagePattern::image):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Screen::getValueProperty):
              * khtml/editing/SelectionController.h:
              * khtml/html/html_imageimpl.h:
              (WebCore::HTMLImageElementImpl::image):
              * khtml/misc/helper.h:
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::DocumentImpl):
              (WebCore::DocumentImpl::~DocumentImpl):
              (WebCore::DocumentImpl::recalcStyle):
              (WebCore::DocumentImpl::attach):
              (WebCore::DocumentImpl::detach):
              * khtml/xml/DocumentImpl.h:
              (WebCore::DocumentImpl::printing):
              (WebCore::DocumentImpl::setPrinting):
              * khtml/xml/dom2_eventsimpl.h:
              * ksvg2/css/SVGCSSStyleSelector.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (WebCore::KSVGPainterFactory::cssPrimitiveToLength):
              (WebCore::KSVGPainterFactory::strokePainter):
              * ksvg2/svg/SVGCursorElementImpl.cpp:
              (SVGCursorElementImpl::notifyFinished):
              * ksvg2/svg/SVGCursorElementImpl.h:
              (KSVG::SVGCursorElementImpl::image):
              * ksvg2/svg/SVGDocumentImpl.cpp:
              (SVGDocumentImpl::SVGDocumentImpl):
              * ksvg2/svg/SVGFEImageElementImpl.cpp:
              (SVGFEImageElementImpl::notifyFinished):
              * ksvg2/svg/SVGMaskElementImpl.cpp:
              (KSVG::SVGMaskElementImpl::drawMaskerContent):
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              * kwq/KWQApplication.h:
              * kwq/KWQApplication.mm:
              (QDesktopWidget::screenDepth):
              * kwq/KWQClipboard.h:
              * kwq/KWQClipboard.mm:
              (WebCore::KWQClipboard::dragImage):
              (WebCore::KWQClipboard::setDragImage):
              (WebCore::KWQClipboard::setDragImageElement):
              * kwq/KWQComboBox.mm:
              * kwq/KWQCursor.h:
              * kwq/KWQCursor.mm:
              (WebCore::createCustomCursor):
              (WebCore::QCursor::QCursor):
              * kwq/KWQKPartsEvent.h:
              * kwq/KWQObject.h:
              * kwq/KWQPaintDevice.h: Removed.
              * kwq/KWQPaintDeviceMetrics.h: Removed.
              * kwq/KWQPaintDeviceMetrics.mm: Removed.
              * kwq/KWQPainter.h:
              (WebCore::QPainter::printing):
              * kwq/KWQPainter.mm:
              (WebCore::QPainter::drawImage):
              (WebCore::QPainter::drawFloatImage):
              (WebCore::QPainter::drawTiledImage):
              (WebCore::QPainter::drawScaledAndTiledImage):
              * kwq/KWQPixmap.h: Removed.
              * kwq/KWQPixmap.mm: Removed.
              * kwq/KWQPrinter.h:
              (QPrinter::QPrinter):
              * kwq/KWQWidget.h:
              * loader/Cache.cpp:
              (khtml::Cache::init):
              (khtml::Cache::clear):
              (khtml::Cache::requestImage):
              (khtml::Cache::getStatistics):
              * loader/Cache.h:
              * loader/CachedImage.cpp:
              (WebCore::CachedImage::CachedImage):
              (WebCore::CachedImage::ref):
              (WebCore::CachedImage::tiled_image):
              (WebCore::CachedImage::image):
              (WebCore::CachedImage::image_size):
              (WebCore::CachedImage::do_notify):
              (WebCore::CachedImage::data):
              (WebCore::CachedImage::error):
              * loader/CachedImage.h:
              * loader/CachedImageCallback.cpp:
              (WebCore::CachedImageCallback::notifyUpdate):
              (WebCore::CachedImageCallback::notifyFinished):
              (WebCore::CachedImageCallback::handleError):
              * loader/CachedObject.h:
              (WebCore::CachedObject::):
              * loader/CachedObjectClient.h:
              (WebCore::CachedObjectClient::setImage):
              * loader/DocLoader.cpp:
              (khtml::DocLoader::setAutoloadImages):
              (khtml::DocLoader::setShowAnimations):
              * loader/loader.cpp:
              (WebCore::Loader::servePendingRequests):
              (WebCore::Loader::slotFinished):
              * page/Frame.cpp:
              (Frame::paint):
              * page/Frame.h:
              * page/FrameView.cpp:
              (selectCursor):
              * page/FrameView.h:
              * platform/Image.h: Added.
              * platform/mac/Image.mm: Added.
              (WebCore::Image::loadResource):
              (WebCore::Image::Image):
              (WebCore::Image::~Image):
              (WebCore::Image::imageRef):
              (WebCore::Image::resetAnimation):
              (WebCore::Image::setAnimationRect):
              (-[WebImageCallback initWithCallback:WebCore::]):
              (WebCore::Image::shouldUseThreadedDecoding):
              (WebCore::Image::receivedData):
              (WebCore::Image::mask):
              (WebCore::Image::isNull):
              (WebCore::Image::size):
              (WebCore::Image::rect):
              (WebCore::Image::width):
              (WebCore::Image::height):
              (WebCore::Image::resize):
              (WebCore::Image::operator=):
              (WebCore::Image::increaseUseCount):
              (WebCore::Image::decreaseUseCount):
              (WebCore::Image::stopAnimations):
              (WebCore::Image::flushRasterCache):
              * rendering/InlineTextBox.cpp:
              (khtml::InlineTextBox::paint):
              * rendering/InlineTextBox.h:
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::paintChildren):
              (WebCore::RenderBlock::paintObject):
              * rendering/RenderText.h:
              * rendering/font.cpp:
              (khtml::Font::update):
              * rendering/font.h:
              * rendering/render_box.cpp:
              (WebCore::RenderBox::paintBackgroundExtended):
              * rendering/render_canvasimage.cpp:
              (WebCore::RenderCanvasImage::paint):
              * rendering/render_flow.cpp:
              (RenderFlow::paintLines):
              * rendering/render_image.cpp:
              (WebCore::RenderImage::RenderImage):
              (WebCore::RenderImage::~RenderImage):
              (WebCore::RenderImage::setContentObject):
              (WebCore::RenderImage::setImage):
              (WebCore::RenderImage::paint):
              (WebCore::RenderImage::layout):
              (WebCore::RenderImage::calcReplacedWidth):
              (WebCore::RenderImage::calcReplacedHeight):
              * rendering/render_image.h:
              (WebCore::RenderImage::image):
              (WebCore::RenderImage::getImage):
              * rendering/render_line.cpp:
              (WebCore::InlineFlowBox::paintBackground):
              (WebCore::InlineFlowBox::paintBackgroundAndBorder):
              * rendering/render_list.cpp:
              (RenderListItem::getAbsoluteRepaintRect):
              (RenderListMarker::paint):
              (RenderListMarker::setImage):
              (RenderListMarker::calcMinMaxWidth):
              * rendering/render_list.h:
              * rendering/render_object.cpp:
              (WebCore::RenderObject::mustRepaintBackgroundOrBorder):
              (WebCore::RenderObject::paintBorderImage):
              (WebCore::RenderObject::paintBorder):
              (WebCore::RenderObject::setImage):
              * rendering/render_object.h:
              * rendering/render_replaced.cpp:
              (WebCore::RenderWidget::paint):
              * rendering/render_replaced.h:
              * rendering/render_theme_mac.mm:
              (khtml::RenderThemeMac::setFontFromControlSize):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9443599
  24. 13 Jan, 2006 1 commit
    • hyatt's avatar
      Convert QPoint and QPointArray to IntPoint and IntPointArray. · 85fa3d50
      hyatt authored
              Factor out the Objective-C-specific logic into a .mm file
              for IntPoint.
              
              * ForwardingHeaders/qpoint.h: Removed.
              * ForwardingHeaders/qpointarray.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/KWQKHTMLView.cpp:
              (KHTMLView::viewportToGlobal):
              * bridge/mac/KWQKPartsBrowserExtension.h:
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              (MacFrame::khtmlMouseMoveEvent):
              (MacFrame::dragSourceMovedTo):
              (MacFrame::dragSourceEndedAt):
              (MacFrame::dispatchDragSrcEvent):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge elementAtPoint:]):
              (-[WebCoreFrameBridge dragOperationForDraggingInfo:]):
              (-[WebCoreFrameBridge dragExitedWithDraggingInfo:]):
              (-[WebCoreFrameBridge concludeDragForDraggingInfo:]):
              (-[WebCoreFrameBridge dragSourceMovedTo:]):
              (-[WebCoreFrameBridge dragSourceEndedAt:operation:]):
              * kcanvas/KCanvasItem.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              (operator<<):
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * khtml/ecma/kjs_events.cpp:
              (KJS::ClipboardProtoFunc::callAsFunction):
              * khtml/ecma/kjs_window.cpp:
              (KJS::WindowFunc::callAsFunction):
              * khtml/editing/SelectionController.cpp:
              (khtml::SelectionController::layout):
              (khtml::SelectionController::caretRect):
              * khtml/editing/SelectionController.h:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_imageimpl.cpp:
              (DOM::HTMLAreaElementImpl::mapMouseEvent):
              (DOM::HTMLAreaElementImpl::getRegion):
              * khtml/rendering/render_image.cpp:
              (RenderImage::paint):
              * khtml/rendering/render_list.cpp:
              (RenderListMarker::paint):
              * khtml/rendering/render_object.cpp:
              (RenderObject::drawBorder):
              * khtml/xml/dom2_eventsimpl.h:
              * ksvg2/svg/SVGPointImpl.cpp:
              (SVGPointImpl::SVGPointImpl):
              * ksvg2/svg/SVGPointImpl.h:
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              (SVGSVGElementImpl::createSVGPoint):
              * ksvg2/svg/SVGSVGElementImpl.h:
              * kwq/KWQClipboard.h:
              * kwq/KWQClipboard.mm:
              (KWQClipboard::dragLocation):
              (KWQClipboard::setDragImage):
              (KWQClipboard::setDragImageElement):
              * kwq/KWQCursor.h:
              * kwq/KWQEvent.h:
              (QMouseEvent::pos):
              (QWheelEvent::QWheelEvent):
              (QWheelEvent::pos):
              (QWheelEvent::globalPos):
              * kwq/KWQEvent.mm:
              (positionForEvent):
              (globalPositionForEvent):
              * kwq/KWQPainter.h:
              * kwq/KWQPainter.mm:
              (QPainter::drawConvexPolygon):
              (QPainter::drawPixmap):
              * kwq/KWQPixmap.mm:
              (QPixmap::rect):
              * kwq/KWQPoint.mm: Removed.
              * kwq/KWQPointArray.cpp: Removed.
              * kwq/KWQPointArray.h: Removed.
              * kwq/KWQPointF.h:
              * kwq/KWQPointF.mm:
              (yCoord):
              * kwq/KWQRect.h:
              (QRect::moveTopLeft):
              (QRect::contains):
              * kwq/KWQRect.mm:
              (QRect::QRect):
              (QRect::topLeft):
              (QRect::topRight):
              (QRect::bottomRight):
              (QRect::bottomLeft):
              * kwq/KWQRegion.cpp:
              (QRegion::QRegion):
              (QRegion::contains):
              * kwq/KWQRegion.h:
              * kwq/KWQScrollView.h:
              * kwq/KWQScrollView.mm:
              (QScrollView::contentsToViewport):
              * kwq/KWQWidget.h:
              * kwq/KWQWidget.mm:
              (QWidget::pos):
              (QWidget::move):
              (QWidget::mapFromGlobal):
              * kwq/KWQWindowWidget.h:
              * kwq/KWQWindowWidget.mm:
              (KWQWindowWidget::mapFromGlobal):
              (KWQWindowWidget::viewportToGlobal):
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameView.cpp:
              (KHTMLView::dispatchDragEvent):
              (KHTMLView::updateDragAndDrop):
              (KHTMLView::cancelDragAndDrop):
              (KHTMLView::performDragAndDrop):
              * page/FrameView.h:
              * platform/IntPoint.cpp: Added.
              (WebCore::IntPoint::IntPoint):
              (WebCore::operator+):
              (WebCore::operator-):
              (WebCore::operator*):
              * platform/IntPoint.h: Added.
              (WebCore::IntPoint::x):
              (WebCore::IntPoint::y):
              (WebCore::IntPoint::setX):
              (WebCore::IntPoint::setY):
              (WebCore::IntPoint::isNull):
              (WebCore::IntPoint::operator -=):
              * platform/IntPointArray.cpp: Added.
              (IntPointArray::IntPointArray):
              (IntPointArray::copy):
              (IntPointArray::boundingRect):
              (IntPointArray::point):
              (IntPointArray::setPoint):
              (IntPointArray::setPoints):
              * platform/IntPointArray.h: Added.
              (WebCore::IntPointArray::IntPointArray):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85fa3d50
  25. 13 Jul, 2005 1 commit
    • justing's avatar
      Reviewed by mjs · cb372689
      justing authored
              Rolled in workarounds necessary to build with a gcc 4.0 regression introduced in build 5208:
              <rdar://problem/4175534> Regression in gcc-5208 "comparison of distinct Objective-C types lacks a cast" warning
              Problems overloading methods that take Objective-C typed arguments
      
              * kwq/KWQCursor.h:
              * kwq/KWQCursor.mm:
              (QCursor::makeWithNSCursor):
              * kwq/KWQKCursor.mm:
              (KCursor::crossCursor):
              (KCursor::handCursor):
              (KCursor::sizeAllCursor):
              (KCursor::ibeamCursor):
              (KCursor::waitCursor):
              (KCursor::whatsThisCursor):
              (KCursor::eastResizeCursor):
              (KCursor::northResizeCursor):
              (KCursor::northEastResizeCursor):
              (KCursor::northWestResizeCursor):
              (KCursor::southResizeCursor):
              (KCursor::southEastResizeCursor):
              (KCursor::southWestResizeCursor):
              (KCursor::westResizeCursor):
              * kwq/KWQKJobClasses.mm:
              (KIO::TransferJob::emitResult):
              (KIO::TransferJob::emitReceivedResponse):
              * kwq/KWQSignal.h:
              * kwq/KWQSignal.mm:
              (KWQSignal::callWithData):
              (KWQSignal::callWithResponse):
              * kwq/KWQSlot.h:
              * kwq/KWQSlot.mm:
              (KWQSlot::callWithData):
              (KWQSlot::callWithResponse):
              * kwq/KWQWidget.mm:
              (QWidget::cursor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb372689
  26. 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
  27. 21 Jan, 2003 1 commit
  28. 17 Dec, 2002 1 commit
    • darin's avatar
      top level: · fc4fd1d0
      darin authored
              Reviewed by Don and Maciej.
      
              * force-clean-timestamp: Trigger a full build since we are setting
      	MACOSX_DEPLOYMENT_TARGET to 10.2, which requires remaking all PFEs.
      
      Tools:
      
              * Scripts/check-copyright: Added.
      
      JavaScriptCore:
      
              Reviewed by Don and Maciej.
      
      	- fixed 3129115 -- need Apple copyright added to open source documents
      
      	* tons of files: Added our copyright to files we modified, and updated all to standard format.
      
      	- other changes
      
              * JavaScriptCore.pbproj/project.pbxproj: Set MACOSX_DEPLOYMENT_TARGET to 10.2.
      	Also removed completion.cpp.
              * kjs/completion.cpp: Removed.
              * kjs/completion.h: Made the Completion constructor inline.
      
              * kjs/grammar.y: Removed an obsolete "pretend ifdef". No need to put these in APPLE_CHANGES now.
      
      WebFoundation:
      
              Reviewed by Don and Maciej.
      
              * English.lproj/StringsNotToBeLocalized.txt: Updated for recent changes.
              * WebFoundation.pbproj/project.pbxproj: Set MACOSX_DEPLOYMENT_TARGET to 10.2.
      
      WebCore:
      
              Reviewed by Don and Maciej.
      
      	- fixed 3129115 -- need Apple copyright added to open source documents
      
      	* tons of files: Added copyright message to files we modified and
      	standardized format of copyrights too.
      
      	- fixed 3129235 -- assert in LRUList visiting apple.com if "Display images" preference is off
      
              * khtml/misc/loader.cpp:
              (Cache::getLRUListFor): Use the first list for 0-sized objects.
              (Cache::removeFromLRUList): Allow 0-sized objects.
      
      	- other changes
      
              * khtml/rendering/render_style.h: Remove bogus unused private constructor.
      
              * kwq/KWQFont.h: Added copy constructor and assignment operator.
              * kwq/KWQFont.mm:
              (QFont::QFont): Copy constructor now retains the NSFont. The old version didn't which could
      	cause retain/release problems.
              (QFont::operator=): Retain the new NSFont and release the old one.
      
              * WebCore.pbproj/project.pbxproj: Set MACOSX_DEPLOYMENT_TARGET to 10.2.
      
      WebKit:
      
              Reviewed by Don and Maciej.
      
              * WebView.subproj/WebUserAgentSpoofTable.gperf: Added a couple of new domains to the list we
      	spoof as Mac IE, and added comments.
              * WebView.subproj/WebUserAgentSpoofTable.c: Regenerated.
      
              * WebKit.pbproj/project.pbxproj: Set MACOSX_DEPLOYMENT_TARGET to 10.2
      
      WebBrowser:
      
              Reviewed by Don and Maciej.
      
      	- fixed 3106686 -- Remove "world leak" debugging window before beta
      
              * Test/PageLoadTestController.m:
              (-[PageLoadTestController windowDidLoad]): (Not part of the bug fix.) Changed the combo
      	box so it automatically sizes to the number of pltsuite files so we don't have to edit
      	the nib all the time.
              (-[PageLoadTestController anyWindowWillClose:]): Don't do any world leak test when the
      	window closes. The one in the page load test window is still there.
      
              * Debug/DebugUtilities.m: (-[NSApplication validate_toggleAlwaysCheckForWorldLeaks:]):
      	Don't enable or check the debug menu item at all. Put an ifdef in so we can turn it on later.
      
      	- fixed 3124310 -- remove "app refuses to launch" code before shipping
      
              * main.m: (main): Remove all the licensing code.
      
      	- other changes
      
              * BrowserNSNetServiceExtras.m: Made all locally-defined-and used functions static
      	so we would know if any were unused and for cleanliness.
              (-[NSNetService hostName:andPort:]): Remove some silly assertions.
              (decode_name): Change printf for errors to ERROR.
              (decode_srv): Ditto.
      	(decode_txt): Removed because it's unused.
              (skip_question): Ditto.
              (MyDictionaryKeyHashCallBack): Removed silly assertion.
              (MyCreateCFDictionaryFromTXT): Ditto.
      
              * WebBrowser.pbproj/project.pbxproj: Set MACOSX_DEPLOYMENT_TARGET to 10.2
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc4fd1d0
  29. 26 Oct, 2002 1 commit
  30. 03 Jun, 2002 1 commit
    • darin's avatar
      * acconfig.h: Remove APPLE_CHANGES (done in compiler invocation), · b95d6c41
      darin authored
      	_KWQ_ (not needed any more), _KWQ_PEDANTIC_ (not needed any more),
      	and _KWQ_IOSTREAM_ (set by KWQDef.h now).
      
      	* configure.in: Remove explict gcc3 and g++3; not needed on Jaguar.
      	Remove APPLE_CHANGES, _KWQ_, _KWQK_PEDANTIC_, and _KWQ_IOSTREAM_.
      	Do an AC_SUBST on COMMON_CFLAGS so the flags are used to generate the
      	.pfe files. Add conditional stuff so that WebCore exports less and
      	the Tests subdirectory is not build in Deployment style builds.
      
      	* Makefile.am: Only build Tests subdir when configure.in says it should.
      
      	* Tests/draw/*: Removed.
      
      	* Tests/qt/qbuffer-test.cpp: (main): Update for QBuffer changes.
      	* Tests/qt/qrect-test.cpp: (main): Remove unused variable.
      
      	* Tools/jersey/README: Fix newlines.
      	* Tools/jersey/html/advanced.html: Fix newlines.
      
      WebCore:
      
      	Get rid of many unneeded APPLE_CHANGES.
      	Also get rid of _KWQ_ and _KWQ_PEDANTIC_.
      
      	* WebCore.exp: Don't export DomShared::ref/deref any more.
      	* WebCore-tests.exp: Changed around as needed due to changes in
      	the classes being tested.
      
      	* khtml/html/htmlparser.cpp:
      	* khtml/html/htmltokenizer.cpp:
      	Simplified APPLE_CHANGES for better merging.
      
      	* khtml/dom/dom_misc.h:
      	* khtml/dom/dom_misc.cpp:
      	* khtml/dom/html_document.cpp:
      	* khtml/khtmlview.cpp:
      	* khtml/ecma/kjs_css.h:
      	* khtml/ecma/kjs_dom.cpp:
      	* khtml/ecma/kjs_dom.h:
      	* khtml/ecma/kjs_window.cpp:
      	* khtml/html/html_formimpl.cpp:
      	* khtml/html/html_objectimpl.cpp:
      	* khtml/misc/helper.cpp:
      	* khtml/rendering/bidi.cpp:
      	* khtml/rendering/render_flow.cpp:
      	* khtml/rendering/render_form.cpp:
      	* khtml/rendering/render_text.cpp:
      	* khtml/xml/xml_tokenizer.h:
      	* kwq/qt/qtextedit.h:
      	Remove now-unneeded APPLE_CHANGES.
      
      	* khtml/misc/loader.cpp: (CachedImage::pixmap): Turned off more of
      	the QMovie code.
      
      	* khtml/html/html_documentimpl.cpp:
      	* khtml/html/htmltokenizer.h:
      	* khtml/xml/dom_elementimpl.h:
      	* kwq/KWQKHTMLPart.mm:
      	Formatting and other minor tweaks.
      
      	* kwq/KWQApplication.mm: (QApplication::sendEvent): Implemented.
      	* kwq/KWQChar.mm: (QChar::direction): Improved implementation.
      
      	* kwq/KWQCollection.h: Removed.
      	* kwq/KWQIcon.h: Removed.
      
      	* kwq/Makefile.am: Removed following files.
      	* kwq/KWQKCompletionBox.mm: Removed.
      	* kwq/KWQKFactory.mm: Removed.
      	* kwq/KWQListBox.mm: Removed.
      	* kwq/KWQKImageIO.mm: Removed.
      
      	* kwq/KWQObject.mm: (QObject::event): Added, does nothing.
      	(QObject::inherits): Put in real implementation (good enough for us).
      
      	* kwq/WCWebDataSource.h: Removed extern declaration of global.
      
      	* kwq/KWQCursor.mm: (QCursor::handle): Made the handle be an
      	NSCursor *.
      
      	* kwq/external.h: Moved [IFWebView setFrameSize:] here.
      	Got rid of IFAnimatedImage.
      
      	* kwq/KWQDef.h: Remove unused Q_INT8, Q_INT16, Q_UINT8, Q_UINT16,
      	QCOORD, WFlags, WId, ASSERT, CHECK_PTR, Q_EXPORT, Q_PACKED,
      	QT_STATIC_CONST, QT_STATIC_CONST_IMPL. Define _KWQ_IOSTREAM_ only
      	when NDEBUG is not defined.
      
      	* kwq/KWQBuffer.mm:
      	* kwq/KWQCString.mm:
      	* kwq/KWQCollection.mm:
      	* kwq/KWQCompletion.h:
      	* kwq/KWQCompletion.mm:
      	* kwq/KWQFrame.h:
      	* kwq/KWQFrame.mm:
      	* kwq/KWQHBox.mm:
      	* kwq/KWQKFileItem.mm:
      	* kwq/KWQKIconLoader.mm:
      	* kwq/KWQKLineEdit.mm:
      	* kwq/KWQKProtocolManager.mm:
      	* kwq/KWQLabel.mm:
      	* kwq/KWQListBox.h:
      	* kwq/KWQMovie.mm:
      	* kwq/KWQWidget.mm:
      	* kwq/KWQxml.mm:
      	* kwq/qt/qbuffer.h:
      	* kwq/kdecore/kdebug.h:
      	* kwq/kdecore/kglobal.h:
      	* kwq/kdecore/kglobalsettings.h:
      	* kwq/kdecore/kiconloader.h:
      	* kwq/kdecore/kstaticdeleter.h:
      	* kwq/kdecore/kstringhandler.h:
      	* kwq/kdeui/kcombobox.h:
      	* kwq/kdeui/kcompletionbox.h:
      	* kwq/kdeui/klineedit.h:
      	* kwq/kdeui/klistbox.h:
      	* kwq/kdeui/kmessagebox.h:
      	* kwq/kio/kfileitem.h:
      	* kwq/kio/kimageio.h:
      	* kwq/kio/kmimetype.h:
      	* kwq/kio/kprotocolmanager.h:
      	* kwq/kio/netaccess.h:
      	* kwq/qt/qxml.h:
      	* kwq/kparts/browserinterface.h:
      	* kwq/kparts/factory.h:
      	* kwq/kparts/part.h:
      	* kwq/qt/qarray.h:
      	* kwq/qt/qcollection.h:
      	* kwq/qt/qcstring.h:
      	* kwq/qt/qcursor.h:
      	* kwq/qt/qdict.h:
      	* kwq/qt/qhbox.h:
      	* kwq/qt/qlabel.h:
      	* kwq/qt/qlist.h:
      	* kwq/qt/qmap.h:
      	* kwq/qt/qmovie.h:
      	* kwq/qt/qobject.h:
      	* kwq/qt/qpaintdevicemetrics.h:
      	* kwq/qt/qpainter.h:
      	* kwq/qt/qpoint.h:
      	* kwq/qt/qradiobutton.h:
      	* kwq/qt/qrect.h:
      	* kwq/qt/qregion.h:
      	* kwq/qt/qscrollview.h:
      	* kwq/qt/qsize.h:
      	* kwq/qt/qstack.h:
      	* kwq/qt/qstringlist.h:
      	* kwq/qt/qtextedit.h:
      	* kwq/qt/qvaluelist.h:
      	* kwq/qt/qvector.h:
      	* kwq/qt/qwidget.h:
      	* kwq/qt/qxml.h:
      	Removed unused stuff.
      
      	* kwq/KWQListBox.mm:
      	* kwq/KWQMapImpl.h:
      	* kwq/KWQMapImpl.mm:
      	* kwq/KWQPainter.mm:
      	* kwq/KWQPoint.mm:
      	* kwq/KWQRadioButton.mm:
      	* kwq/KWQRect.mm:
      	* kwq/KWQRegion.mm:
      	* kwq/KWQScrollBar.h:
      	* kwq/KWQScrollView.mm:
      	* kwq/KWQSize.mm:
      	* kwq/KWQStringList.mm:
      	* kwq/KWQbrowserinterface.mm:
      	Simplified.
      
      	* kwq/kdecore/kurl.h:
      	Added include to match what's expected by clients.
      
      	* kwq/qt/qobjectlist.h: Added. Empty file to make includers happy.
      
      	* kwq/khtml/khtml_printsettings.h: Added. Empty file.
      	* kwq/qt/qobjectlist.h: Added. Empty file.
      
      	* kwq/kio/kssl/ksslkeygen.h: Define just enough to make callers
      	happy.
      
      	* kwq/qt/qobject.h: Added event().
      	* kwq/kparts/part.h: Added bool return type to event().
      	* kwq/qt/qvector.h: Added QGVector base class.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b95d6c41
  31. 31 May, 2002 1 commit
    • darin's avatar
      Remove some unused stuff; total of 1000s of lines. · 23918b0e
      darin authored
      	* Makefile.am: Removed some strange uses of "./" and
      	improved stamp-related rules.
      
      	* WebCore-tests.exp: Removed QDir functions.
      
      	* khtml/Makefile.am: Removed java subdirectory.
      	* khtml/java/*: Removed.
      	* khtml/rendering/render_applet.cpp: Rearrange APPLE_CHANGES so
      	that we use our own KJavaAppletWidget rather than a QWidget.
      	* kwq/khtml/java/kjavaappletcontext.h: Added.
      	* kwq/khtml/java/kjavaappletwidget.h: Added.
      	* kwq/KWQKJavaAppletWidget.mm: Added. Replaces WCJavaAppletWidget.mm.
      	* kwq/KWQsignals.mm: Removed java-related signals.
      
      	* khtml/css/Makefile.am:
      	* khtml/misc/Makefile.am:
      	Improve stamp-related rules.
      
      	* khtml/misc/loader.cpp: Move around and add ifdefs so we don't
      	need as much KWQ code. Maybe revisit this later -- related to the
      	KDE implementation of animated and progressive loading images,
      	which we probably don't need, but it may integrate slightly better than
      	doing our hacks inside QPixmap.
      
      	* kwq/KWQApplication.mm:
      	* kwq/KWQFontInfo.mm:
      	* kwq/KWQInputDialog.mm:
      	* kwq/KWQKFileDialog.mm:
      	* kwq/KWQKHTMLPartBrowserExtension.mm:
      	* kwq/KWQKWin.mm:
      	* kwq/KWQKWinModule.mm:
      	* kwq/KWQKstddirs.mm:
      	* kwq/KWQPixmap.mm:
      	Simplified, removed unused code, minor tweaks.
      
      	* kwq/Makefile.am: Removed all the old files, added some new ones.
      	* kwq/KWQBitmap.mm: Removed.
      	* kwq/KWQBrush.mm: Removed.
      	* kwq/KWQDCOPClient.mm: Removed.
      	* kwq/KWQDataStream.h: Removed.
      	* kwq/KWQDir.mm: Removed.
      	* kwq/KWQFontDatabase.mm: Removed.
      	* kwq/KWQImage.mm: Removed.
      	* kwq/KWQKInstance.mm: Removed.
      	* kwq/KWQPaintDevice.mm: Removed.
      	* kwq/KWQPart.mm: Removed.
      	* kwq/KWQasyncimageio.mm: Removed.
      	* kwq/KWQasyncio.mm: Removed.
      	* kwq/KWQbrowserextension.mm: Removed.
      	* kwq/WCJavaAppletWidget.h: Removed.
      	* kwq/WCJavaAppletWidget.mm: Removed.
      	* kwq/qt/qdatastream.h: Removed.
      	* kwq/qt/qdir.h: Removed.
      	* kwq/qt/qlayout.h: Removed.
      
      	* kwq/KWQCursor.mm:
      	(QCursor::handle): Return the cursor object as an integer rather than
      	just returning 0; makes the code that uses handle() more likely to work
      	although it introduces a 64-bit cleanliness problem.
      
      	* kwq/KWQEvent.mm: Initialize event type in QEvent subclasses.
      
      	* kwq/WebCoreImageRenderer.h: Added NSObject and NSCopying protocols to
      	the WebCoreImageRenderer protocol.
      
      	* kwq/kwqdebug.h: Use displayableString in DEBUG_OBJECT for better logging.
      
      	* kwq/dcop/dcopclient.h:
      	* kwq/kdecore/kstddirs.h:
      	* kwq/kdecore/kwin.h:
      	* kwq/kdecore/kwinmodule.h:
      	* kwq/kfile/kfiledialog.h:
      	* kwq/kparts/browserextension.h:
      	* kwq/kparts/event.h:
      	* kwq/qt/qapplication.h:
      	* kwq/qt/qasyncimageio.h:
      	* kwq/qt/qasyncio.h:
      	* kwq/qt/qbitmap.h:
      	* kwq/qt/qbrush.h:
      	* kwq/qt/qbutton.h:
      	* kwq/qt/qcheckbox.h:
      	* kwq/qt/qcollection.h:
      	* kwq/qt/qcolor.h:
      	* kwq/qt/qcombobox.h:
      	* kwq/qt/qcursor.h:
      	* kwq/qt/qdrawutil.h:
      	* kwq/qt/qevent.h:
      	* kwq/qt/qfont.h:
      	* kwq/qt/qfontdatabase.h:
      	* kwq/qt/qfontinfo.h:
      	* kwq/qt/qimage.h:
      	* kwq/qt/qinputdialog.h:
      	* kwq/qt/qintcache.h:
      	* kwq/qt/qintdict.h:
      	* kwq/qt/qpaintdevice.h:
      	* kwq/qt/qpixmap.h:
      	* kwq/qt/qstring.h:
      	Removed lots of unused stuff, including old conditionals and the like.
      
      	* khtml/khtml_part.cpp:
      	(KHTMLPart::khtmlMouseMoveEvent): Add missing parenthesis.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23918b0e
  32. 26 May, 2002 1 commit
    • mjs's avatar
      WebCore: · 0c8b5c2b
      mjs authored
      	Webcore part of fix for:
      
      	Radar 2884085 - add support for changing cursor over links
      
      	* Makefile.am: Install tiff of link cursor.
      	* kwq/qt/qcursor.h, kwq/KWQCursor.mm:
      	(QCursor::QCursor): Change QCursor to contain an NSCursor.
      	(QCursor::~QCursor): Likewise.
      	(QCursor::operator=): Likewise.
      	(QCursor::handle): Likewise.
      	* kwq/KWQKCursor.mm:
      	(+[NSCursor _WebCore_linkCursor]): NSCursor extension method that
      	provides the link cursor.
      	(KCursor::handCursor): Use the link cursor instead of the default
      	arrow cursor.
      	* kwq/KWQKHTMLSettings.mm:
      	(KHTMLSettings::changeCursor): Return TRUE; we always want cursor
      	tracking.
      	* kwq/KWQView.h, kwq/KWQView.mm:
      	(-[KWQHTMLView setCursor:]): Remember the new cursor and
      	invalidate cursor rects.
      	(-[KWQHTMLView resetCursorRects]): Establish cursor rect for
      	currently set cursor, if not default.
      	* kwq/KWQWidget.mm:
      	(QWidget::setCursor): Call setCursor: on the underlying
      	NSView, if implemented.
      	(QWidget::cursor): Implemented.
      	(QWidget::unsetCursor): Implemented.
      
      WebKit:
      	WebKit part of fix for:
      
      	Radar 2884085 - add support for changing cursor over links
      
      	Also, fix handling of mouseMoved events.
      
      	* WebView.subproj/IFWebView.mm:
      	(-[IFWebView mouseMovedNotification:]): Clip mouseMoved events to
      	the view rect, otherwise mouseover effects might happen for
      	elements past the edge of the window.
      	(-[IFWebView setCursor:]): Implement.
      	(-[IFWebView resetCursorRects]): Implement.
      	* WebView.subproj/IFWebViewPrivate.h:
      	* WebView.subproj/IFWebViewPrivate.mm:
      	(-[IFWebViewPrivate dealloc]): Added NSCursor *cursor field.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c8b5c2b
  33. 21 Mar, 2002 1 commit
  34. 02 Oct, 2001 1 commit
  35. 10 Sep, 2001 1 commit
  36. 06 Sep, 2001 1 commit
  37. 28 Aug, 2001 2 commits
  38. 27 Aug, 2001 1 commit
  39. 24 Aug, 2001 1 commit