1. 13 May, 2011 1 commit
    • dcheng@chromium.org's avatar
      2011-05-13 Daniel Cheng <dcheng@chromium.org> · 0eb6dc60
      dcheng@chromium.org authored
              Reviewed by Tony Chang.
      
              Improve drag start logic
              https://bugs.webkit.org/show_bug.cgi?id=59409
      
              Add a new test to test drag start edge cases on Mac (because of a non-zero text drag delay)
              as well as rebase an existing test.
      
              * fast/css/user-drag-none.html: Text nodes are no longer draggable.
              * platform/mac/editing/pasteboard/drag-selections-to-contenteditable-expected.txt: Added.
              * platform/mac/editing/pasteboard/drag-selections-to-contenteditable.html: Added.
      2011-05-13  Daniel Cheng  <dcheng@chromium.org>
      
              Reviewed by Tony Chang.
      
              Improve drag start logic
              https://bugs.webkit.org/show_bug.cgi?id=59409
      
              Rewrite and simplify the dragging logic to better match IE, Firefox, and the behavior
              defined in the spec. Among other things:
              - draggableNode() no longer returns text nodes when dragging anchors.
              - When starting a drag over an image in a selection, prefer to drag the selection.
              - Several redundant hit tests have been removed.
              - Minor refactoring to make the logic easier to follow.
      
              Test: platform/mac/editing/pasteboard/drag-selections-to-contenteditable.html
      
              * WebCore.xcodeproj/project.pbxproj:
              * page/DragController.cpp:
              (WebCore::DragController::draggableNode):
              (WebCore::DragController::startDrag):
              * page/DragController.h:
              * page/DragState.h:
              (WebCore::DragState::shouldDispatchEvents):
              * page/EventHandler.cpp:
              (WebCore::EventHandler::EventHandler):
              (WebCore::EventHandler::eventMayStartDrag):
              (WebCore::EventHandler::updateDragSourceActionsAllowed):
              (WebCore::EventHandler::updateDragAndDrop):
              (WebCore::EventHandler::cancelDragAndDrop):
              (WebCore::EventHandler::dragHysteresisExceeded):
              (WebCore::EventHandler::dragSourceEndedAt):
              (WebCore::ExactlyOneBitSet):
              (WebCore::EventHandler::handleDrag):
              * page/EventHandler.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0eb6dc60
  2. 09 May, 2011 1 commit
  3. 08 Jan, 2011 1 commit
  4. 09 Aug, 2010 1 commit
    • barraclough@apple.com's avatar
      Bug 43594 - Add string forwards to Forward.h · d218c2df
      barraclough@apple.com authored
      This allows us to remove forward declarations for these classes from
      WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
      
      Rubber stamped by Sam Weinig
      
      JavaScriptCore: 
      
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * wtf/Forward.h:
      
      WebCore: 
      
      * WebCore.xcodeproj/project.pbxproj:
      * accessibility/AXObjectCache.h:
      * accessibility/AccessibilityARIAGrid.h:
      * accessibility/AccessibilityListBoxOption.h:
      * accessibility/AccessibilityObject.h:
      * accessibility/AccessibilityRenderObject.h:
      * accessibility/AccessibilityTable.h:
      * bindings/cpp/WebDOMCString.h:
      * bindings/cpp/WebDOMString.h:
      * bindings/gobject/ConvertToUTF8String.h:
      * bindings/js/DOMWrapperWorld.h:
      * bindings/js/JSDOMBinding.h:
      * bindings/js/JSDOMWindowBase.h:
      * bindings/js/JSMessagePortCustom.h:
      * bindings/js/JavaScriptCallFrame.h:
      * bindings/js/ScriptController.h:
      * bindings/js/ScriptProfile.h:
      * bindings/js/ScriptSourceProvider.h:
      * bindings/js/ScriptString.h:
      * bindings/js/WorkerScriptController.h:
      * bindings/objc/DOMImplementationFront.h:
      * bindings/v8/ScheduledAction.h:
      * bindings/v8/ScriptController.h:
      * bindings/v8/V8DOMWindowShell.h:
      * bindings/v8/V8Proxy.h:
      * bindings/v8/V8Utilities.h:
      * bindings/v8/custom/V8CustomXPathNSResolver.h:
      * bridge/c/c_utility.h:
      * css/CSSFontSelector.h:
      * css/CSSHelper.h:
      * css/CSSOMUtils.h:
      * css/CSSPrimitiveValue.h:
      * css/MediaList.h:
      * css/StyleBase.h:
      * css/StyleSheetList.h:
      * css/WebKitCSSKeyframesRule.h:
      * dom/CheckedRadioButtons.h:
      * dom/DOMImplementation.h:
      * dom/DocumentMarker.h:
      * dom/DynamicNodeList.h:
      * dom/EventTarget.h:
      * dom/MessagePort.h:
      * dom/MessagePortChannel.h:
      * dom/NameNodeList.h:
      * dom/Node.h:
      * dom/NodeList.h:
      * dom/OptionGroupElement.h:
      * dom/ScriptExecutionContext.h:
      * dom/SelectElement.h:
      * dom/ViewportArguments.h:
      * dom/make_names.pl:
      * editing/HTMLInterchange.h:
      * editing/htmlediting.h:
      * editing/markup.h:
      * html/CollectionCache.h:
      * html/DOMFormData.h:
      * html/DataGridColumnList.h:
      * html/DateComponents.h:
      * html/FileStream.h:
      * html/FileStreamProxy.h:
      * html/FormDataList.h:
      (WebCore::FormDataList::appendData):
      * html/HTMLCollection.h:
      * html/HTMLElementStack.h:
      * html/HTMLFormattingElementList.h:
      * html/HTMLParserQuirks.h:
      * html/HTMLQuoteElement.h:
      * html/HTMLScriptRunnerHost.h:
      * html/StepRange.h:
      * html/canvas/CanvasGradient.h:
      * html/canvas/CanvasNumberArray.h:
      * html/canvas/CanvasPattern.h:
      * inspector/InjectedScript.h:
      * inspector/InspectorCSSStore.h:
      * inspector/InspectorClient.h:
      * inspector/InspectorFrontendClient.h:
      * inspector/InspectorValues.h:
      * inspector/ScriptDebugListener.h:
      * loader/CachedResourceClient.h:
      * loader/CrossOriginAccessControl.h:
      * loader/DocumentThreadableLoader.h:
      * loader/FrameLoaderClient.h:
      * loader/RedirectScheduler.h:
      * loader/SubframeLoader.h:
      * loader/appcache/DOMApplicationCache.h:
      * loader/archive/ArchiveFactory.h:
      * loader/icon/IconDatabaseClient.h:
      * notifications/NotificationPresenter.h:
      * page/Chrome.h:
      * page/ChromeClient.h:
      * page/Console.h:
      * page/ContextMenuClient.h:
      * page/DOMSelection.h:
      * page/EditorClient.h:
      * page/EventHandler.h:
      * page/FrameView.h:
      * page/GeolocationPositionCache.h:
      * page/History.h:
      * page/Location.h:
      * page/Navigator.h:
      * page/NavigatorBase.h:
      * page/PluginHalterClient.h:
      * page/PrintContext.h:
      * page/SpeechInput.h:
      * page/SpeechInputListener.h:
      * page/animation/AnimationController.h:
      * platform/CookieJar.h:
      * platform/CrossThreadCopier.h:
      * platform/DragImage.h:
      * platform/FileSystem.h:
      * platform/Language.h:
      * platform/Length.h:
      * platform/LinkHash.h:
      * platform/LocalizationStrategy.h:
      * platform/LocalizedStrings.h:
      * platform/Logging.h:
      * platform/Pasteboard.h:
      * platform/PopupMenuClient.h:
      * platform/SearchPopupMenu.h:
      * platform/Widget.h:
      * platform/cf/BinaryPropertyList.h:
      * platform/chromium/ChromiumBridge.h:
      * platform/chromium/ClipboardUtilitiesChromium.h:
      * platform/cocoa/KeyEventCocoa.h:
      * platform/graphics/Color.h:
      * platform/graphics/FontCache.h:
      * platform/graphics/FontData.h:
      * platform/graphics/FontSelector.h:
      * platform/graphics/GraphicsTypes.h:
      * platform/graphics/Icon.h:
      * platform/graphics/ImageBuffer.h:
      * platform/graphics/ImageSource.h:
      * platform/graphics/MediaPlayer.h:
      * platform/graphics/MediaPlayerPrivate.h:
      * platform/graphics/Path.h:
      * platform/graphics/StringTruncator.h:
      * platform/graphics/cairo/FontCustomPlatformData.h:
      * platform/graphics/cairo/FontPlatformData.h:
      * platform/graphics/cg/FontPlatformData.h:
      * platform/graphics/cg/ImageSourceCG.h:
      * platform/graphics/chromium/FontCustomPlatformData.h:
      * platform/graphics/chromium/FontPlatformDataChromiumWin.h:
      * platform/graphics/chromium/FontPlatformDataLinux.h:
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
      * platform/graphics/haiku/FontCustomPlatformData.h:
      * platform/graphics/mac/FontCustomPlatformData.h:
      * platform/graphics/mac/FontPlatformData.h:
      * platform/graphics/qt/FontCustomPlatformData.h:
      * platform/graphics/qt/FontPlatformData.h:
      * platform/graphics/win/FontCustomPlatformData.h:
      * platform/graphics/win/FontCustomPlatformDataCairo.h:
      * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
      * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h:
      * platform/graphics/wince/FontPlatformData.h:
      * platform/graphics/wince/MediaPlayerPrivateWince.h:
      * platform/graphics/wince/MediaPlayerProxy.h:
      * platform/graphics/wx/FontCustomPlatformData.h:
      * platform/graphics/wx/FontPlatformData.h:
      * platform/mac/PasteboardHelper.h:
      * platform/network/DNS.h:
      * platform/network/FormData.h:
      * platform/network/FormDataBuilder.h:
      * platform/network/HTTPParsers.h:
      * platform/text/Hyphenation.h:
      * platform/text/LineEnding.h:
      * platform/text/TextCodec.h:
      * platform/text/TextEncoding.h:
      * platform/text/TextStream.h:
      * platform/win/BString.h:
      * platform/win/ClipboardUtilitiesWin.h:
      * platform/win/WCDataObject.h:
      * platform/win/WebCoreTextRenderer.h:
      * plugins/DOMMimeType.h:
      * plugins/DOMMimeTypeArray.h:
      * plugins/DOMPlugin.h:
      * plugins/DOMPluginArray.h:
      * rendering/CounterNode.h:
      * rendering/HitTestResult.h:
      * rendering/RenderObjectChildList.h:
      * rendering/RenderText.h:
      * rendering/RenderTreeAsText.h:
      * rendering/TextControlInnerElements.h:
      * rendering/style/ContentData.h:
      * rendering/style/RenderStyle.h:
      * storage/DatabaseAuthorizer.h:
      * storage/DatabaseTrackerClient.h:
      * storage/SQLTransaction.h:
      * storage/SQLTransactionSync.h:
      * storage/Storage.h:
      * storage/chromium/DatabaseObserver.h:
      * svg/SVGAnimatedTemplate.h:
      * svg/SVGDocumentExtensions.h:
      * svg/SVGGlyphElement.h:
      * svg/SVGHKernElement.h:
      * svg/SVGNumberList.h:
      * svg/SVGPointList.h:
      * svg/SVGPreserveAspectRatio.h:
      * svg/SVGStylable.h:
      * svg/SVGTests.h:
      * svg/SVGTransformList.h:
      * svg/SVGTransformable.h:
      * svg/SVGVKernElement.h:
      * websockets/ThreadableWebSocketChannel.h:
      * websockets/ThreadableWebSocketChannelClientWrapper.h:
      * websockets/WebSocket.h:
      * websockets/WebSocketChannel.h:
      * websockets/WebSocketHandshakeResponse.h:
      * wml/WMLErrorHandling.h:
      * wml/WMLPageState.h:
      * wml/WMLVariables.h:
      * workers/DefaultSharedWorkerRepository.h:
      * workers/SharedWorkerRepository.h:
      * workers/Worker.h:
      * workers/WorkerContextProxy.h:
      * workers/WorkerLoaderProxy.h:
      * workers/WorkerLocation.h:
      * workers/WorkerMessagingProxy.h:
      * workers/WorkerReportingProxy.h:
      * workers/WorkerThread.h:
      * xml/DOMParser.h:
      * xml/XMLHttpRequestUpload.h:
      * xml/XPathEvaluator.h:
      * xml/XPathExpression.h:
      * xml/XPathNSResolver.h:
      * xml/XPathResult.h:
      * xml/XPathUtil.h:
      
      WebKit: 
      
      * WebKit.xcodeproj/project.pbxproj:
      
      WebKit/chromium: 
      
      * public/WebCString.h:
      * public/WebString.h:
      * src/DOMUtilitiesPrivate.h:
      * src/DebuggerAgentImpl.h:
      * src/DebuggerAgentManager.h:
      * src/WebDevToolsAgentImpl.h:
      * src/WebDevToolsFrontendImpl.h:
      * src/WebPageSerializerImpl.h:
      
      WebKit/efl: 
      
      * WebCoreSupport/InspectorClientEfl.h:
      
      WebKit/gtk: 
      
      * WebCoreSupport/InspectorClientGtk.h:
      
      WebKit/haiku: 
      
      * WebCoreSupport/FrameLoaderClientHaiku.h:
      * WebCoreSupport/InspectorClientHaiku.h:
      
      WebKit/mac: 
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.h:
      * Plugins/WebBaseNetscapePluginView.h:
      * WebCoreSupport/WebFrameLoaderClient.h:
      * WebCoreSupport/WebIconDatabaseClient.h:
      * WebCoreSupport/WebPluginHalterClient.h:
      * WebView/WebViewInternal.h:
      
      WebKit/qt: 
      
      * WebCoreSupport/FrameLoaderClientQt.h:
      * WebCoreSupport/InspectorClientQt.h:
      
      WebKit/win: 
      
      * COMVariantSetter.h:
      * MarshallingHelpers.h:
      * WebCoreSupport/WebContextMenuClient.h:
      * WebCoreSupport/WebPluginHalterClient.h:
      * WebHistory.h:
      
      WebKit/wx: 
      
      * WebKitSupport/FrameLoaderClientWx.h:
      * WebKitSupport/InspectorClientWx.h:
      
      WebKit2: 
      
      * UIProcess/PageClient.h:
      * UIProcess/VisitedLinkProvider.h:
      * UIProcess/WebContextInjectedBundleClient.h:
      * UIProcess/WebFrameProxy.h:
      * UIProcess/WebHistoryClient.h:
      * UIProcess/WebLoaderClient.h:
      * UIProcess/WebPolicyClient.h:
      * UIProcess/WebProcessProxy.h:
      * UIProcess/WebUIClient.h:
      * UIProcess/win/WebView.h:
      * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.h:
      * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
      * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
      * WebProcess/Plugins/NPRuntimeObjectMap.h:
      * WebProcess/Plugins/Netscape/NetscapePluginStream.h:
      * WebProcess/Plugins/PluginController.h:
      * WebProcess/WebPage/WebFrame.h:
      * WebProcess/WebPage/WebPage.h:
      * WebProcess/WebProcess.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d218c2df
  5. 06 Aug, 2010 1 commit
  6. 05 Aug, 2010 1 commit
    • barraclough@apple.com's avatar
      Bug 43594 - Add string forwards to Forward.h · eead80ac
      barraclough@apple.com authored
      This allows us to remove forward declarations for these classes from
      WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
      
      Rubber stamped by Sam Weinig
      
      JavaScriptCore: 
      
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * wtf/Forward.h:
      
      WebCore: 
      
      * WebCore.xcodeproj/project.pbxproj:
      * accessibility/AXObjectCache.h:
      * accessibility/AccessibilityARIAGrid.h:
      * accessibility/AccessibilityListBoxOption.h:
      * accessibility/AccessibilityObject.h:
      * accessibility/AccessibilityRenderObject.h:
      * accessibility/AccessibilityTable.h:
      * bindings/cpp/WebDOMCString.h:
      * bindings/cpp/WebDOMString.h:
      * bindings/gobject/ConvertToUTF8String.h:
      * bindings/js/DOMWrapperWorld.h:
      * bindings/js/JSDOMBinding.h:
      * bindings/js/JSDOMWindowBase.h:
      * bindings/js/JSMessagePortCustom.h:
      * bindings/js/JavaScriptCallFrame.h:
      * bindings/js/ScriptController.h:
      * bindings/js/ScriptProfile.h:
      * bindings/js/ScriptSourceProvider.h:
      * bindings/js/ScriptString.h:
      * bindings/js/WorkerScriptController.h:
      * bindings/objc/DOMImplementationFront.h:
      * bindings/v8/ScheduledAction.h:
      * bindings/v8/ScriptController.h:
      * bindings/v8/V8DOMWindowShell.h:
      * bindings/v8/V8Proxy.h:
      * bindings/v8/V8Utilities.h:
      * bindings/v8/custom/V8CustomXPathNSResolver.h:
      * bridge/c/c_utility.h:
      * css/CSSFontSelector.h:
      * css/CSSHelper.h:
      * css/CSSOMUtils.h:
      * css/CSSPrimitiveValue.h:
      * css/MediaList.h:
      * css/StyleBase.h:
      * css/StyleSheetList.h:
      * css/WebKitCSSKeyframesRule.h:
      * dom/CheckedRadioButtons.h:
      * dom/DOMImplementation.h:
      * dom/DocumentMarker.h:
      * dom/DynamicNodeList.h:
      * dom/EventTarget.h:
      * dom/MessagePort.h:
      * dom/MessagePortChannel.h:
      * dom/NameNodeList.h:
      * dom/Node.h:
      * dom/NodeList.h:
      * dom/OptionGroupElement.h:
      * dom/ScriptExecutionContext.h:
      * dom/SelectElement.h:
      * dom/ViewportArguments.h:
      * dom/make_names.pl:
      * editing/HTMLInterchange.h:
      * editing/htmlediting.h:
      * editing/markup.h:
      * html/CollectionCache.h:
      * html/DOMFormData.h:
      * html/DataGridColumnList.h:
      * html/DateComponents.h:
      * html/FileStream.h:
      * html/FileStreamProxy.h:
      * html/FormDataList.h:
      (WebCore::FormDataList::appendData):
      * html/HTMLCollection.h:
      * html/HTMLElementStack.h:
      * html/HTMLFormattingElementList.h:
      * html/HTMLParserQuirks.h:
      * html/HTMLQuoteElement.h:
      * html/HTMLScriptRunnerHost.h:
      * html/StepRange.h:
      * html/canvas/CanvasGradient.h:
      * html/canvas/CanvasNumberArray.h:
      * html/canvas/CanvasPattern.h:
      * inspector/InjectedScript.h:
      * inspector/InspectorCSSStore.h:
      * inspector/InspectorClient.h:
      * inspector/InspectorFrontendClient.h:
      * inspector/InspectorValues.h:
      * inspector/ScriptDebugListener.h:
      * loader/CachedResourceClient.h:
      * loader/CrossOriginAccessControl.h:
      * loader/DocumentThreadableLoader.h:
      * loader/FrameLoaderClient.h:
      * loader/RedirectScheduler.h:
      * loader/SubframeLoader.h:
      * loader/appcache/DOMApplicationCache.h:
      * loader/archive/ArchiveFactory.h:
      * loader/icon/IconDatabaseClient.h:
      * notifications/NotificationPresenter.h:
      * page/Chrome.h:
      * page/ChromeClient.h:
      * page/Console.h:
      * page/ContextMenuClient.h:
      * page/DOMSelection.h:
      * page/EditorClient.h:
      * page/EventHandler.h:
      * page/FrameView.h:
      * page/GeolocationPositionCache.h:
      * page/History.h:
      * page/Location.h:
      * page/Navigator.h:
      * page/NavigatorBase.h:
      * page/PluginHalterClient.h:
      * page/PrintContext.h:
      * page/SpeechInput.h:
      * page/SpeechInputListener.h:
      * page/animation/AnimationController.h:
      * platform/CookieJar.h:
      * platform/CrossThreadCopier.h:
      * platform/DragImage.h:
      * platform/FileSystem.h:
      * platform/Language.h:
      * platform/Length.h:
      * platform/LinkHash.h:
      * platform/LocalizationStrategy.h:
      * platform/LocalizedStrings.h:
      * platform/Logging.h:
      * platform/Pasteboard.h:
      * platform/PopupMenuClient.h:
      * platform/SearchPopupMenu.h:
      * platform/Widget.h:
      * platform/cf/BinaryPropertyList.h:
      * platform/chromium/ChromiumBridge.h:
      * platform/chromium/ClipboardUtilitiesChromium.h:
      * platform/cocoa/KeyEventCocoa.h:
      * platform/graphics/Color.h:
      * platform/graphics/FontCache.h:
      * platform/graphics/FontData.h:
      * platform/graphics/FontSelector.h:
      * platform/graphics/GraphicsTypes.h:
      * platform/graphics/Icon.h:
      * platform/graphics/ImageBuffer.h:
      * platform/graphics/ImageSource.h:
      * platform/graphics/MediaPlayer.h:
      * platform/graphics/MediaPlayerPrivate.h:
      * platform/graphics/Path.h:
      * platform/graphics/StringTruncator.h:
      * platform/graphics/cairo/FontCustomPlatformData.h:
      * platform/graphics/cairo/FontPlatformData.h:
      * platform/graphics/cg/FontPlatformData.h:
      * platform/graphics/cg/ImageSourceCG.h:
      * platform/graphics/chromium/FontCustomPlatformData.h:
      * platform/graphics/chromium/FontPlatformDataChromiumWin.h:
      * platform/graphics/chromium/FontPlatformDataLinux.h:
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
      * platform/graphics/haiku/FontCustomPlatformData.h:
      * platform/graphics/mac/FontCustomPlatformData.h:
      * platform/graphics/mac/FontPlatformData.h:
      * platform/graphics/qt/FontCustomPlatformData.h:
      * platform/graphics/qt/FontPlatformData.h:
      * platform/graphics/win/FontCustomPlatformData.h:
      * platform/graphics/win/FontCustomPlatformDataCairo.h:
      * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
      * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h:
      * platform/graphics/wince/FontPlatformData.h:
      * platform/graphics/wince/MediaPlayerPrivateWince.h:
      * platform/graphics/wince/MediaPlayerProxy.h:
      * platform/graphics/wx/FontCustomPlatformData.h:
      * platform/graphics/wx/FontPlatformData.h:
      * platform/mac/PasteboardHelper.h:
      * platform/network/DNS.h:
      * platform/network/FormData.h:
      * platform/network/FormDataBuilder.h:
      * platform/network/HTTPParsers.h:
      * platform/text/Hyphenation.h:
      * platform/text/LineEnding.h:
      * platform/text/TextCodec.h:
      * platform/text/TextEncoding.h:
      * platform/text/TextStream.h:
      * platform/win/BString.h:
      * platform/win/ClipboardUtilitiesWin.h:
      * platform/win/WCDataObject.h:
      * platform/win/WebCoreTextRenderer.h:
      * plugins/DOMMimeType.h:
      * plugins/DOMMimeTypeArray.h:
      * plugins/DOMPlugin.h:
      * plugins/DOMPluginArray.h:
      * rendering/CounterNode.h:
      * rendering/HitTestResult.h:
      * rendering/RenderObjectChildList.h:
      * rendering/RenderText.h:
      * rendering/RenderTreeAsText.h:
      * rendering/TextControlInnerElements.h:
      * rendering/style/ContentData.h:
      * rendering/style/RenderStyle.h:
      * storage/DatabaseAuthorizer.h:
      * storage/DatabaseTrackerClient.h:
      * storage/SQLTransaction.h:
      * storage/SQLTransactionSync.h:
      * storage/Storage.h:
      * storage/chromium/DatabaseObserver.h:
      * svg/SVGAnimatedTemplate.h:
      * svg/SVGDocumentExtensions.h:
      * svg/SVGGlyphElement.h:
      * svg/SVGHKernElement.h:
      * svg/SVGNumberList.h:
      * svg/SVGPointList.h:
      * svg/SVGPreserveAspectRatio.h:
      * svg/SVGStylable.h:
      * svg/SVGTests.h:
      * svg/SVGTransformList.h:
      * svg/SVGTransformable.h:
      * svg/SVGVKernElement.h:
      * websockets/ThreadableWebSocketChannel.h:
      * websockets/ThreadableWebSocketChannelClientWrapper.h:
      * websockets/WebSocket.h:
      * websockets/WebSocketChannel.h:
      * websockets/WebSocketHandshakeResponse.h:
      * wml/WMLErrorHandling.h:
      * wml/WMLPageState.h:
      * wml/WMLVariables.h:
      * workers/DefaultSharedWorkerRepository.h:
      * workers/SharedWorkerRepository.h:
      * workers/Worker.h:
      * workers/WorkerContextProxy.h:
      * workers/WorkerLoaderProxy.h:
      * workers/WorkerLocation.h:
      * workers/WorkerMessagingProxy.h:
      * workers/WorkerReportingProxy.h:
      * workers/WorkerThread.h:
      * xml/DOMParser.h:
      * xml/XMLHttpRequestUpload.h:
      * xml/XPathEvaluator.h:
      * xml/XPathExpression.h:
      * xml/XPathNSResolver.h:
      * xml/XPathResult.h:
      * xml/XPathUtil.h:
      
      WebKit: 
      
      * WebKit.xcodeproj/project.pbxproj:
      
      WebKit/chromium: 
      
      * public/WebCString.h:
      * public/WebString.h:
      * src/DOMUtilitiesPrivate.h:
      * src/DebuggerAgentImpl.h:
      * src/DebuggerAgentManager.h:
      * src/WebDevToolsAgentImpl.h:
      * src/WebDevToolsFrontendImpl.h:
      * src/WebPageSerializerImpl.h:
      
      WebKit/efl: 
      
      * WebCoreSupport/InspectorClientEfl.h:
      
      WebKit/gtk: 
      
      * WebCoreSupport/InspectorClientGtk.h:
      
      WebKit/haiku: 
      
      * WebCoreSupport/FrameLoaderClientHaiku.h:
      * WebCoreSupport/InspectorClientHaiku.h:
      
      WebKit/mac: 
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.h:
      * Plugins/WebBaseNetscapePluginView.h:
      * WebCoreSupport/WebFrameLoaderClient.h:
      * WebCoreSupport/WebIconDatabaseClient.h:
      * WebCoreSupport/WebPluginHalterClient.h:
      * WebView/WebViewInternal.h:
      
      WebKit/qt: 
      
      * WebCoreSupport/FrameLoaderClientQt.h:
      * WebCoreSupport/InspectorClientQt.h:
      
      WebKit/win: 
      
      * COMVariantSetter.h:
      * MarshallingHelpers.h:
      * WebCoreSupport/WebContextMenuClient.h:
      * WebCoreSupport/WebPluginHalterClient.h:
      * WebHistory.h:
      
      WebKit/wx: 
      
      * WebKitSupport/FrameLoaderClientWx.h:
      * WebKitSupport/InspectorClientWx.h:
      
      WebKit2: 
      
      * UIProcess/PageClient.h:
      * UIProcess/VisitedLinkProvider.h:
      * UIProcess/WebContextInjectedBundleClient.h:
      * UIProcess/WebFrameProxy.h:
      * UIProcess/WebHistoryClient.h:
      * UIProcess/WebLoaderClient.h:
      * UIProcess/WebPolicyClient.h:
      * UIProcess/WebProcessProxy.h:
      * UIProcess/WebUIClient.h:
      * UIProcess/win/WebView.h:
      * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.h:
      * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
      * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
      * WebProcess/Plugins/NPRuntimeObjectMap.h:
      * WebProcess/Plugins/Netscape/NetscapePluginStream.h:
      * WebProcess/Plugins/PluginController.h:
      * WebProcess/WebPage/WebFrame.h:
      * WebProcess/WebPage/WebPage.h:
      * WebProcess/WebProcess.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eead80ac
  7. 09 Dec, 2008 1 commit
    • ap@webkit.org's avatar
      Reviewed by Darin Adler. · bf13f524
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=22719
              Implement Navigator object in Workers
      
              Test: fast/workers/worker-navigator.html
      
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              Added WorkerNavigator sources.
      
              * bindings/js/JSWorkerContext.cpp: (WebCore::jsWorkerContextNavigator):
              Worker.navigator returns a WoerkerNavigator object (it is named just Navigator in the spec,
              but it is not the same interface that is available on Windows).
      
              * dom/Worker.cpp:
              (WebCore::Worker::notifyFinished):
              * dom/WorkerContext.cpp:
              (WebCore::WorkerContext::WorkerContext):
              (WebCore::WorkerContext::navigator):
              * dom/WorkerContext.h:
              (WebCore::WorkerContext::create):
              * dom/WorkerThread.cpp:
              (WebCore::WorkerThread::create):
              (WebCore::WorkerThread::WorkerThread):
              (WebCore::WorkerThread::workerThread):
              * dom/WorkerThread.h:
              Pass a pre-computed user agent string into worker, because it cannot call a client method
              directly, and pre-computing is easier than sending a synchronous message to the main thread.
      
              * page/Navigator.cpp:
              * page/Navigator.h:
              * page/NavigatorBase.cpp: Added.
              * page/NavigatorBase.h: Added.
              Factor out common (and uncommon, but very similar) functionality into a base class.
      
              * page/WorkerNavigator.cpp: Added.
              * page/WorkerNavigator.h: Added.
              * page/WorkerNavigator.idl: Added.
              Per Web Workers and HTML5, implement a small subset of what we currently have in Window.Navigator.
      
              * platform/network/NetworkStateNotifier.cpp: (WebCore::networkStateNotifier):
              Make networkStateNotifier() static constructor thread safe. The object is created on the
              thread it is first called from, while callbacks are registered on the main thread. Calls to
              onLine() from other threads are safe, because it is just loading a boolean.
      
              * platform/network/mac/NetworkStateNotifierMac.cpp: (WebCore::NetworkStateNotifier::NetworkStateNotifier):
              Schedule notifications on main event loop, not the current one.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf13f524
  8. 13 Nov, 2008 1 commit
    • ap@webkit.org's avatar
      Reviewed by Darin Adler. · 3568f13c
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=22203
              Implement Worker messaging
      
              No test cases included, because this functionality is disabled by default.
      
              The implementation is known to still have many race condition, but works quite well for
              testing.
      
              * WebCore.xcodeproj/project.pbxproj: Added WorkerTask.{h,cpp}.
      
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::markActiveObjectsForContext): Re-worded comments a little.
              (WebCore::markCrossHeapDependentObjectsForContext): Existing cross-heap GC protocol was
              incorrect, changed it to a much simpler (but still incorrect) version.
      
              * dom/WorkerTask.cpp: Added.
              (WebCore::WorkerTask::~WorkerTask):
              * dom/WorkerTask.h: Added.
              Tasks posted to workers implement this new interface.
      
              * bindings/js/JSDedicatedWorkerCustom.cpp:
              (WebCore::JSDedicatedWorker::mark):
              (WebCore::JSDedicatedWorker::connect):
              * dom/DedicatedWorker.h:
              * dom/DedicatedWorker.idl:
              Auto-generate event listener attributes. Renamed startConversation() to connect(), tracking
              WHATWG discussions.
      
              * dom/DedicatedWorker.cpp:
              (WebCore::WorkerConnectTask::WorkerConnectTask): A task that performs worker-side connect()
              operations.
              (WebCore::DedicatedWorker::DedicatedWorker): Initialize WorkerThread pointer.
              (WebCore::DedicatedWorker::connect): Connect() creates a pair of entangled ports, and posts
              one to worker. Since message port registration in ScriptExecutionContext is not thread safe,
              this port starts with a null context pointer.
              (WebCore::DedicatedWorker::notifyFinished): Since Worker methods should work immediately
              after creation, we have to queue tasks until after a WorkerThread object is created. Then we
              forward all queued tasks to its queue.
      
              * dom/EventTarget.cpp: (WebCore::EventTarget::toWorkerContext):
              * dom/EventTarget.h:
              * bindings/js/JSEventTarget.cpp: (WebCore::toJS):
              Added cases for WorkerContext, which is now an EventTarget, too.
      
              * bindings/js/JSWorkerContext.h: Added JSWorkerContext::put() to make onconnect settable.
              * bindings/js/JSWorkerContext.cpp:
              (WebCore::JSWorkerContext::mark): Mark event listeners.
              (WebCore::JSWorkerContext::createPrototype): Fixed a typo, use the right StructureID.
              (WebCore::JSWorkerContext::put): Implemented.
              (WebCore::jsWorkerContextPrototypeFunctionAddEventListener): Added an EventTarget implementation.
              (WebCore::jsWorkerContextPrototypeFunctionRemoveEventListener): Ditto.
              (WebCore::jsWorkerContextPrototypeFunctionDispatchEvent): Ditto.
              (WebCore::jsWorkerContextOnconnect): Added.
              (WebCore::setJSWorkerContextOnconnect): Added.
      
              * bindings/js/WorkerScriptController.cpp: (WebCore::WorkerScriptController::evaluate):
              Made it actually work by adding necessary setup.
      
              * bindings/js/WorkerScriptController.h: (WebCore::WorkerScriptController::initScriptIfNeeded):
              Check the right variable - it is the wrapper that may not be initialized yet.
      
              * dom/ActiveDOMObject.cpp:
              (WebCore::ActiveDOMObject::ActiveDOMObject):
              (WebCore::ActiveDOMObject::~ActiveDOMObject):
              Assert being called from the correct thread, as active DOM object tracking is not thread safe.
      
              * dom/ScriptExecutionContext.h: Added a Task interface and a postTask() method, to be used
              for asynchronously executing tasks in context's thread.
      
              * dom/ScriptExecutionContext.cpp:
              (WebCore::ProcessMessagesSoonTask): Changed from a Timer to a Task
              (WebCore::ScriptExecutionContext::ScriptExecutionContext): Removed m_firedMessagePortTimer.
              It was an optimization that couldn't be easily preserved without introducing race conditions
              in multithreading case.
              (WebCore::ScriptExecutionContext::processMessagePortMessagesSoon): Use postTask().
              (WebCore::ScriptExecutionContext::dispatchMessagePortEvents): Added a comment explaining
              why it's OK to not ref() ports in a frozen copy.
              (WebCore::ScriptExecutionContext::createdMessagePort): Assert that we're not being called
              from a wrong thread.
              (WebCore::ScriptExecutionContext::destroyedMessagePort): Ditto.
              (WebCore::ScriptExecutionContextTaskTimer): Part of
              ScriptExecutionContext::Task implementation - use Timer if posting from main thread to main
              thread.
              (WebCore::ScriptExecutionContextTaskWorkerTask): Another part - use WorkerTask if posting
              to a worker.
              (WebCore::PerformTaskContext::PerformTaskContext): Finally, use callOnMainThread() if posting
              to main thread from a secondary one.
              (WebCore::performTask): A helper function for callOnMainThread().
              (WebCore::ScriptExecutionContext::postTask): Use one of the above implementations.
      
              * dom/MessagePort.h: Fixed message queue to keep EventData pointers - otherwise, we would
              ref/deref EventData::message from different threads, which is not allowed.
      
              * dom/MessagePort.cpp:
              (WebCore::MessagePortCloseEventTask): Use a task instead of a timer to work across threads.
              (WebCore::MessagePort::EventData::create): Updated for EventData being refcountable now.
              (WebCore::MessagePort::EventData::EventData): Ditto.
              (WebCore::MessagePort::MessagePort): ScriptExecutionContext is now allowed to be null at
              first, because we need to create ports for posting to other threads, and it is not possible
              to register in a context from another thread.
              (WebCore::MessagePort::clone): Always create ports with null contexts - it is now message
              receiver's job to set the context.
              (WebCore::MessagePort::postMessage): Enable posting to ports that are not attached to any
              context yet.
              (WebCore::MessagePort::startConversation): Ditto. Data port is always posted unattached.
              (WebCore::MessagePort::contextDestroyed): Assert that we had a context.
              (WebCore::MessagePort::attachToContext): Called when receiving a data port to register in
              context.
              (WebCore::MessagePort::scriptExecutionContext): Moved from header, as the function is virtual.
              (WebCore::MessagePort::dispatchMessages): Attach data port to receiving context. Use postTask().
              (WebCore::MessagePort::queueCloseEvent): Use postTask().
              (WebCore::MessagePort::hasPendingActivity): Reworded comment a little. As mentioned above,
              MessagePort cross-heap GC is still quite wrong.
      
              * dom/WorkerContext.h: Made WorkerContext an event target, added onconnect attribute.
              * dom/WorkerContext.cpp: Keep a pointer to WorkerThread. It is only used for debug assertions
              now, but there is no harm in tracking it in release builds, too.
      
              * dom/WorkerThread.cpp:
              (WebCore::WorkerThread::create): WorkerThread is refcountable, construct with create().
              (WebCore::WorkerThread::workerThread): Implemented a message loop.
              * dom/WorkerThread.h:
              (WebCore::WorkerThread::threadID): Also only used for assertions.
              (WebCore::WorkerThread::messageQueue): Return a reference to queue, so clients can post to it.
      
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::postMessage): MessagePort::clone() no longer takes a context, as it
              always sets it to null.
              (WebCore::DOMWindow::postMessageTimerFired): Attach data port to receiving context.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3568f13c
  9. 29 Oct, 2008 1 commit
    • ap@webkit.org's avatar
      Reviewed by Darin Adler. · 3c120a80
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=21923
              Create an abstraction for script execution context
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              Added ScriptExecutionContext.{h,cpp}.
      
              * bindings/js/JSAudioConstructor.cpp:
              (WebCore::JSAudioConstructor::JSAudioConstructor):
              * bindings/js/JSAudioConstructor.h:
              * bindings/js/JSImageConstructor.cpp:
              (WebCore::JSImageConstructor::JSImageConstructor):
              * bindings/js/JSImageConstructor.h:
              * bindings/js/JSOptionConstructor.cpp:
              (WebCore::JSOptionConstructor::JSOptionConstructor):
              * bindings/js/JSOptionConstructor.h:
              * bindings/js/JSXMLHttpRequestConstructor.cpp:
              (WebCore::JSXMLHttpRequestConstructor::JSXMLHttpRequestConstructor):
              * bindings/js/JSXMLHttpRequestConstructor.h:
              Pass ScriptExecutionContext instead of Document to make getDOMConstructor() happy.
              Since these objects can only work within documents now, it is immediately converted back
              to Document.
      
              * bindings/js/JSMessageChannelConstructor.cpp:
              (WebCore::JSMessageChannelConstructor::JSMessageChannelConstructor):
              (WebCore::JSMessageChannelConstructor::construct):
              * bindings/js/JSMessageChannelConstructor.h:
              (WebCore::JSMessageChannelConstructor::scriptExecutionContext):
              MessageChannel needs to be supported in workers right away, so the constructor operates with
              it directly.
      
              * dom/ActiveDOMObject.cpp:
              (WebCore::ActiveDOMObject::ActiveDOMObject):
              (WebCore::ActiveDOMObject::~ActiveDOMObject):
              (WebCore::ActiveDOMObject::contextDestroyed):
              * dom/ActiveDOMObject.h:
              (WebCore::ActiveDOMObject::scriptExecutionContext):
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::markActiveObjectsForContext):
              (WebCore::markCrossHeapDependentObjectsForContext):
              Use ScriptExecutionContext instead of Document, now that ActiveDOMObject and MessagePort
              tracking is handled by ScriptExecutionContext.
      
              * bindings/js/JSDOMBinding.h: (WebCore::getDOMPrototype): Moved to JSDOMGlobalObject.
      
              * bindings/js/JSDOMGlobalObject.h:
              (WebCore::getDOMConstructor): Moved to this file, as constructors live in JSDOMGlobalObject.
              Also, the two-argument version that used to be in JSDOMWindowBase.cpp need to be accessible
              to worker context implementation.
              (WebCore::scriptExecutionContext): Added a pure virtual method to access
              ScriptExecutionContext, implemented by subclasses.
      
              * bindings/js/JSDOMWindowBase.h:
              * bindings/js/JSDOMWindowBase.cpp: (WebCore::JSDOMWindowBase::scriptExecutionContext):
              Implement by returning the associated document. Note that this method currently gives bogus
              results after navigation - DOMWindow Frame reference is not zeroed out, so we get a document
              that is currently in the frame, not the one associated with this window.
      
              * bindings/js/JSDedicatedWorkerConstructor.cpp: Removed unnecessary include of DOMWindow.h.
      
              * bindings/js/JSDocumentCustom.cpp: (WebCore::JSDocument::mark):
              Call markActiveObjectsForContext() by its new name.
      
              * dom/DedicatedWorker.cpp:
              (WebCore::DedicatedWorker::DedicatedWorker):
              (WebCore::DedicatedWorker::document):
              * dom/DedicatedWorker.h:
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::document):
              * xml/XMLHttpRequest.h:
              Added a document() function that upcasts ScriptExecutionContext, as these objects only work
              within documents currently (at least for XMLHttpRequest, this will change soon though).
      
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::~Document):
              Moved active object and MessagePort tracking up to ScriptExecutionContext, to share code
              with workers.
              
              * dom/Document.h:
              (WebCore::Document::isDocument):
              (WebCore::Document::refScriptExecutionContext):
              (WebCore::Document::derefScriptExecutionContext):
              Inherit from ScriptExecutionContext.
      
              * dom/MessageChannel.cpp:
              (WebCore::MessageChannel::MessageChannel):
              * dom/MessageChannel.h:
              (WebCore::MessageChannel::create):
              Use ScriptExecutionContext instead of Document.
      
              * dom/MessagePort.cpp:
              (WebCore::CloseMessagePortTimer::CloseMessagePortTimer): Make m_port a RefPtr, because
              MessagePort doesn't ref() itself when posting this event any more (this is a fix for an
              unrelated issue that was causing random crashes in layout tests).
              (WebCore::MessagePort::MessagePort):
              (WebCore::MessagePort::~MessagePort):
              (WebCore::MessagePort::associatedFrame):
              (WebCore::MessagePort::clone):
              (WebCore::MessagePort::postMessage):
              (WebCore::MessagePort::startConversation):
              (WebCore::MessagePort::start):
              (WebCore::MessagePort::contextDestroyed):
              (WebCore::MessagePort::dispatchMessages):
              * dom/MessagePort.h:
              (WebCore::MessagePort::create):
              (WebCore::MessagePort::scriptExecutionContext):
              Use ScriptExecutionContext instead of Document. This is a step toward making MessagePort
              work in worker contexts - we need to also make some its method thread safe for cross-thread
              messaging, and make event dispatching thread safe.
      
              * dom/ScriptExecutionContext.cpp: Added.
              * dom/ScriptExecutionContext.h: Added.
              ActiveDOMObject and MessagePort tracking is moved from Document.
              It is debatable whether ScriptExecutionContext should be a parent of Document or DOMWindow,
              but as I'm just moving Document code, and it is Document that is the main context object
              in our implementation currently.
              Changing ScriptExecutionContext to be a parent of DOMWindow causes a number of bugs that
              seem non-trivial to fix, and isn't really a part of this task.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c120a80
  10. 25 Sep, 2008 1 commit
    • ap@webkit.org's avatar
      Reviewed by Sam Weinig, Anders Carlsson, and (unofficially) Adam Barth. · 28b5175c
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=20879
              Implement HTML5 channel messaging
      
              Tests: fast/events/message-channel-gc.html
                     fast/events/message-port-deleted-document.html
                     fast/events/message-port-deleted-frame.html
                     fast/events/message-port-inactive-document.html
                     fast/events/message-port.html
                     http/tests/security/MessagePort/event-listener-context.html
      
              * Configurations/WebCore.xcconfig:
              Removed unused  ENABLE_CROSS_DOCUMENT_MESSAGING macro.
      
              * DerivedSources.make:
              Added MessageChannel and MessagePort.
      
              * WebCore.pro: Made MessageEvent compilation unconditional, as it could not possibly be
              turmed off anyway. Added new files.
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              Added new files.
      
              * bindings/js/JSDOMWindowBase.h:
              * bindings/js/JSDOMWindowBase.cpp: (WebCore::JSDOMWindowBase::getValueProperty):
              Added suport for window.MessageChannel constructor.
      
              * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::postMessage):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::postMessage):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              Added support for three-argument postMessage (that posts a MessagePort).
      
              * dom/EventTarget.cpp:
              (WebCore::EventTarget::toMessagePort):
              * dom/EventTarget.h:
              * bindings/js/JSEventTargetBase.cpp: (WebCore::toJS): Added MessagePort as yet another
              EventTarget variant.
      
              * bindings/js/JSMessageChannelConstructor.h:
              * bindings/js/JSMessageChannelConstructor.cpp: Added a custom constructor, so that it could
              take a browsing context (document) parameter.
      
              * bindings/js/JSMessageChannelCustom.cpp: Added.
              (WebCore::JSMessageChannel::mark): JSMessageChannel uses a custom mark function to mark
              port1 and port2 that it owns.
      
              * bindings/js/JSMessagePortCustom.cpp: Added.
              (WebCore::JSMessagePort::startConversation):
              (WebCore::JSMessagePort::addEventListener):
              (WebCore::JSMessagePort::removeEventListener):
              (WebCore::JSMessagePort::dispatchEvent):
              (WebCore::JSMessagePort::setOnmessage):
              (WebCore::JSMessagePort::onmessage):
              (WebCore::JSMessagePort::setOnclose):
              (WebCore::JSMessagePort::onclose):
              (WebCore::JSMessagePort::mark):
              * dom/MessagePort.cpp: Added.
              * dom/MessagePort.h: Added.
              * dom/MessagePort.idl: Added.
              Added a MessagePort implementation. Currently, it is not thread-safe at all, and only works
              with Documents as contexts, but in the future, it will be used for communication with worker
              threads.
      
              * bindings/objc/DOMInternal.h: Include "DOMMessagePortInternal.h". The new APIs do not
              really have Obj-C bindings, as they are far from being final, but a MessagePort stub is
              needed for MessageEvent.
      
              * bindings/scripts/CodeGeneratorJS.pm: Include PlatformString.h for MessagePort happiness.
      
              * dom/Document.cpp:
              (WebCore::MessagePortTimer::MessagePortTimer):
              (WebCore::MessagePortTimer::fired):
              (WebCore::Document::processMessagePortMessagesSoon):
              (WebCore::Document::~Document):
              (WebCore::Document::dispatchMessagePortEvents):
              (WebCore::Document::createdMessagePort):
              (WebCore::Document::destroyedMessagePort):
              * dom/Document.h:
              Document keeps track of all MessagePort objects that were created when it was fully active
              in its context.
      
              * dom/EventNames.h: Added closeEvent.
      
              * dom/MessageChannel.cpp: Added.
              (WebCore::MessageChannel::MessageChannel):
              (WebCore::MessageChannel::~MessageChannel):
              * dom/MessageChannel.h: Added.
              (WebCore::MessageChannel::create):
              (WebCore::MessageChannel::port1):
              (WebCore::MessageChannel::port2):
              * dom/MessageChannel.idl: Added.
              Addded JSMessageChannel implementation.
      
              * dom/MessageEvent.cpp:
              (WebCore::MessageEvent::MessageEvent):
              (WebCore::MessageEvent::initMessageEvent):
              * dom/MessageEvent.h:
              (WebCore::MessageEvent::create):
              (WebCore::MessageEvent::messagePort):
              * dom/MessageEvent.idl:
              MessageEvent has a MessagePort member now, making it possible to pass ports across
              documents.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28b5175c
  11. 02 Dec, 2007 1 commit
  12. 12 Oct, 2007 1 commit
  13. 12 Jun, 2007 1 commit
  14. 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
  15. 20 Oct, 2006 1 commit
    • aliceli1's avatar
      WebCore: · 5a36ed98
      aliceli1 authored
              Reviewed by Maciej.
      
              This is the initial foundation for the EditingController class and
              everything else it needs to work.  The idea is that the Frame has an
              EditingController object that it calls to handle editing commands, the
              most simple examples being copy/paste.  This controller will handle
              these editing commands in WebCore, and only hand off to WebKit to call
              editing delegates (to the let the app intercept editing actions if it
              wants to).  Thus we need a platform-specific client to which the
              EditingController hands off the delegate calls, 
              WebCoreEditingControllerClient.  On the WebCore side this is an 
              abstract base class, and on the WebKit(Mac) side this is an ObjC++
              subclass, WebEditingControllerClient.  How does the EditingController
              get a handle to its platform-specific client?  In WebKit, the creator
              of a platform-specific Frame creates the client (which is ref-counted)
              and passes it down the chain of constructors until it gets back to the
              EditingController, which then refs it in its constructor and derefs in
              its destructor.
              
              No Layout tests needed.
              
              * WebCore.xcodeproj/project.pbxproj:
              Added files and made DomRangeInternal.h and EditingClient.h private headers, necessary for WebKit to compile
      
              * bridge/EditorClient.h: Added.
              (WebCore::EditorClient::~EditorClient):
      
              * bridge/mac/FrameMac.h:
              Added an EditingClient to the constructor, to pass down to Frame constructor
      
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::FrameMac):
              Passed client down to Frame constructor
              
              * bridge/mac/WebCoreFrameBridge.h:
              Added an EditingClient to the constructor, to pass down to FrameMac constructor
              
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge initMainFrameWithPage:withEditorClient:]):
              (-[WebCoreFrameBridge initSubframeWithOwnerElement:withEditorClient:]):
              Passed client down to FrameMac constructor
              
              * editing/Editor.cpp: Added.
              Mostly stuf implementations of the following functions, except for a couple.  These are all needed by cut, copy, paste, delete.
              (WebCore::generalPasteboard):
              (WebCore::Editor::canCopy):
              (WebCore::Editor::canCut):
              (WebCore::Editor::canDelete):
              (WebCore::Editor::canDeleteRange):
              (WebCore::Editor::canPaste):
              (WebCore::Editor::canSmartCopyOrDelete):
              (WebCore::Editor::deleteSelection):
              (WebCore::Editor::deleteSelectionWithSmartDelete):
              (WebCore::Editor::isSelectionRichlyEditable):
              (WebCore::Editor::pasteAsPlainTextWithPasteboard):
              (WebCore::Editor::pasteWithPasteboard):
              (WebCore::Editor::selectedRange):
              (WebCore::Editor::shouldDeleteRange):
              (WebCore::Editor::tryDHTMLCopy):
              (WebCore::Editor::tryDHTMLCut):
              (WebCore::Editor::tryDHTMLPaste):
              (WebCore::Editor::writeSelectionToPasteboard):
              (WebCore::Editor::Editor):
              (WebCore::Editor::~Editor):
              (WebCore::Editor::cut):
              (WebCore::Editor::copy):
              (WebCore::Editor::paste):
              (WebCore::Editor::performDelete):
              
              * editing/Editor.h: Added.
              
              * page/Frame.h:
              Added an EditingClient to the constructor, to pass down to Editor constructor
      
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              Passed down to Editor constructor
              (WebCore::Frame::editor):
              Accessfor for Editor stored in FramePrivate
              
              * page/FramePrivate.h:
              (WebCore::FramePrivate::FramePrivate):
              Added an Editor object to the FramePrivate data
              
              * platform/Sound.h: Added.
              Made a platform-independent accessor to a beep function
              
              * platform/mac/SoundMac.mm: Added.
              (WebCore::systemBeep):
              calls mac system beep
      
      WebKit:
      
              Reviewed by Maciej.
      
              Adding knowledge of EditorClient to WebKit
      
              * WebCoreSupport/WebEditorClient.h: Added.
      
              * WebCoreSupport/WebEditorClient.mm: Added.
              (WebEditorClient::WebEditorClient):
              (WebEditorClient::~WebEditorClient):
              (WebEditorClient::shouldDeleteRange):
              Implementation of mac EditorClient
      
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge initMainFrameWithPage:frameName:view:]):
              (-[WebFrameBridge initSubframeWithOwnerElement:frameName:view:]):
              create an editor client to pass down the chain of constructors
      
              * WebKit.xcodeproj/project.pbxproj:
              Added related EditorClient files
      
              * WebKitPrefix.h:
              Added tiger build flag in order to make certain private headers from webcore compile successfully
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17179 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a36ed98
  16. 09 Jul, 2006 1 commit
    • darin's avatar
      Reviewed by Tim Hatcher. · f4b05b29
      darin authored
              - put more into the WebCore namespace
              - removed unused code for plain text fields
      
              Put more classes, class templates, enums, functions, and constants into
              the WebCore namespace, including all the headers in the platform directory.
      
              Removed lots of unneeded "WebCore::" qualifiers and "using" directives.
      
              Added some "WebCore::" qualifiers in a few places.
      
              Removed "uses WebCore::" in headers that we said we'd remove "when
              everything is in the WebCore namespace".
      
              * bindings/js/JSDOMParser.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              * bindings/js/JSXSLTProcessor.cpp:
              * bindings/js/kjs_binding.cpp:
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_events.cpp:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOM.mm:
              * bridge/History.h:
              * bridge/JavaAppletWidget.h:
              * bridge/mac/FormDataMac.h:
              * bridge/mac/FormDataMac.mm:
              * bridge/mac/WebCoreAXObject.mm:
              * bridge/mac/WebCoreEncodings.mm:
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreIconDatabaseBridge.mm:
              * bridge/mac/WebCorePageState.h:
              * bridge/mac/WebCoreScriptDebugger.mm:
              * bridge/mac/WebCoreSettings.h:
              * css/CSSGrammar.y:
              * css/CSSPageRule.cpp:
              * css/CSSPageRule.h:
              * css/MediaList.cpp:
              * css/cssstyleselector.h:
              * dom/Clipboard.h:
              * dom/Document.cpp:
              * dom/Document.h:
              * dom/EventTargetNode.h:
              * dom/Node.cpp:
              * dom/Node.h:
              * dom/Position.h:
              * dom/Range.cpp:
              * dom/XMLTokenizer.cpp:
              * editing/AppendNodeCommand.h:
              * editing/ApplyStyleCommand.cpp:
              * editing/BreakBlockquoteCommand.cpp:
              * editing/BreakBlockquoteCommand.h:
              * editing/CompositeEditCommand.cpp:
              * editing/CompositeEditCommand.h:
              * editing/CreateLinkCommand.h:
              * editing/DeleteFromTextNodeCommand.h:
              * editing/DeleteSelectionCommand.h:
              * editing/FormatBlockCommand.h:
              * editing/HTMLInterchange.cpp:
              * editing/HTMLInterchange.h:
              * editing/IndentOutdentCommand.h:
              * editing/InsertIntoTextNodeCommand.h:
              * editing/InsertLineBreakCommand.h:
              * editing/InsertListCommand.h:
              * editing/InsertNodeBeforeCommand.h:
              * editing/InsertTextCommand.cpp:
              * editing/InsertTextCommand.h:
              * editing/JSEditor.cpp:
              * editing/JSEditor.h:
              * editing/JoinTextNodesCommand.h:
              * editing/MergeIdenticalElementsCommand.cpp:
              * editing/MergeIdenticalElementsCommand.h:
              * editing/ModifySelectionListLevel.h:
              * editing/MoveSelectionCommand.h:
              * editing/RebalanceWhitespaceCommand.h:
              * editing/RemoveNodeAttributeCommand.h:
              * editing/RemoveNodeCommand.h:
              * editing/RemoveNodePreservingChildrenCommand.h:
              * editing/ReplaceSelectionCommand.h:
              * editing/SetNodeAttributeCommand.h:
              * editing/SplitElementCommand.cpp:
              * editing/SplitElementCommand.h:
              * editing/SplitTextNodeCommand.cpp:
              * editing/SplitTextNodeCommand.h:
              * editing/SplitTextNodeContainingElementCommand.h:
              * editing/TypingCommand.cpp:
              * editing/TypingCommand.h:
              * editing/UnlinkCommand.h:
              * editing/VisiblePosition.cpp:
              * editing/WrapContentsInDummySpanCommand.cpp:
              * editing/WrapContentsInDummySpanCommand.h:
              * editing/markup.cpp:
              * editing/markup.h:
              * html/HTMLAnchorElement.cpp:
              * html/HTMLBodyElement.cpp:
              * html/HTMLButtonElement.h:
              * html/HTMLCollection.h:
              * html/HTMLDocument.h:
              * html/HTMLEmbedElement.cpp:
              * html/HTMLFormElement.cpp:
              * html/HTMLFormElement.h:
              * html/HTMLFrameElement.cpp:
              * html/HTMLFrameSetElement.cpp:
              * html/HTMLKeygenElement.cpp:
              * html/HTMLLabelElement.cpp:
              * html/HTMLObjectElement.cpp:
              * html/HTMLObjectElement.h:
              * html/HTMLTableElement.cpp:
              * html/HTMLTablePartElement.cpp:
              * icon/IconDatabase.h:
              * kcanvas/KCanvasPath.h:
              * kcanvas/KCanvasResources.cpp:
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/RenderSVGContainer.cpp:
              * kcanvas/RenderSVGText.h:
              * kcanvas/device/KRenderingPaintServer.h:
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerSolid.cpp:
              * ksvg2/misc/SVGImageLoader.cpp:
              * ksvg2/svg/SVGElement.cpp:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGForeignObjectElement.cpp:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGPoint.h:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGTRefElement.cpp:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.cpp:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/svgpathparser.cpp:
              * ksvg2/svg/svgpathparser.h:
              * loader/Cache.h:
              * loader/DocLoader.h:
              * loader/LoaderFunctions.h:
              * loader/mac/LoaderFunctionsMac.mm:
              * page/Frame.h:
              * page/FrameView.h:
              * page/Page.h:
              * page/Settings.h:
              * platform/AffineTransform.cpp:
              * platform/AffineTransform.h:
              * platform/Arena.cpp:
              * platform/Arena.h:
              * platform/CookieJar.h:
              * platform/DeprecatedCString.cpp:
              * platform/DeprecatedCString.h:
              * platform/DeprecatedPtrList.h:
              * platform/DeprecatedPtrListImpl.cpp:
              * platform/DeprecatedPtrListImpl.h:
              * platform/DeprecatedPtrQueue.h:
              * platform/DeprecatedString.cpp:
              * platform/DeprecatedString.h:
              * platform/DeprecatedStringList.cpp:
              * platform/DeprecatedStringList.h:
              * platform/DeprecatedValueList.h:
              * platform/DeprecatedValueListImpl.cpp:
              * platform/DeprecatedValueListImpl.h:
              * platform/FileButton.h:
              * platform/FloatPoint.h:
              * platform/FloatRect.h:
              * platform/FloatSize.h:
              * platform/FontData.h:
              * platform/FontFallbackList.h:
              * platform/GraphicsContext.h:
              * platform/IntPoint.h:
              * platform/IntRect.h:
              * platform/IntSize.h:
              * platform/KURL.cpp:
              * platform/KURL.h:
              * platform/ListBox.h:
              * platform/Logging.cpp:
              * platform/Logging.h:
              * platform/Pen.h:
              * platform/PopUpButton.h:
              * platform/RegularExpression.cpp:
              * platform/RegularExpression.h:
              * platform/SSLKeyGenerator.h:
              * platform/ScrollBar.h:
              * platform/SegmentedString.h:
              * platform/Shared.h:
              * platform/Slider.h:
              * platform/StringImpl.h:
              * platform/TextBox.h:
              * platform/TextField.h:
              * platform/TextStream.cpp:
              * platform/TextStream.h:
              * platform/TransferJob.h:
              * platform/TransferJobClient.h:
              * platform/Widget.h:
              * platform/cg/AffineTransformCG.cpp:
              * platform/mac/ClipboardMac.h:
              * platform/mac/ClipboardMac.mm:
              * platform/mac/DeprecatedStringListMac.mm:
              * platform/mac/FontCacheMac.mm:
              * platform/mac/KURLMac.mm:
              * platform/mac/ListBoxMac.mm:
              * platform/mac/PopUpButtonMac.mm:
              * platform/mac/SSLKeyGeneratorMac.mm:
              * platform/mac/TextBoxMac.mm:
              * platform/mac/TextFieldMac.mm:
              * platform/mac/WebCoreTextArea.h:
              * platform/mac/WebCoreTextArea.mm:
              * platform/mac/WebCoreTextField.h:
              * platform/mac/WebCoreTextField.mm:
              * rendering/DeprecatedRenderSelect.h:
              * rendering/RenderArena.cpp:
              * rendering/RenderArena.h:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBox.cpp:
              * rendering/RenderContainer.cpp:
              * rendering/RenderFlexibleBox.cpp:
              * rendering/RenderFlow.cpp:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLineEdit.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderStyle.cpp:
              * rendering/RenderStyle.h:
              * rendering/RenderText.cpp:
              * rendering/RenderTextFragment.cpp:
              * rendering/RenderTheme.h:
              * rendering/RenderTreeAsText.cpp:
              * rendering/RenderTreeAsText.h:
              * rendering/RenderView.h:
              * rendering/bidi.h:
              * xml/XSLStyleSheet.cpp:
              * xml/XSLTProcessor.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4b05b29
  17. 19 Mar, 2006 1 commit
  18. 23 Feb, 2006 1 commit
    • darin's avatar
      Reviewed by John Sullivan. · 947a31b6
      darin authored
              - moved QMouseEvent, QKeyEvent, QWheelEvent, and "Foundation extras"
                from kwq to platform directory
              - moved history function from kwq to bridge directory
              - eliminated QEvent, MousePressEvent, MouseDoubleClickEvent, MouseMoveEvent,
                MoveReleaseEvent, and DrawContents classes
              - merged NodeImpl::MouseEvent and the MouseEvent from khtml_events.h into
                a single class in the page directory
              - broke khtmllayout.h out into a file for the Length structure in the css
                directory and a file for the GapRects structure in the rendering directory
              - redid the Length structure to work more portably by not relying on bitfield
                layout and improve the names to no longer explicitly mention "width"
              - reduced use of QGuardedPtr and other uses of the QObject "destroyed" signal
      
              * ForwardingHeaders/kparts: Removed.
              * ForwardingHeaders/qevent.h: Removed.
              * khtml/khtml_events.cpp: Removed.
              * khtml/khtml_events.h: Removed.
              * khtml/misc/khtmllayout.h: Removed.
              * kwq/KWQEvent.h: Removed.
              * kwq/KWQEvent.mm: Removed.
              * kwq/KWQFoundationExtras.h: Removed.
              * kwq/KWQKHistoryProvider.mm: Removed.
              * kwq/KWQKPartsHistoryProvider.h: Removed.
      
              * bridge/History.h: Added.
              * bridge/mac/HistoryMac.mm: Added.
              * css/Length.h: Added.
              * page/MouseEventWithHitTestResults.h: Added.
              * platform/KeyEvent.h: Added.
              * platform/MouseEvent.h: Added.
              * platform/WheelEvent.h: Added.
              * platform/mac/FoundationExtras.h: Added.
              * platform/mac/KeyEventMac.mm: Added.
              * platform/mac/MouseEventMac.mm: Added.
              * platform/mac/WheelEventMac.mm: Added.
              * rendering/GapRects.h: Added.
      
              * WebCore.xcodeproj/project.pbxproj: Updated for above changes.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for above changes.
      
              * bridge/mac/MacFrame.h: Removed unused parameters from urlSelected functions.
              Replaced MouseEvent, MousePressEvent, MouseMoveEvent, and MouseReleaseEvent
              with MouseEventWithHitTestResults.
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::urlSelected): Removed unused parameters.
              (WebCore::MacFrame::wheelEvent): Changed to use WheelEvent.
              (WebCore::MacFrame::keyEvent): Changed to use KeyEvent.
              (WebCore::MacFrame::khtmlMousePressEvent): Changed parameter type.
              (WebCore::MacFrame::khtmlMouseMoveEvent): Ditto.
              (WebCore::MacFrame::khtmlMouseReleaseEvent): Ditto.
              (WebCore::MacFrame::passSubframeEventToSubframe): Ditto.
              (WebCore::MacFrame::mouseDown): Changed to use MouseEvent.
              (WebCore::MacFrame::mouseDragged): Ditto.
              (WebCore::MacFrame::mouseUp): Ditto.
              (WebCore::MacFrame::mouseMoved): Ditto.
              (WebCore::MacFrame::sendContextMenuEvent): Ditto.
      
              * css/csshelper.h: Removed a bunch of unused declarations.
      
              * dom/DocumentImpl.h:
              * dom/DocumentImpl.cpp:
              (WebCore::DocumentImpl::prepareMouseEvent): Changed to take a MouseEvent
              and return a MouseEventWithHitTestResults.
              (WebCore::DocumentImpl::defaultEventHandler): Changed to use KeyEvent.
      
              * dom/NodeImpl.h: Removed NodeImpl::MouseEvent and NodeImpl::MouseEventType.
              * dom/NodeImpl.cpp:
              (WebCore::NodeImpl::dispatchMouseEvent): Changed to always get the type and
              detail values from the caller, never from the event. Changed to use MouseEvent.
              (WebCore::NodeImpl::dispatchKeyEvent): Changed to use KeyEvent.
              (WebCore::NodeImpl::dispatchWheelEvent): Changed to use WheelEvent.
      
              * dom/dom2_eventsimpl.h:
              * dom/dom2_eventsimpl.cpp:
              (WebCore::KeyboardEventImpl::KeyboardEventImpl): Changed to use KeyEvent.
              (WebCore::KeyboardEventImpl::charCode): Ditto.
      
              * dom/dom_elementimpl.h: Removed unused mouseEventHandler function.
      
              * khtml/ecma/domparser.h: Use RefPtr instead of QGuardedPtr to hold the reference
              to the document.
      
              * khtml/ecma/kjs_proxy.h: (WebCore::KJSProxyImpl::haveInterpreter): Added. For
              use in the Frame destructor so we can get an existing KJS::Window object without
              creating a new interpreter and window object.
      
              * khtml/ecma/kjs_window.h: Merged WindowQObject into Window. Changed all the
              guarded pointers to Frame to use plain old pointers that are cleared by the
              Frame explicitly (by the function disconnectFrame). Made the pointers to all
              the sub-objects of KJS::Window be mutable so we don't have to const_cast in
              the functions to get (and lazily create) them.
              * khtml/ecma/kjs_window.cpp:
              (KJS::DOMWindowTimer::DOMWindowTimer): Use Window* instead of WindowQObject*.
              (KJS::History::disconnectFrame): Added. Clears m_frame.
              (KJS::FrameArray::disconnectFrame): Added. Clears m_frame.
              (KJS::Window::Window): Removed code to create a WindowQObject.
              (KJS::Window::~Window): Removed code to delete a WindowQObject.
              (KJS::Window::location): Remove now-unneeded const_cast.
              (KJS::Window::selection): Ditto.
              (KJS::Window::locationbar): Ditto.
              (KJS::Window::menubar): Ditto.
              (KJS::Window::personalbar): Ditto.
              (KJS::Window::statusbar): Ditto.
              (KJS::Window::toolbar): Ditto.
              (KJS::Window::scrollbars): Ditto.
              (KJS::Window::getValueProperty): Update since m_frame is now a raw pointer.
              (KJS::Window::getOwnPropertySlot): Ditto.
              (KJS::Window::toBoolean): Ditto.
              (KJS::Window::scheduleClose): Remove assert that WindowQObject* is not null.
              (KJS::Window::isSafeScript): Update since m_frame is now a raw pointer.
              (KJS::Window::clear): Remove code to delete a WindowQObject. Added a call
              to clearAllTimeouts instead.
              (KJS::Window::clearAllTimeouts): Added. Does equivalent of the WindowQObject
              destructor.
              (KJS::Window::installTimeout): Moved to Window from WindowQObject.
              (KJS::Window::pauseTimeouts): Ditto.
              (KJS::Window::resumeTimeouts): Ditto.
              (KJS::Window::clearTimeout): Ditto.
              (KJS::Window::timerFired): Ditto.
              (KJS::Window::disconnectFrame): Added. Sets all the frame pointers to 0.
              (KJS::FrameArray::getOwnPropertySlot): Update since m_frame is now a raw pointer.
              (KJS::Location::getOwnPropertySlot): Ditto.
              (KJS::Location::put): Ditto.
              (KJS::Selection::getOwnPropertySlot): Ditto.
              (KJS::BarInfo::getOwnPropertySlot): Ditto.
      
              * khtml/html/html_baseimpl.h: Forward-declare Length instead of including khtmllayout.h.
              * khtml/html/html_imageimpl.h: Ditto.
      
              * khtml/html/html_inlineimpl.cpp: (WebCore::HTMLAnchorElementImpl::defaultEventHandler):
              Changed to use KeyEvent and removed the code to extract the button and state from the
              DOM even to pass to urlSelected.
              * ksvg2/svg/SVGAElementImpl.cpp: (SVGAElementImpl::defaultEventHandler): Ditto.
      
              * khtml/html/htmltokenizer.cpp: (WebCore::HTMLTokenizer::timerFired): Change to use
              a RefPtr instead of a QGuardedPtr.
      
              * khtml/misc/helper.h:
              * khtml/misc/helper.cpp: Removed printpainter and setPrintPainter.
      
              * ksvg2/svg/SVGDocumentImpl.h:
              * ksvg2/svg/SVGDocumentImpl.cpp: (WebCore::SVGDocumentImpl::dispatchKeyEvent):
              Change to use KeyEvent.
      
              * kwq/KWQComboBox.mm:
              (-[KWQPopUpButton becomeFirstResponder]):
              (-[KWQPopUpButton resignFirstResponder]):
              * kwq/KWQFileButton.mm:
              (KWQFileButton::focusChanged):
              * kwq/KWQListBox.mm:
              (-[KWQTableView becomeFirstResponder]):
              (-[KWQTableView resignFirstResponder]):
              * kwq/KWQSlider.mm:
              (-[KWQSlider becomeFirstResponder]):
              (-[KWQSlider resignFirstResponder]):
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView becomeFirstResponder]):
              (-[KWQTextAreaTextView resignFirstResponder]):
              * kwq/KWQTextField.mm:
              (-[KWQTextFieldController setHasFocus:]):
              Updated to use new eventFilterFocusIn/Out instead of the general purpose
              eventFilter function. This allows us to remove QEvent and the focus events.
      
              * kwq/KWQNamespace.h: Removed ButtonState.
      
              * kwq/KWQObject.h:
              * kwq/KWQObject.cpp: Replaced eventFilter function with eventFilterFocusIn and
              eventFilterFocusOut, allowing us to remove QEvent. Removed event function.
      
              * kwq/KWQSlot.cpp:
              (KWQSlot::KWQSlot): Removed the parentDestroyed slot.
              (KWQSlot::call): Ditto.
      
              * page/Frame.h:
              * page/Frame.cpp:
              (WebCore::UserStyleSheetLoader::UserStyleSheetLoader): Renamed from
              PartStyleSheetLoader. Removed a lot of unneeded null checks. Use a
              raw Frame pointer instead of a QGuardedPtr, and count on the Frame
              to delete us when it's being deleted.
              (WebCore::UserStyleSheetLoader::~UserStyleSheetLoader): No longer
              a virtual function. This is not a polymorphic class.
              (WebCore::UserStyleSheetLoader::setStyleSheet): Remove code to delete
              ourselves -- that's now the frame's responsibility.
              (WebCore::Frame::~Frame): Call disconnectFrame on the KJS::Window and
              delete m_userStyleSheetLoader.
              (WebCore::Frame::changeLocation): Update since urlSelected no longer takes
              button and state parameters.
              (WebCore::Frame::setUserStyleSheet): Delete existing loader to stop a load
              in progress before starting a new load. Store reference to loader.
              (WebCore::Frame::urlSelected): Remove button and state parameters and unused
              local variable hasTarget.
              (WebCore::Frame::selectClosestWordFromMouseEvent): Change from QMouseEvent
              to MouseEvent.
              (WebCore::Frame::handleMousePressEventDoubleClick): Change from MousePressEvent
              to MouseEventWithHitTestResults.
              (WebCore::Frame::handleMousePressEventTripleClick): Ditto.
              (WebCore::Frame::handleMousePressEventSingleClick): Ditto.
              (WebCore::Frame::khtmlMousePressEvent): Ditto.
              (WebCore::Frame::handleMouseMoveEventSelection): Change from MouseMoveEvent
              to MouseEventWithHitTestResults.
              (WebCore::Frame::khtmlMouseMoveEvent): Ditto.
              (WebCore::Frame::khtmlMouseReleaseEvent): Change from MouseReleaseEvent
              to MouseEventWithHitTestResults.
              (WebCore::Frame::khtmlMouseDoubleClickEvent): Change from
              MouseReleaseDoubleClickEvent to MouseEventWithHitTestResults.
              (WebCore::Frame::passWidgetMouseDownEventToWidget): Change from
              NodeImpl::MouseEvent to MouseEventWithHitTestResults.
      
              * page/FramePrivate.h: Added m_userStyleSheetLoader.
      
              * page/FrameView.h:
              * page/FrameView.cpp:
              (WebCore::FrameView::viewportMousePressEvent): Change from QMouseEvent to
              MouseEvent and from NodeImpl::MouseEvent to MouseEventWithHitTestResults.
              (WebCore::FrameView::viewportMouseDoubleClickEvent): Ditto.
              (WebCore::selectCursor): Ditto.
              (WebCore::FrameView::viewportMouseMoveEvent): Ditto.
              (WebCore::FrameView::viewportMouseReleaseEvent): Ditto.
              (WebCore::FrameView::keyPressEvent): Change from QKeyEvent to KeyEvent.
              (WebCore::FrameView::dispatchMouseEvent): Change from QMouseEvent to
              MouseEvent and from NodeImpl::MouseEvent to MouseEventWithHitTestResults.
              (WebCore::FrameView::viewportWheelEvent): Change from QWheelEvent to
              WheelEvent.
              (WebCore::FrameView::hoverTimerFired): Update for change to prepareMouseEvent
              parameters.
      
              * platform/Widget.h:
              * platform/Widget.cpp: Removed event function.
      
              * rendering/render_form.h: Removed LineEditWidget, ComboBoxWidget, TextAreaWidget.
              * rendering/render_form.cpp:
              (WebCore::RenderFormElement::slotClicked): Changed from QMouseEvent to MouseEvent.
              (WebCore::RenderFormElement::addIntrinsicMarginsIfAllowed): Updated for changes
              to the Length class.
              (WebCore::RenderSelect::setWidgetWritingDirection): Updated for removal of
              ComboBoxWidget.
              (WebCore::RenderSelect::slotSelected): Ditto.
              (WebCore::RenderSelect::createComboBox): Ditto.
      
              * rendering/render_replaced.h:
              * rendering/render_replaced.cpp:
              (WebCore::RenderWidget::destroy): Updated since removeEventFilter no longer takes
              a parameter.
              (WebCore::RenderWidget::setQWidget): Ditto.
              (WebCore::RenderWidget::eventFilterFocusIn): Added. Replaces eventFilter.
              (WebCore::RenderWidget::eventFilterFocusOut): Ditto.
      
              * css/css_computedstyle.cpp:
              (WebCore::valueForLength):
              (WebCore::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
              * css/cssstyleselector.cpp:
              (WebCore::checkPseudoState):
              (WebCore::CSSStyleSelector::applyProperty):
              (WebCore::CSSStyleSelector::getComputedSizeFromSpecifiedSize):
              * khtml/html/html_imageimpl.cpp:
              (WebCore::HTMLAreaElementImpl::getRegion):
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::MarginInfo::MarginInfo):
              (WebCore::RenderBlock::isSelfCollapsingBlock):
              (WebCore::RenderBlock::layoutBlock):
              (WebCore::RenderBlock::determineHorizontalPosition):
              (WebCore::RenderBlock::leftRelOffset):
              (WebCore::RenderBlock::rightRelOffset):
              (WebCore::RenderBlock::calcMinMaxWidth):
              (WebCore::getBPMWidth):
              (WebCore::RenderBlock::calcInlineMinMaxWidth):
              (WebCore::RenderBlock::calcBlockMinMaxWidth):
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::calcWidth):
              (WebCore::RenderTable::layout):
              * rendering/RenderTableCell.cpp:
              (WebCore::RenderTableCell::calcMinMaxWidth):
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::addChild):
              (WebCore::RenderTableSection::addCell):
              (WebCore::RenderTableSection::calcRowHeight):
              (WebCore::RenderTableSection::layoutRows):
              * rendering/RenderText.h:
              (khtml::RenderText::marginLeft):
              (khtml::RenderText::marginRight):
              * rendering/bidi.cpp:
              (khtml::getBPMWidth):
              * rendering/render_applet.cpp:
              (WebCore::RenderApplet::createWidgetIfNecessary):
              * rendering/render_box.cpp:
              (WebCore::RenderBox::paintBackgroundExtended):
              (WebCore::RenderBox::getClipRect):
              (WebCore::RenderBox::relativePositionOffset):
              (WebCore::RenderBox::calcWidth):
              (WebCore::RenderBox::calcWidthUsing):
              (WebCore::RenderBox::sizesToIntrinsicWidth):
              (WebCore::RenderBox::calcHorizontalMargins):
              (WebCore::RenderBox::calcHeight):
              (WebCore::RenderBox::calcHeightUsing):
              (WebCore::RenderBox::calcPercentageHeight):
              (WebCore::RenderBox::calcReplacedWidth):
              (WebCore::RenderBox::calcReplacedWidthUsing):
              (WebCore::RenderBox::calcReplacedHeight):
              (WebCore::RenderBox::calcReplacedHeightUsing):
              (WebCore::RenderBox::availableHeightUsing):
              (WebCore::RenderBox::calcVerticalMargins):
              (WebCore::RenderBox::calcAbsoluteHorizontal):
              (WebCore::RenderBox::calcAbsoluteHorizontalValues):
              (WebCore::RenderBox::calcAbsoluteVertical):
              (WebCore::RenderBox::calcAbsoluteVerticalValues):
              * rendering/render_br.cpp:
              (WebCore::RenderBR::lineHeight):
              * rendering/render_flexbox.cpp:
              (khtml::RenderFlexibleBox::calcHorizontalMinMaxWidth):
              (khtml::RenderFlexibleBox::calcVerticalMinMaxWidth):
              (khtml::RenderFlexibleBox::calcMinMaxWidth):
              (khtml::RenderFlexibleBox::allowedChildFlex):
              * rendering/render_flow.cpp:
              (WebCore::RenderFlow::lineHeight):
              * rendering/render_frames.cpp:
              (WebCore::RenderFrameSet::layout):
              * rendering/render_image.cpp:
              (WebCore::RenderImage::isWidthSpecified):
              (WebCore::RenderImage::isHeightSpecified):
              * rendering/render_layer.cpp:
              (WebCore::Marquee::direction):
              (WebCore::Marquee::start):
              (WebCore::Marquee::updateMarqueeStyle):
              (WebCore::Marquee::timerFired):
              * rendering/render_line.cpp:
              (WebCore::InlineFlowBox::marginLeft):
              (WebCore::InlineFlowBox::marginRight):
              * rendering/render_object.cpp:
              (WebCore::RenderObject::mustRepaintBackgroundOrBorder):
              (WebCore::RenderObject::paintBorderImage):
              (WebCore::RenderObject::paddingTop):
              (WebCore::RenderObject::paddingBottom):
              (WebCore::RenderObject::paddingLeft):
              (WebCore::RenderObject::paddingRight):
              (WebCore::RenderObject::getVerticalPosition):
              (WebCore::RenderObject::lineHeight):
              (WebCore::RenderObject::addDashboardRegions):
              * rendering/render_style.h:
              * rendering/render_theme_mac.mm:
              (WebCore::RenderThemeMac::addIntrinsicMargins):
              * rendering/table_layout.cpp:
              (WebCore::FixedTableLayout::calcWidthArray):
              (WebCore::FixedTableLayout::calcMinMaxWidth):
              (WebCore::FixedTableLayout::layout):
              (WebCore::AutoTableLayout::recalcColumn):
              (WebCore::AutoTableLayout::fullRecalc):
              (WebCore::AutoTableLayout::calcMinMaxWidth):
              (WebCore::AutoTableLayout::calcEffectiveWidth):
              (WebCore::AutoTableLayout::layout):
              (WebCore::AutoTableLayout::calcPercentages):
              Updated for changes to the Length class.
              Also removed a check of the printpainter global, never used in WebCore.
      
              * bindings/objc/DOM.mm:
              * bindings/objc/DOMCSS.mm:
              * bindings/objc/DOMHTML.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * css/csshelper.cpp:
              * editing/SelectionController.cpp:
              * khtml/ecma/kjs_html.h:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQClipboard.mm:
              * kwq/KWQFont.mm:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQKJobClasses.mm:
              * kwq/KWQKURL.mm:
              * kwq/KWQLoader.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQPainter.mm:
              * kwq/WebCoreSettings.mm:
              * platform/StringImpl.cpp:
              * platform/mac/CursorMac.mm:
              * platform/mac/WidgetMac.mm:
              * rendering/RenderBlock.h:
              * rendering/render_canvas.cpp:
              * rendering/render_line.h:
              * rendering/render_style.cpp:
              * rendering/table_layout.h:
              Updated includes.
      
              * bindings/js/JSDOMCore.cpp: Touched, because I got strange failures if this
              didn't rebuild.
              * bindings/js/JSDOMEvents.cpp: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      947a31b6
  19. 22 Feb, 2006 1 commit
  20. 14 Feb, 2006 1 commit
    • darin's avatar
      Rubber-stamped by Eric. · a68e043d
      darin authored
              - moved editing sources from khtml/editing to editing, and renamed files with single classes
      
              * WebCore.xcodeproj/project.pbxproj: Added new, removed old.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Ditto.
      
              * bridge/mac/MacFrame.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * dom/DocumentImpl.cpp:
              * dom/dom2_rangeimpl.cpp:
              * dom/dom_position.cpp:
              * khtml/khtml_events.cpp:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.h:
              * kwq/KWQEditCommand.mm:
              * page/Frame.cpp:
              * page/FramePrivate.h:
              * rendering/RenderBlock.cpp:
              * rendering/RenderContainer.cpp:
              * rendering/RenderText.cpp:
              * rendering/render_br.cpp:
              * rendering/render_inline.cpp:
              * rendering/render_object.cpp:
              * rendering/render_replaced.cpp:
              Fixed up includes.
      
              * editing: Added.
              * editing/AppendNodeCommand.cpp: Added.
              * editing/AppendNodeCommand.h: Added.
              * editing/ApplyStyleCommand.cpp: Added.
              * editing/ApplyStyleCommand.h: Added.
              * editing/BreakBlockquoteCommand.cpp: Added.
              * editing/BreakBlockquoteCommand.h: Added.
              * editing/CompositeEditCommand.cpp: Added.
              * editing/CompositeEditCommand.h: Added.
              * editing/DeleteFromTextNodeCommand.cpp: Added.
              * editing/DeleteFromTextNodeCommand.h: Added.
              * editing/DeleteSelectionCommand.cpp: Added.
              * editing/DeleteSelectionCommand.h: Added.
              * editing/EditCommand.cpp: Added.
              * editing/EditCommand.h: Added.
              * editing/InsertIntoTextNodeCommand.cpp: Added.
              * editing/InsertIntoTextNodeCommand.h: Added.
              * editing/InsertLineBreakCommand.cpp: Added.
              * editing/InsertLineBreakCommand.h: Added.
              * editing/InsertNodeBeforeCommand.cpp: Added.
              * editing/InsertNodeBeforeCommand.h: Added.
              * editing/InsertParagraphSeparatorCommand.cpp: Added.
              * editing/InsertParagraphSeparatorCommand.h: Added.
              * editing/InsertTextCommand.cpp: Added.
              * editing/InsertTextCommand.h: Added.
              * editing/JoinTextNodesCommand.cpp: Added.
              * editing/JoinTextNodesCommand.h: Added.
              * editing/MergeIdenticalElementsCommand.cpp: Added.
              * editing/MergeIdenticalElementsCommand.h: Added.
              * editing/MoveSelectionCommand.cpp: Added.
              * editing/MoveSelectionCommand.h: Added.
              * editing/RebalanceWhitespaceCommand.cpp: Added.
              * editing/RebalanceWhitespaceCommand.h: Added.
              * editing/RemoveCSSPropertyCommand.cpp: Added.
              * editing/RemoveCSSPropertyCommand.h: Added.
              * editing/RemoveNodeAttributeCommand.cpp: Added.
              * editing/RemoveNodeAttributeCommand.h: Added.
              * editing/RemoveNodeCommand.cpp: Added.
              * editing/RemoveNodeCommand.h: Added.
              * editing/RemoveNodePreservingChildrenCommand.cpp: Added.
              * editing/RemoveNodePreservingChildrenCommand.h: Added.
              * editing/ReplaceSelectionCommand.cpp: Added.
              * editing/ReplaceSelectionCommand.h: Added.
              * editing/Selection.cpp:
              * editing/SelectionController.cpp:
              * editing/SetNodeAttributeCommand.cpp: Added.
              * editing/SetNodeAttributeCommand.h: Added.
              * editing/SplitElementCommand.cpp: Added.
              * editing/SplitElementCommand.h: Added.
              * editing/SplitTextNodeCommand.cpp: Added.
              * editing/SplitTextNodeCommand.h: Added.
              * editing/SplitTextNodeContainingElementCommand.cpp: Added.
              * editing/SplitTextNodeContainingElementCommand.h: Added.
              * editing/TypingCommand.cpp: Added.
              * editing/TypingCommand.h: Added.
              * editing/VisiblePosition.cpp: Added.
              * editing/VisiblePosition.h: Added.
              * editing/VisibleRange.cpp: Added.
              * editing/VisibleRange.h: Added.
              * editing/WrapContentsInDummySpanCommand.cpp: Added.
              * editing/WrapContentsInDummySpanCommand.h: Added.
              * editing/append_node_command.cpp: Removed.
              * editing/append_node_command.h: Removed.
              * editing/apply_style_command.cpp: Removed.
              * editing/apply_style_command.h: Removed.
              * editing/break_blockquote_command.cpp: Removed.
              * editing/break_blockquote_command.h: Removed.
              * editing/composite_edit_command.cpp: Removed.
              * editing/composite_edit_command.h: Removed.
              * editing/delete_from_text_node_command.cpp: Removed.
              * editing/delete_from_text_node_command.h: Removed.
              * editing/delete_selection_command.cpp: Removed.
              * editing/delete_selection_command.h: Removed.
              * editing/edit_command.cpp: Removed.
              * editing/edit_command.h: Removed.
              * editing/htmlediting.cpp:
              * editing/insert_into_text_node_command.cpp: Removed.
              * editing/insert_into_text_node_command.h: Removed.
              * editing/insert_line_break_command.cpp: Removed.
              * editing/insert_line_break_command.h: Removed.
              * editing/insert_node_before_command.cpp: Removed.
              * editing/insert_node_before_command.h: Removed.
              * editing/insert_paragraph_separator_command.cpp: Removed.
              * editing/insert_paragraph_separator_command.h: Removed.
              * editing/insert_text_command.cpp: Removed.
              * editing/insert_text_command.h: Removed.
              * editing/join_text_nodes_command.cpp: Removed.
              * editing/join_text_nodes_command.h: Removed.
              * editing/jsediting.cpp:
              * editing/markup.cpp:
              * editing/merge_identical_elements_command.cpp: Removed.
              * editing/merge_identical_elements_command.h: Removed.
              * editing/move_selection_command.cpp: Removed.
              * editing/move_selection_command.h: Removed.
              * editing/rebalance_whitespace_command.cpp: Removed.
              * editing/rebalance_whitespace_command.h: Removed.
              * editing/remove_css_property_command.cpp: Removed.
              * editing/remove_css_property_command.h: Removed.
              * editing/remove_node_attribute_command.cpp: Removed.
              * editing/remove_node_attribute_command.h: Removed.
              * editing/remove_node_command.cpp: Removed.
              * editing/remove_node_command.h: Removed.
              * editing/remove_node_preserving_children_command.cpp: Removed.
              * editing/remove_node_preserving_children_command.h: Removed.
              * editing/replace_selection_command.cpp: Removed.
              * editing/replace_selection_command.h: Removed.
              * editing/set_node_attribute_command.cpp: Removed.
              * editing/set_node_attribute_command.h: Removed.
              * editing/split_element_command.cpp: Removed.
              * editing/split_element_command.h: Removed.
              * editing/split_text_node_command.cpp: Removed.
              * editing/split_text_node_command.h: Removed.
              * editing/split_text_node_containing_element.cpp: Removed.
              * editing/split_text_node_containing_element_command.h: Removed.
              * editing/typing_command.cpp: Removed.
              * editing/typing_command.h: Removed.
              * editing/visible_position.cpp: Removed.
              * editing/visible_position.h: Removed.
              * editing/visible_range.cpp: Removed.
              * editing/visible_range.h: Removed.
              * editing/visible_units.cpp:
              * editing/wrap_contents_in_dummy_span_command.cpp: Removed.
              * editing/wrap_contents_in_dummy_span_command.h: Removed.
      
              * khtml/editing: Removed.
              * khtml/editing/Selection.cpp: Removed.
              * khtml/editing/Selection.h: Removed.
              * khtml/editing/SelectionController.cpp: Removed.
              * khtml/editing/SelectionController.h: Removed.
              * khtml/editing/append_node_command.cpp: Removed.
              * khtml/editing/append_node_command.h: Removed.
              * khtml/editing/apply_style_command.cpp: Removed.
              * khtml/editing/apply_style_command.h: Removed.
              * khtml/editing/break_blockquote_command.cpp: Removed.
              * khtml/editing/break_blockquote_command.h: Removed.
              * khtml/editing/composite_edit_command.cpp: Removed.
              * khtml/editing/composite_edit_command.h: Removed.
              * khtml/editing/delete_from_text_node_command.cpp: Removed.
              * khtml/editing/delete_from_text_node_command.h: Removed.
              * khtml/editing/delete_selection_command.cpp: Removed.
              * khtml/editing/delete_selection_command.h: Removed.
              * khtml/editing/edit_actions.h: Removed.
              * khtml/editing/edit_command.cpp: Removed.
              * khtml/editing/edit_command.h: Removed.
              * khtml/editing/html_interchange.cpp: Removed.
              * khtml/editing/html_interchange.h: Removed.
              * khtml/editing/htmlediting.cpp: Removed.
              * khtml/editing/htmlediting.h: Removed.
              * khtml/editing/insert_into_text_node_command.cpp: Removed.
              * khtml/editing/insert_into_text_node_command.h: Removed.
              * khtml/editing/insert_line_break_command.cpp: Removed.
              * khtml/editing/insert_line_break_command.h: Removed.
              * khtml/editing/insert_node_before_command.cpp: Removed.
              * khtml/editing/insert_node_before_command.h: Removed.
              * khtml/editing/insert_paragraph_separator_command.cpp: Removed.
              * khtml/editing/insert_paragraph_separator_command.h: Removed.
              * khtml/editing/insert_text_command.cpp: Removed.
              * khtml/editing/insert_text_command.h: Removed.
              * khtml/editing/join_text_nodes_command.cpp: Removed.
              * khtml/editing/join_text_nodes_command.h: Removed.
              * khtml/editing/jsediting.cpp: Removed.
              * khtml/editing/jsediting.h: Removed.
              * khtml/editing/markup.cpp: Removed.
              * khtml/editing/markup.h: Removed.
              * khtml/editing/merge_identical_elements_command.cpp: Removed.
              * khtml/editing/merge_identical_elements_command.h: Removed.
              * khtml/editing/move_selection_command.cpp: Removed.
              * khtml/editing/move_selection_command.h: Removed.
              * khtml/editing/rebalance_whitespace_command.cpp: Removed.
              * khtml/editing/rebalance_whitespace_command.h: Removed.
              * khtml/editing/remove_css_property_command.cpp: Removed.
              * khtml/editing/remove_css_property_command.h: Removed.
              * khtml/editing/remove_node_attribute_command.cpp: Removed.
              * khtml/editing/remove_node_attribute_command.h: Removed.
              * khtml/editing/remove_node_command.cpp: Removed.
              * khtml/editing/remove_node_command.h: Removed.
              * khtml/editing/remove_node_preserving_children_command.cpp: Removed.
              * khtml/editing/remove_node_preserving_children_command.h: Removed.
              * khtml/editing/replace_selection_command.cpp: Removed.
              * khtml/editing/replace_selection_command.h: Removed.
              * khtml/editing/set_node_attribute_command.cpp: Removed.
              * khtml/editing/set_node_attribute_command.h: Removed.
              * khtml/editing/split_element_command.cpp: Removed.
              * khtml/editing/split_element_command.h: Removed.
              * khtml/editing/split_text_node_command.cpp: Removed.
              * khtml/editing/split_text_node_command.h: Removed.
              * khtml/editing/split_text_node_containing_element.cpp: Removed.
              * khtml/editing/split_text_node_containing_element_command.h: Removed.
              * khtml/editing/text_affinity.h: Removed.
              * khtml/editing/text_granularity.h: Removed.
              * khtml/editing/typing_command.cpp: Removed.
              * khtml/editing/typing_command.h: Removed.
              * khtml/editing/visible_position.cpp: Removed.
              * khtml/editing/visible_position.h: Removed.
              * khtml/editing/visible_range.cpp: Removed.
              * khtml/editing/visible_range.h: Removed.
              * khtml/editing/visible_text.cpp: Removed.
              * khtml/editing/visible_text.h: Removed.
              * khtml/editing/visible_units.cpp: Removed.
              * khtml/editing/visible_units.h: Removed.
              * khtml/editing/wrap_contents_in_dummy_span_command.cpp: Removed.
              * khtml/editing/wrap_contents_in_dummy_span_command.h: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a68e043d
  21. 03 Oct, 2005 1 commit
    • mjs's avatar
      JavaScriptCore: · b64c50a2
      mjs authored
              Reviewed by Darin.
      
      	<rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5243
      
      	A number of optimizations to the new threadsafe malloc that make it actually as fast
      	as dlmalloc (I measured wrong before) and as memory-efficient as the system malloc.
      
      	- use fastMalloc for everything - it now gets applied to all new/delete allocations
      	via a private inline operator new that is now included into every file via config.h.
      
      	- tweaked some of the numeric parameters for size classes and amount of wasted memory
      	allowed per allocation - this saves on memory use and consequently improves speed.
      
      	- so long as the allocator is not being used on background threads, get the per-thread
      	cache from a global variable instead of from pthread_getspecific, since the latter is slow.
      
      	- inline more functions, and force the ones GCC refuses to inline with
      	attribute(always_inline), nearly all of these have one call site so inlining them has
      	to be a win.
      
      	- use some tricks to calculate allocation size more efficiently and fewer times for small
      	allocations, to avoid hitting the huge size table array.
      
      	- avoid hitting the per-thread cache on code paths that don't need it.
      
      	- implement inline assembly version of spinlock for PowerPC (was already done for x86)
      
              * bindings/NP_jsobject.cpp:
              * bindings/c/c_class.cpp:
              * bindings/c/c_instance.cpp:
              * bindings/c/c_runtime.cpp:
              * bindings/c/c_utility.cpp:
              * bindings/jni/jni_class.cpp:
              * bindings/jni/jni_instance.cpp:
              * bindings/jni/jni_jsobject.cpp:
              * bindings/jni/jni_objc.mm:
              * bindings/jni/jni_runtime.cpp:
              * bindings/jni/jni_utility.cpp:
              * bindings/npruntime.cpp:
              * bindings/objc/WebScriptObject.mm:
              * bindings/objc/objc_class.mm:
              * bindings/objc/objc_instance.mm:
              * bindings/objc/objc_runtime.mm:
              * bindings/objc/objc_utility.mm:
              * bindings/runtime.cpp:
              * bindings/runtime_array.cpp:
              * bindings/runtime_method.cpp:
              * bindings/runtime_object.cpp:
              * bindings/runtime_root.cpp:
              * bindings/testbindings.cpp:
              * bindings/testbindings.mm:
              * kjs/array_object.cpp:
              (ArrayInstanceImp::ArrayInstanceImp):
              (ArrayInstanceImp::~ArrayInstanceImp):
              (ArrayInstanceImp::resizeStorage):
              * kjs/bool_object.cpp:
              * kjs/collector.cpp:
              (KJS::Collector::registerThread):
              * kjs/config.h:
              * kjs/debugger.cpp:
              * kjs/error_object.cpp:
              * kjs/function.cpp:
              * kjs/function_object.cpp:
              * kjs/identifier.cpp:
              (KJS::Identifier::rehash):
              * kjs/internal.cpp:
              (KJS::Parser::saveNewNode):
              (KJS::clearNewNodes):
              * kjs/interpreter.cpp:
              * kjs/lexer.cpp:
              (Lexer::doneParsing):
              (Lexer::makeIdentifier):
              (Lexer::makeUString):
              * kjs/list.cpp:
              * kjs/math_object.cpp:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/nodes2string.cpp:
              * kjs/number_object.cpp:
              (integer_part_noexp):
              (char_sequence):
              * kjs/object.cpp:
              * kjs/object_object.cpp:
              * kjs/property_map.cpp:
              * kjs/property_slot.cpp:
              * kjs/protected_values.cpp:
              (KJS::ProtectedValues::rehash):
              * kjs/reference.cpp:
              * kjs/reference_list.cpp:
              * kjs/regexp.cpp:
              * kjs/regexp_object.cpp:
              * kjs/scope_chain.cpp:
              * kjs/scope_chain.h:
              * kjs/string_object.cpp:
              * kjs/testkjs.cpp:
              * kjs/ustring.h:
              * kjs/value.cpp:
              * kxmlcore/Assertions.mm:
              * kxmlcore/FastMalloc.cpp:
              (KXMLCore::InitSizeClasses):
              (KXMLCore::DLL_IsEmpty):
              (KXMLCore::DLL_Prepend):
              (KXMLCore::TCMalloc_Central_FreeList::Insert):
              (KXMLCore::TCMalloc_Central_FreeList::Remove):
              (KXMLCore::TCMalloc_Central_FreeList::Populate):
              (KXMLCore::TCMalloc_ThreadCache::Allocate):
              (KXMLCore::TCMalloc_ThreadCache::FetchFromCentralCache):
              (KXMLCore::fastMallocRegisterThread):
              (KXMLCore::TCMalloc_ThreadCache::GetCache):
              (KXMLCore::TCMalloc_ThreadCache::GetCacheIfPresent):
              (KXMLCore::TCMalloc_ThreadCache::CreateCacheIfNecessary):
              (KXMLCore::do_malloc):
              (KXMLCore::do_free):
              (KXMLCore::realloc):
              * kxmlcore/FastMalloc.h:
              (operator new):
              (operator delete):
              (operator new[]):
              (operator delete[]):
              * kxmlcore/HashTable.cpp:
              * kxmlcore/TCSpinLock.h:
              (TCMalloc_SpinLock::Lock):
              (TCMalloc_SpinLock::Unlock):
              (TCMalloc_SlowLock):
              * kxmlcore/TCSystemAlloc.cpp:
      
      WebCore:
      
              Reviewed by Darin.
      
      	<rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5243
      
      	- use fastMalloc for everything - it now gets applied to all new/delete allocations
              via a private inline operator new that is now included into every file via config.h
      
              * WebCore.xcodeproj/project.pbxproj:
              * WebCorePrefix.h:
              * khtml/css/css_base.cpp:
              * khtml/css/css_base.h:
              * khtml/css/css_computedstyle.cpp:
              * khtml/css/css_ruleimpl.cpp:
              * khtml/css/css_stylesheetimpl.cpp:
              * khtml/css/css_valueimpl.cpp:
              * khtml/css/css_valueimpl.h:
              * khtml/css/csshelper.cpp:
              * khtml/css/cssparser.cpp:
              (ValueList::ValueList):
              (ValueList::~ValueList):
              (ValueList::addValue):
              (CSSParser::CSSParser):
              (CSSParser::~CSSParser):
              (CSSParser::setupParser):
              (CSSParser::addProperty):
              * khtml/css/cssstyleselector.cpp:
              * khtml/css/cssstyleselector.h:
              * khtml/dom/dom2_events.cpp:
              * khtml/dom/dom2_traversal.cpp:
              * khtml/dom/dom_misc.cpp:
              * khtml/dom/dom_string.cpp:
              * khtml/ecma/domparser.cpp:
              * khtml/ecma/kjs_binding.cpp:
              * khtml/ecma/kjs_css.cpp:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_events.cpp:
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::Context2DFunction::callAsFunction):
              (KJS::Gradient::~Gradient):
              (KJS::Gradient::addColorStop):
              (KJS::Gradient::colorStops):
              * khtml/ecma/kjs_navigator.cpp:
              * khtml/ecma/kjs_proxy.cpp:
              * khtml/ecma/kjs_range.cpp:
              * khtml/ecma/kjs_traversal.cpp:
              * khtml/ecma/kjs_views.cpp:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/xmlhttprequest.cpp:
              * khtml/ecma/xmlserializer.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/append_node_command.cpp:
              * khtml/editing/apply_style_command.cpp:
              * khtml/editing/break_blockquote_command.cpp:
              * khtml/editing/composite_edit_command.cpp:
              * khtml/editing/delete_from_text_node_command.cpp:
              * khtml/editing/delete_selection_command.cpp:
              * khtml/editing/edit_command.cpp:
              * khtml/editing/html_interchange.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/insert_into_text_node_command.cpp:
              * khtml/editing/insert_line_break_command.cpp:
              * khtml/editing/insert_node_before_command.cpp:
              * khtml/editing/insert_paragraph_separator_command.cpp:
              * khtml/editing/insert_text_command.cpp:
              * khtml/editing/join_text_nodes_command.cpp:
              * khtml/editing/jsediting.cpp:
              * khtml/editing/markup.cpp:
              * khtml/editing/merge_identical_elements_command.cpp:
              * khtml/editing/move_selection_command.cpp:
              * khtml/editing/rebalance_whitespace_command.cpp:
              * khtml/editing/remove_css_property_command.cpp:
              * khtml/editing/remove_node_attribute_command.cpp:
              * khtml/editing/remove_node_command.cpp:
              * khtml/editing/remove_node_preserving_children_command.cpp:
              * khtml/editing/replace_selection_command.cpp:
              * khtml/editing/set_node_attribute_command.cpp:
              * khtml/editing/split_element_command.cpp:
              * khtml/editing/split_text_node_command.cpp:
              * khtml/editing/split_text_node_containing_element.cpp:
              * khtml/editing/typing_command.cpp:
              * khtml/editing/visible_position.cpp:
              * khtml/editing/visible_range.cpp:
              * khtml/editing/visible_text.cpp:
              (khtml::CircularSearchBuffer::~CircularSearchBuffer):
              (khtml::CircularSearchBuffer::CircularSearchBuffer):
              * khtml/editing/visible_units.cpp:
              * khtml/editing/wrap_contents_in_dummy_span_command.cpp:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_blockimpl.cpp:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_elementimpl.cpp:
              * khtml/html/html_formimpl.cpp:
              * khtml/html/html_headimpl.cpp:
              * khtml/html/html_imageimpl.cpp:
              * khtml/html/html_inlineimpl.cpp:
              * khtml/html/html_listimpl.cpp:
              * khtml/html/html_miscimpl.cpp:
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/html_tableimpl.cpp:
              * khtml/html/htmlfactory.cpp:
              * khtml/html/htmlnames.cpp:
              * khtml/html/htmlparser.cpp:
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::enlargeBuffer):
              (khtml::HTMLTokenizer::enlargeScriptBuffer):
              * khtml/khtml_events.cpp:
              * khtml/khtml_part.cpp:
              * khtml/khtmlview.cpp:
              * khtml/misc/arena.cpp:
              * khtml/misc/arena.h:
              * khtml/misc/decoder.cpp:
              * khtml/misc/formdata.cpp:
              * khtml/misc/helper.cpp:
              * khtml/misc/loader.cpp:
              * khtml/misc/stringit.cpp:
              * khtml/rendering/bidi.cpp:
              * khtml/rendering/break_lines.cpp:
              * khtml/rendering/font.cpp:
              * khtml/rendering/render_arena.cpp:
              * khtml/rendering/render_block.cpp:
              * khtml/rendering/render_box.cpp:
              * khtml/rendering/render_br.cpp:
              * khtml/rendering/render_canvas.cpp:
              * khtml/rendering/render_canvasimage.cpp:
              (RenderCanvasImage::~RenderCanvasImage):
              (RenderCanvasImage::createDrawingContext):
              * khtml/rendering/render_container.cpp:
              * khtml/rendering/render_flexbox.cpp:
              * khtml/rendering/render_flow.cpp:
              * khtml/rendering/render_form.cpp:
              * khtml/rendering/render_frames.cpp:
              * khtml/rendering/render_image.cpp:
              * khtml/rendering/render_inline.cpp:
              * khtml/rendering/render_layer.cpp:
              * khtml/rendering/render_line.cpp:
              * khtml/rendering/render_list.cpp:
              * khtml/rendering/render_object.cpp:
              * khtml/rendering/render_replaced.cpp:
              * khtml/rendering/render_style.cpp:
              * khtml/rendering/render_style.h:
              * khtml/rendering/render_table.cpp:
              * khtml/rendering/render_text.cpp:
              * khtml/rendering/render_theme.cpp:
              * khtml/rendering/render_theme_mac.mm:
              * khtml/rendering/table_layout.cpp:
              * khtml/xbl/xbl_binding.cpp:
              * khtml/xbl/xbl_binding_manager.cpp:
              * khtml/xbl/xbl_docimpl.cpp:
              * khtml/xbl/xbl_protobinding.cpp:
              * khtml/xbl/xbl_protohandler.cpp:
              * khtml/xbl/xbl_protoimplementation.cpp:
              * khtml/xbl/xbl_tokenizer.cpp:
              * khtml/xml/EventNames.cpp:
              * khtml/xml/dom2_eventsimpl.cpp:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom2_rangeimpl.cpp:
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.cpp:
              * khtml/xml/dom2_traversalimpl.h:
              * khtml/xml/dom2_viewsimpl.cpp:
              * khtml/xml/dom2_viewsimpl.h:
              * khtml/xml/dom_atomicstring.cpp:
              * khtml/xml/dom_docimpl.cpp:
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.cpp:
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_position.cpp:
              * khtml/xml/dom_qname.cpp:
              * khtml/xml/dom_stringimpl.cpp:
              * khtml/xml/dom_stringimpl.h:
              * khtml/xml/dom_textimpl.cpp:
              * khtml/xml/dom_xmlimpl.cpp:
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * khtml/xsl/xslt_processorimpl.cpp:
              * kwq/DOM-CSS.mm:
              * kwq/DOM.mm:
              * kwq/DOMEvents.mm:
              * kwq/DOMHTML.mm:
              * kwq/DOMInternal.mm:
              (DOMString::DOMString):
              * kwq/DOMUtility.mm:
              * kwq/DOMViews.mm:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQApplication.mm:
              * kwq/KWQArrayImpl.h:
              * kwq/KWQArrayImpl.mm:
              * kwq/KWQBuffer.mm:
              * kwq/KWQButton.mm:
              * kwq/KWQCString.mm:
              * kwq/KWQCharsets.mm:
              * kwq/KWQClipboard.mm:
              * kwq/KWQCollection.mm:
              * kwq/KWQColor.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQCursor.mm:
              * kwq/KWQDateTime.mm:
              * kwq/KWQDictImpl.mm:
              * kwq/KWQEditCommand.mm:
              * kwq/KWQEvent.mm:
              * kwq/KWQExceptions.mm:
              * kwq/KWQFile.mm:
              * kwq/KWQFileButton.mm:
              * kwq/KWQFont.mm:
              * kwq/KWQFontFamily.h:
              * kwq/KWQFontFamily.mm:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQFormData.mm:
              * kwq/KWQFrame.mm:
              * kwq/KWQGlobal.mm:
              * kwq/KWQGuardedPtr.mm:
              * kwq/KWQKCharsets.mm:
              * kwq/KWQKConfigBase.mm:
              * kwq/KWQKCookieJar.mm:
              * kwq/KWQKCursor.mm:
              * kwq/KWQKGlobal.mm:
              * kwq/KWQKGlobalSettings.mm:
              * kwq/KWQKHTMLFactory.mm:
              * kwq/KWQKHTMLPart.cpp:
              * kwq/KWQKHTMLPart.mm:
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              * kwq/KWQKHTMLView.mm:
              * kwq/KWQKHistoryProvider.mm:
              * kwq/KWQKJavaAppletWidget.mm:
              * kwq/KWQKJob.mm:
              * kwq/KWQKJobClasses.mm:
              * kwq/KWQKLocale.mm:
              * kwq/KWQKPartsBrowserInterface.mm:
              * kwq/KWQKPartsEvent.mm:
              * kwq/KWQKPartsPart.mm:
              * kwq/KWQKSSLKeyGen.mm:
              * kwq/KWQKStandardDirs.mm:
              * kwq/KWQKStringHandler.mm:
              * kwq/KWQKURL.mm:
              (KURL::KURL):
              (KURL::decode_string):
              (KURL::parse):
              (KURL::encode_string):
              (encodeRelativeString):
              * kwq/KWQKWin.mm:
              * kwq/KWQKWinModule.mm:
              * kwq/KWQLabel.mm:
              * kwq/KWQLineEdit.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQListImpl.mm:
              * kwq/KWQLoader.mm:
              (KWQIsResponseURLEqualToURL):
              * kwq/KWQMapImpl.h:
              * kwq/KWQMapImpl.mm:
              * kwq/KWQMovie.mm:
              * kwq/KWQObject.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQPaintDeviceMetrics.mm:
              * kwq/KWQPainter.mm:
              * kwq/KWQPalette.mm:
              * kwq/KWQPen.mm:
              * kwq/KWQPixmap.mm:
              * kwq/KWQPoint.mm:
              * kwq/KWQPointArray.mm:
              * kwq/KWQPtrDictImpl.mm:
              * kwq/KWQPushButton.mm:
              * kwq/KWQRect.mm:
              * kwq/KWQRegExp.mm:
              * kwq/KWQRegion.mm:
              * kwq/KWQRenderTreeDebug.cpp:
              * kwq/KWQResourceLoader.mm:
              * kwq/KWQScrollBar.mm:
              * kwq/KWQScrollView.mm:
              * kwq/KWQSignal.mm:
              * kwq/KWQSignalStubs.mm:
              * kwq/KWQSize.mm:
              * kwq/KWQSlider.mm:
              * kwq/KWQSlot.mm:
              * kwq/KWQString.h:
              * kwq/KWQString.mm:
              (ALLOC_CHAR):
              (REALLOC_CHAR):
              (DELETE_CHAR):
              (ALLOC_QCHAR):
              (REALLOC_QCHAR):
              (DELETE_QCHAR):
              (_printQStringAllocationStatistics):
              (allocateHandle):
              (KWQStringData::operator new):
              (KWQStringData::operator delete):
              (freeHandle):
              * kwq/KWQStringList.mm:
              * kwq/KWQStyle.mm:
              * kwq/KWQTextArea.mm:
              * kwq/KWQTextCodec.mm:
              * kwq/KWQTextEdit.mm:
              * kwq/KWQTextField.mm:
              * kwq/KWQTextStream.mm:
              * kwq/KWQTextUtilities.mm:
              * kwq/KWQTimer.mm:
              * kwq/KWQValueListImpl.h:
              * kwq/KWQValueListImpl.mm:
              * kwq/KWQVariant.mm:
              * kwq/KWQVectorImpl.mm:
              (KWQVectorImpl::KWQVectorImpl):
              (KWQVectorImpl::~KWQVectorImpl):
              (KWQVectorImpl::clear):
              (KWQVectorImpl::resize):
              (KWQVectorImpl::assign):
              * kwq/KWQWMatrix.mm:
              * kwq/KWQWidget.mm:
              * kwq/KWQWindowWidget.mm:
              * kwq/WebCoreBridge.mm:
              * kwq/WebCoreCache.mm:
              * kwq/WebCoreEncodings.mm:
              * kwq/WebCoreJavaScript.mm:
              * kwq/WebCoreScriptDebugger.mm:
              * kwq/WebCoreSettings.mm:
              * kwq/WebCoreTextRendererFactory.mm:
              * kwq/can-convert.mm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b64c50a2
  22. 23 Sep, 2004 1 commit
    • darin's avatar
      Reviewed by Ken. · e4b01dd1
      darin authored
              - added new VisibleRange class; not used yet
      
              * WebCore.pbproj/project.pbxproj: Added visible_range.h and visible_range.cpp.
              * khtml/editing/visible_range.cpp: Added.
              * khtml/editing/visible_range.h: Added.
      
              - tweaks
      
              * kwq/WebCoreBridge.mm: (-[WebCoreBridge alterCurrentSelection:direction:granularity:]):
              Use switch statement instead of if statement so we get a warning if we ever add a new
              granularity.
      
              * khtml/editing/selection.h: khtml, not DOM, namespace
              * khtml/editing/visible_position.h: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@7654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4b01dd1
  23. 21 Jan, 2003 1 commit
  24. 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
  25. 05 Oct, 2001 1 commit
  26. 10 Sep, 2001 1 commit
  27. 06 Sep, 2001 2 commits
  28. 05 Sep, 2001 2 commits
  29. 30 Aug, 2001 1 commit
  30. 27 Aug, 2001 1 commit
  31. 24 Aug, 2001 1 commit