1. 09 Jul, 2006 40 commits
    • 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
    • ggaren's avatar
      LayoutTests: · 7e95087c
      ggaren authored
              Reviewed by Beth.
              
              Now that we garbage collect after reinitalizing the global object, not
              before, we have more free memory, so a custom property that used to
              get collected during the initialization phase of this test now avoids
              getting collected until the collection phase.
      
              * fast/dom/gc-9-expected.txt:
              * fast/dom/gc-9.html:
      
      WebCore:
      
              Reviewed by Beth.
      
              * bindings/js/kjs_window.cpp:
              (KJS::Window::clear): Garbage collect after reinitalizing the global
              object, not before, since the reinitialization tends to create garbage.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e95087c
    • ddkilzer's avatar
      WebKitTools: · 08ac1c1b
      ddkilzer authored
              Build fix. Reviewed by NOBODY.
      
              - Backed out http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
                devenv.com not available in VC++ Express installations
      
              * Scripts/webkitdirs.pm: Backed out previous change.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08ac1c1b
    • thatcher's avatar
      Adding 2006 to the copyright years for headers I changed earlier. · fc80442f
      thatcher authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc80442f
    • thatcher's avatar
      FIx the copyright dates to include all years published. · 9ee16dff
      thatcher authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ee16dff
    • thatcher's avatar
      Build fix for DumpRenderTree and other clients that don't use AppKit. Update... · 986d4510
      thatcher authored
      Build fix for DumpRenderTree and other clients that don't use AppKit. Update the copyright date on headers I changed earlier.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      986d4510
    • ddkilzer's avatar
      LayoutTests: · 1b4c0656
      ddkilzer authored
              Reviewed by Darin.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=9812
                LayoutTests/svg/custom/foreign-object-skew.svg seems to be fixed
      
              * svg/custom/foreign-object-skew-expected.checksum: Updated.
              * svg/custom/foreign-object-skew-expected.png: Updated.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b4c0656
    • ddkilzer's avatar
      WebKitTools: · 43944576
      ddkilzer authored
              Reviewed by Darin.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=9693
                svn-apply should set ChangeLog date correctly when applying patches
      
              * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
              before applying the patch.
              * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43944576
    • tomernic's avatar
      Reviewed by Maciej. · e9653596
      tomernic authored
              <rdar://problem/4404652> Netscape plug-in mouse events broken in HiDPI
      
              Multiply global mouse coordinates by the window scale factor so that plug-ins can use GlobalToLocal() in HiDPI.
              This fixes many bugs involving plug-in mouse event handling in HiDPI.  Most notably, the Flash player will now
              correctly respond to clicks.
      
              * Plugins/WebBaseNetscapePluginView.m:
              (+[WebBaseNetscapePluginView getCarbonEvent:]):
              (-[WebBaseNetscapePluginView getCarbonEvent:withEvent:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9653596
    • darin's avatar
      Reviewed by Tim Hatcher. · 7f3be6b4
      darin authored
              - fix assertion firing in plug-in layout tests
      
              * Plugins/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView restartNullEvents]):
              Don't start null events if the plug-in is not in the
              started state. This happens when the plug-in moves within
              its view hierarchy after it has been stopped.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f3be6b4
    • thatcher's avatar
      WebCore: · 2a6da87c
      thatcher authored
              Reviewed by Darin.
      
              Bug 9820: Move new DOM API that has been through API review to public headers
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9820
      
              * bindings/objc/DOM.mm:
              (-[DOMElement focus]):
              (-[DOMElement blur]):
              (-[DOMRange text]):
              (-[DOMRange _text]):
              * bindings/objc/DOMCSS.mm:
              (-[DOMRGBColor color]):
              (-[DOMRGBColor _color]):
              * bindings/objc/DOMCore.h:
              * bindings/objc/DOMEvents.h:
              * bindings/objc/DOMExtensions.h:
              * bindings/objc/DOMHTML.mm:
              (-[DOMHTMLElement titleDisplayString]):
              (-[DOMHTMLDocument createDocumentFragmentWithMarkupString:baseURL:]):
              (-[DOMHTMLDocument createDocumentFragmentWithText:]):
              (-[DOMHTMLDocument _createDocumentFragmentWithMarkupString:baseURLString:]):
              (-[DOMHTMLDocument _createDocumentFragmentWithText:]):
              * bindings/objc/DOMPrivate.h:
              * bindings/objc/DOMXPath.h:
              * bindings/objc/DOMXPath.mm:
      
      WebKit:
      
              Reviewed by Darin.
      
              Bug 9820: Move new DOM API that has been through API review to public headers
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9820
      
              * Misc/WebElementDictionary.m: include DOMExtensions.h
              * Misc/WebNSViewExtras.m: include DOMExtensions.h
              * WebKit.xcodeproj/project.pbxproj: make DOMXPath.h public
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a6da87c
    • thatcher's avatar
      Reviewed by Kevin. · df75d5c6
      thatcher authored
              Bug 9818: move new UIDelegate API that has been through API review to public headers
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9818
      
              <rdar://problem/4387541> API: Remove webView:setContentRect: & webViewContentRect: delegate methods?
              The fix for 4310363 removed the only use of webViewContentRect: in our code. webView:setContentRect:
              was never used to begin with. There's no harm in leaving these around in the API, but they'll cruft it up.
      
              Also removes the never used webViewPrint: SPI that was replaced by webView:printFrameView:.
      
              * DefaultDelegates/WebDefaultUIDelegate.m:
              * WebCoreSupport/WebFrameBridge.m:
              (-[WebFrameBridge print]):
              * WebView/WebFrameView.h:
              * WebView/WebFrameView.m:
              * WebView/WebFrameViewPrivate.h:
              * WebView/WebUIDelegate.h:
              * WebView/WebUIDelegatePrivate.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df75d5c6
    • darin's avatar
      * fast/dom/delete-contents-expected.txt: Updated results that changed · b7922967
      darin authored
              because we now keep comment nodes in the DOM.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7922967
    • bdakin's avatar
      Reviewed by Maciej. · f2138623
      bdakin authored
              Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=9749 A 
              nested content editable div causes unnecessary screen redraws.
              
              We were repainting too much because we were deciding that we needed 
              a full layout because we didn't have a first line box. Our code 
              used to hold a lot of assumptions that positioned elements would 
              always have line boxes, but I fixed a few bugs a while back that 
              appeared because this assumption isn't true. This assumption was 
              also causing the extra redraws because the check meant that we 
              would decide to do a full layout for any positioned element that 
              did not have any line boxes in the first place. Maciej and I talked 
              about this, and we couldn't figure out why the check for line boxes 
              was part of determining if we need a full layout in the first 
              place. After hunting around the code, we decided to assume that 
              this check is antiquated. Removing it fixes the bug and doesn't 
              seem to break any layout tests. So, fingers crossed!
      
              Will add layout test so soon.
      
              * rendering/bidi.cpp:
              (WebCore::RenderBlock::layoutInlineChildren): Remove firstLineBox 
              check.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2138623
    • thatcher's avatar
      Reviewed by Darin. · aa6e9031
      thatcher authored
              Bug 9814: Move new WebView API that has been through API review to public headers
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9814
      
              * WebView/WebView.h:
              * WebView/WebView.m:
              (-[WebView close]):
              (-[WebView setShouldCloseWithWindow:]):
              (-[WebView shouldCloseWithWindow]):
              (-[WebView selectedFrame]):
              (-[WebView setMainFrameURL:]):
              (-[WebView mainFrameURL]):
              (-[WebView isLoading]):
              (-[WebView mainFrameTitle]):
              (-[WebView mainFrameIcon]):
              (-[WebView mainFrameDocument]):
              (-[WebView setDrawsBackground:]):
              (-[WebView drawsBackground]):
              (-[WebView toggleSmartInsertDelete:]):
              (-[WebView toggleContinuousSpellChecking:]):
              (-[WebView canMakeTextStandardSize]):
              (-[WebView makeTextStandardSize:]):
              (-[WebView maintainsInactiveSelection]):
              * WebView/WebViewPrivate.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa6e9031
    • thatcher's avatar
      Reviewed by Maciej. · def2e8db
      thatcher authored
              Bug 9487: The XPath section should be removed and/or moved.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9487
      
              * WebInspector/webInspector/inspector.css:
              * WebInspector/webInspector/inspector.html:
              * WebInspector/webInspector/inspector.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      def2e8db
    • harrison's avatar
      LayoutTests: · 7f4659e6
      harrison authored
              Reviewed by John Sullivan.
      
              <rdar://problem/4598149> Deleting the contents of a DOMRange and then inserting a node into it crashes in WebCore::Font::canUseGlyphCache
      
              * fast/dom/delete-contents-expected.checksum: Added.
              * fast/dom/delete-contents-expected.png: Added.
              * fast/dom/delete-contents-expected.txt: Added.
              * fast/dom/delete-contents.html: Added.
      
      WebCore:
      
              Reviewed by John Sullivan.
      
              <rdar://problem/4598149> Deleting the contents of a DOMRange and then inserting a node into it crashes in WebCore::Font::canUseGlyphCache
      
              Test: fast/dom/delete-contents.html
              
              * dom/Range.cpp:
              (WebCore::Range::processContents):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f4659e6
    • darin's avatar
      - another round of renaming; and KWQ is dead · e775cf78
      darin authored
              * WebCore.vcproj/WebCore/WebCore.vcproj: Remove paths for kwq and khtml directories.
              Move files to their new locations. Did rename.
              * WebCore.xcodeproj/project.pbxproj: Move files to their new locations. Did rename.
              * WebCoreSources.bkl: Did rename.
              * webcore-base.bkl: Removed kwq.
      
              * kwq/AccessibilityObjectCache.h: Removed.
              * kwq/AccessibilityObjectCache.mm: Removed.
              * kwq/FormDataMac.h: Removed.
              * kwq/FormDataMac.mm: Removed.
              * kwq/WebCoreAXObject.h: Removed.
              * kwq/WebCoreAXObject.mm: Removed.
              * kwq/WebCoreEditCommand.h: Removed.
              * kwq/WebCoreEditCommand.mm: Removed.
              * kwq/WebCorePageState.h: Removed.
              * kwq/WebCorePageState.mm: Removed.
              * kwq/WebCoreResourceLoaderImp.h: Removed.
              * kwq/WebCoreResourceLoaderImp.mm: Removed.
      
              * bridge/AXObjectCache.h: Added.
              * bridge/mac/AXObjectCacheMac.mm: Added.
              * bridge/mac/WebCoreAXObject.h: Added.
              * bridge/mac/WebCoreAXObject.mm: Added.
      
              * loader/CachedObject.cpp: Removed.
              * loader/CachedObject.h: Removed.
              * loader/CachedObjectClient.h: Removed.
              * loader/CachedObjectClientWalker.cpp: Removed.
              * loader/CachedObjectClientWalker.h: Removed.
      
              * loader/CachedResource.cpp: Added.
              * loader/CachedResource.h: Added.
              * loader/CachedResourceClient.h: Added.
              * loader/CachedResourceClientWalker.cpp: Added.
              * loader/CachedResourceClientWalker.h: Added.
      
              * bridge/mac/FrameMac.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * css/CSSImageValue.h:
              * css/CSSImportRule.h:
              * dom/Document.cpp:
              * dom/Document.h:
              * dom/Notation.h:
              * dom/ProcessingInstruction.h:
              * dom/XMLTokenizer.cpp:
              * html/CanvasPattern.h:
              * html/HTMLDocument.h:
              * html/HTMLImageLoader.cpp:
              * html/HTMLImageLoader.h:
              * html/HTMLLinkElement.h:
              * html/HTMLScriptElement.cpp:
              * html/HTMLScriptElement.h:
              * html/HTMLTokenizer.cpp:
              * html/HTMLTokenizer.h:
              * kcanvas/KCanvasFilters.h:
              * ksvg2/svg/SVGCursorElement.cpp:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGFEImageElement.cpp:
              * ksvg2/svg/SVGFEImageElement.h:
              * loader/Cache.cpp:
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.cpp:
              * loader/CachedImage.h:
              * loader/CachedScript.cpp:
              * loader/CachedScript.h:
              * loader/CachedXBLDocument.cpp:
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.cpp:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.cpp:
              * loader/DocLoader.h:
              * loader/LoaderFunctions.h:
              * loader/Request.cpp:
              * loader/Request.h:
              * loader/loader.cpp:
              * loader/loader.h:
              * loader/mac/LoaderFunctionsMac.mm:
              * page/Frame.cpp:
              * page/FrameView.cpp:
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/mac/ClipboardMac.h:
              * platform/win/TemporaryLinkStubs.cpp:
              * rendering/RenderBox.h:
              * rendering/RenderContainer.cpp:
              * rendering/RenderImage.cpp:
              * rendering/RenderImage.h:
              * rendering/RenderLayer.h:
              * rendering/RenderObject.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderStyle.cpp:
              * rendering/RenderStyle.h:
              * xml/XSLImportRule.h:
              Did renaming.
      
              * platform/mac/can-convert.mm: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e775cf78
    • darin's avatar
      e486ceef
    • ddkilzer's avatar
      Remove conflict marker. · ca998948
      ddkilzer authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca998948
    • andersca's avatar
      Remove conflict marker. Thanks Mitz! · 816d9ab0
      andersca authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      816d9ab0
    • andersca's avatar
      WebCore: · 605dc0d2
      andersca authored
      2006-07-09  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Tim O.
      
              * WebCore.exp:
              Add wkPathFromFont.
              
              * platform/mac/FontDataMac.mm:
              (-[NSFont WebCore]):
              Use wkPathFromFont.
              
              * platform/mac/WebCoreSystemInterface.h:
              * platform/mac/WebCoreSystemInterface.mm:
              Declare wkPathFromFont.
      
      WebKit:
      
      2006-07-09  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Tim O.
      
              * WebCoreSupport/WebSystemInterface.m:
              (InitWebCoreSystemInterface):
              Initialize wkPathFromFont.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      605dc0d2
    • andersca's avatar
      2006-07-09 Anders Carlsson <acarlsson@apple.com> · dbe7de7e
      andersca authored
              Reviewed by Darin.
      
              * WebKitSystemInterface.h:
              * libWebKitSystemInterface.a:
              Add WKPathFromFont.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dbe7de7e
    • darin's avatar
      - fix release build · cdc55993
      darin authored
              * Plugins/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView restorePortState:]): Cast inside the assertion so
              that we don't have an unused variable in versions with assertions disabled.
              The alternative would be to wrap the whole thing in an #if statement.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cdc55993
    • tomernic's avatar
      JavaScriptCore: · 78286d78
      tomernic authored
              Reviewed by Maciej.
      
              Added an OpenGL drawing model to the Netscape Plug-in API.
      
              * bindings/npapi.h:
      
      WebKit:
      
              Reviewed by John Sullivan.
      
              * Plugins/WebBaseNetscapePluginView.h:
              - Added ivars for OpenGL support.  Someday it would be nice to refactor this class so
                that each drawing model is encapsulated in a class; this would allow
                WebBaseNetscapePluginView to make more efficient use of space, for example by not
                keeping OpenGL-related ivars for Quickdraw plug-ins.
              
              * Plugins/WebBaseNetscapePluginView.m:
              - Declared a bunch of internal methods for OpenGL support (see below).
              - Removed "forUpdate" from CoreGraphics port state struct; it was always set to "YES",
                so I just cleaned up the silly code that used it.
              - Declared OpenGL port state struct.
              (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):
              - Moved a CoreGraphics-related assertion down to the big "switch" statement.
              - Don't set window.type here -- according to the Netscape Plug-in API docs, the plug-in
                should default to "windowed" mode, and may call NPN_SetValue() during its NPN_New() to
                request that the browser use a "windowless" (offscreen) context instead.
              - Moved the assertion from the top of this method here; removed a less restrictive
                assertion that is now obsolete.
              - Removed "forUpdate" flag from CoreGraphics port state struct.
              - Fill in OpenGL port state struct.  Set up the viewport appropriately for both windowed
                and windowless OpenGL plug-ins.  Windowed plug-ins need to have their GL viewport
                transformed by the amount the plug-in is clipped; windowless plug-ins are drawn off-screen
                into a surface whose geometry is never changed or clipped, so they may always draw with
                a viewport origin of (0, 0).
              (-[WebBaseNetscapePluginView restorePortState:]):
              - Removed "forUpdate" flag from CoreGraphics port state struct.
              - Restore the old OpenGL context saved by -saveAndSetNewPortStateForUpdate:.
              (-[WebBaseNetscapePluginView sendEvent:]):
              - Updated an assertion to also include OpenGL.  To ensure that attached plug-in window movements
                happen atomically with web page redisplays, we assert that the plug-in's window is set only while
                the plug-in view is redrawing.
              - Same deal as with the assertion; only save/set port state when redrawing the plug-in view.  Plug-ins
                that use the new drawing models are only allowed to draw when the web page draws.  I might consider
                changing this for windowed OpenGL plug-ins, since they always obscure the page content anyway.
              (-[WebBaseNetscapePluginView isNewWindowEqualToOldWindow]):
              - Compare new NP_GLContext structs.
              (-[WebBaseNetscapePluginView updateAndSetWindow]):
              - In OpenGL mode, can only set window when updating plug-in view.
              (-[WebBaseNetscapePluginView setWindowIfNecessary]):
              - ditto
              - Updated logging for OpenGL drawing mode.
              (-[WebBaseNetscapePluginView addWindowObservers]):
              - No need to observe frame/bounds change notifications for this and all parent views.  See -renewGState
                comments below.
              (-[WebBaseNetscapePluginView removeWindowObservers]):
              - Don't need to remove frame/bounds observers anymore.
              (-[WebBaseNetscapePluginView start]):
              - Plug-ins are "windowed" by default.  This is not a change from our previous behavior, but this is a
                better place to set the default value as it allows the plug-in to override it later.
              (-[WebBaseNetscapePluginView stop]):
              - Destroy AGL context when the plug-in stops.
              (-[WebBaseNetscapePluginView dealloc]):
              - Assert that the AGL stuff has been cleaned up.
              (-[WebBaseNetscapePluginView drawRect:]):
              - If this is a windowless OpenGL plugin, blit its contents back into this view.
              (-[WebBaseNetscapePluginView renewGState]):
              - This method is called when the view or one of its parents is moved or resized (see comments).
              (-[WebBaseNetscapePluginView viewWillMoveToWindow:]):
              - Hide the AGL window if the plug-in view is about to be removed from its window.
              (-[WebBaseNetscapePluginView viewHasMoved:]):
              - Renamed and moved to the "Internal" category.
              (-[WebBaseNetscapePluginView invalidateRegion:]):
              - Style changes.
              - Add support for OpenGL (uses the same region type as CoreGraphics).
              (-[WebBaseNetscapePluginView getVariable:value:]):
              - Style changes.
              - Implemented NPNVsupportsOpenGLBool; returns YES since we now support the OpenGL drawing model.
              (-[WebBaseNetscapePluginView setVariable:value:]):
              - Implemented NPPVpluginWindowBool, which allows plug-ins to specify whether they should be rendered in
                "windowed" or "windowless" mode.  This is an older part of the Netscape Plug-in API that was never
                implemented in WebKit.  "Windowed" Quickdraw plug-ins do not actually reside in a separate window, and
                can already do many of the same things (such as transparency) that only "windowless" plug-ins can do on
                other platforms.  However, we need the "windowed" vs. "windowless" distinction for OpenGL plug-ins so
                that they have some way of specifying whether they should be rendered on an accelerated overlay surface,
                composited into the browser window.
              - Support for setting the drawing model to OpenGL.
              (-[WebBaseNetscapePluginView _viewHasMoved]):
              - Renamed from -viewHasMoved:, and moved down in the file.
              - None of this work is necessary when the plug-in is not in a window; the plug-in's state will be properly
                restored when it is moved back into a window.
              - Reshape OpenGL surface window here.
              (-[WebBaseNetscapePluginView _createAGLContextIfNeeded]):
              - Creates the AGL context of the appropriate type (windowed/windowless).
              (-[WebBaseNetscapePluginView _createWindowedAGLContext]):
              - Creates a windowed AGL context, which is an AGL context attached to a child window.  This is the only way
                to get true hardware acceleration.
              (-[WebBaseNetscapePluginView _createWindowlessAGLContext]):
              - Creates a windowless AGL context, which is an AGL context attached to an offscreen buffer.  This buffer can
                then be blitted back into the browser window with a different alpha, or scaled, or whatever.
              (-[WebBaseNetscapePluginView _cglContext]):
              - Returns the underlying CGL context from the AGL context.  We give the plug-in access to the CGL context because
                CGL is the more primitive of the GL drawable APIs and allows for finer control over the context.
              (-[WebBaseNetscapePluginView _getAGLOffscreenBuffer:width:height:]):
              - Returns the buffer allocated for the offscreen AGL context, if there is one.
              (-[WebBaseNetscapePluginView _destroyAGLContext]):
              - Destroys the AGL context, as well as the associated offscreen buffer or child window.
              (-[WebBaseNetscapePluginView _reshapeAGLWindow]):
              - Positions the AGL window over the browser window.
              (-[WebBaseNetscapePluginView _hideAGLWindow]):
              - Hides the AGL window.
              (-[WebBaseNetscapePluginView _aglOffscreenImageForDrawingInRect:]):
              - Returns an NSImage representation of the offscreen AGL context's framebuffer.  This is used to draw the offscreen
                bits back into the plug-in view.  This is kind of tricky because it has to convert the offscreen buffer in-place
                from BGRA to RGBA so that it can be wrapped in an NSBitmapImageRep.  See comments.
      
              * WebKit.xcodeproj/project.pbxproj:
              Link OpenGL and AGL.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78286d78
    • beidson's avatar
      Fixed a nearly unparsable ChangeLog entry · 8becea69
      beidson authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8becea69
    • beidson's avatar
      Reviewed by Maciej · cdf2b9ce
      beidson authored
              Set the stage to remove the workaround for the SQLite BLOB corruption.  A few other small cleanups, and
              preparation for pruning unreferenced and unretained icons.
      
              * icon/IconDatabase.cpp:
              (WebCore::IconDatabase::recreateDatabase):  Added another trigger to assist in icon removal
              (WebCore::IconDatabase::deletePrivateTables):  Cleaned up logging messages
              (WebCore::IconDatabase::imageDataForIconID):  #ifdefed the blobbing hack for impending removal, use the real blob by default
              (WebCore::IconDatabase::imageDataForIconURL):  same
              (WebCore::IconDatabase::imageDataForPageURL):  same
              (WebCore::IconDatabase::pruneUnreferencedIcons):  Will delete any icons and their data that are not referenced
                by any PageURL
              * icon/IconDatabase.h:
      
              * icon/SQLDatabase.h:  Changed BlobAsVector to be unsigned char as thats the most reasonable type for
                a byte-buffer, and is what CFData expects
              * icon/SQLStatement.cpp:
              (WebCore::SQLStatement::getColumnBlobAsVector):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cdf2b9ce
    • beidson's avatar
      Reviewed by Maciej · fcfb1285
      beidson authored
              The ICONDEBUG flag no choose either/or the new icon database and the old one
              No longer any need to live side by side to compare results
      
              * Misc/WebIconDatabase.m:
              (-[NSMutableDictionary iconURLForURL:]):
              (-[NSMutableDictionary retainIconForURL:]):
              (-[NSMutableDictionary releaseIconForURL:]):
              (-[WebIconDatabase _setHaveNoIconForIconURL:]):
              (-[WebIconDatabase _setIconURL:forURL:]):
              (-[WebIconDatabase _resetCachedWebPreferences:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fcfb1285
    • darin's avatar
      - move all but the last 12 files out of kwq directory · 3e865649
      darin authored
              - removed a few unused source files I discovered
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Update for new file locations.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * bridge/mac/FrameMac.mm:
              * dom/Element.h:
              * html/HTMLImageLoader.cpp:
              * loader/Cache.cpp:
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.cpp:
              * loader/CachedImage.h:
              * loader/CachedObject.h:
              * loader/CachedScript.cpp:
              * loader/CachedScript.h:
              * loader/CachedXBLDocument.cpp:
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.cpp:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.cpp:
              * loader/DocLoader.h:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FramePrivate.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/win/TemporaryLinkStubs.cpp:
              * rendering/DeprecatedSlider.cpp:
              * rendering/RenderObject.h:
              * xml/xmlhttprequest.cpp:
              Updated includes as needed for file location changes. Changed
              CachePolicy uses to match new filename and enum names.
      
              * loader/CachedResource.cpp: Removed.
              * loader/CachedResource.h: Removed.
              * loader/CachedResourceClient.h: Removed.
              * loader/CachedResourceClientWalker.cpp: Removed.
              * loader/CachedResourceClientWalker.h: Removed.
              The above files were checked in by accident a while back. The rename of
              CachedObject to CachedResource is now reflected in do-webcore-rename,
              and will be done soon.
      
              * kwq/AffineTransform.cpp: Removed.
              * kwq/AffineTransform.h: Removed.
              * kwq/CacheControl.h: Removed.
              * kwq/DeprecatedPtrQueue.h: Removed.
              * kwq/FileButton.h: Removed.
              * kwq/FileButton.mm: Removed.
              * kwq/ListBox.h: Removed.
              * kwq/ListBox.mm: Removed.
              * kwq/LoaderFunctions.h: Removed.
              * kwq/LoaderFunctions.mm: Removed.
              * kwq/PopUpButton.h: Removed.
              * kwq/PopUpButton.mm: Removed.
              * kwq/SSLKeyGenerator.h: Removed.
              * kwq/SSLKeyGenerator.mm: Removed.
              * kwq/Settings.h: Removed.
              * kwq/TextBox.h: Removed.
              * kwq/TextBox.mm: Removed.
              * kwq/TextField.h: Removed.
              * kwq/TextField.mm: Removed.
              * kwq/WebCoreScrollBar.h: Removed.
              * kwq/WebCoreScrollBar.mm: Removed.
              * kwq/WebCoreSlider.h: Removed.
              * kwq/WebCoreSlider.mm: Removed.
      
              * loader/CachePolicy.h: Added.
              * loader/LoaderFunctions.h: Added.
      
              * loader/mac/LoaderFunctionsMac.mm: Added.
      
              * page/Settings.h: Added.
      
              * platform/AffineTransform.cpp: Added.
              * platform/AffineTransform.h: Added.
              * platform/DeprecatedPtrQueue.h: Added.
              * platform/FileButton.h: Added.
              * platform/ListBox.h: Added.
              * platform/PopUpButton.h: Added.
              * platform/SSLKeyGenerator.h: Added.
              * platform/ScrollBar.h: Added.
              * platform/Slider.h: Added.
              * platform/TextBox.h: Added.
              * platform/TextField.h: Added.
      
              * platform/cg/AffineTransformCG.cpp: Added.
      
              * platform/mac/FileButtonMac.mm: Added.
              * platform/mac/ListBoxMac.mm: Added.
              * platform/mac/PopUpButtonMac.mm: Added.
              * platform/mac/SSLKeyGeneratorMac.mm: Added.
              * platform/mac/ScrollBarMac.mm: Added.
              * platform/mac/ScrollBarMac.mm: Added.
              * platform/mac/SliderMac.mm: Added.
              * platform/mac/SliderMac.mm: Added.
              * platform/mac/TextBoxMac.mm: Added.
              * platform/mac/TextFieldMac.mm: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e865649
    • darin's avatar
      77e51565
    • ddkilzer's avatar
      LayoutTests: · 6c3030b2
      ddkilzer authored
              Reviewed by Darin.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=9797
                Make description() in fast/js/resources/js-test-pre.js work with MSIE 6
      
              * fast/js/resources/js-test-pre.js: Change description() to work with MSIE 6.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c3030b2
    • darin's avatar
      - move 4 files out of kwq directory · 494ede16
      darin authored
              - make some minor project adjustments for the WebCore project
      
              * WebCore.xcodeproj/project.pbxproj: Link libsqlite3 the same way we do other
              libraries, rather than using a custom linker option. Moved the files from their
              old locations to the new ones. Removed "khtml" from the list of header search
              paths since that directory doesn't exist any more. Eliminated STYLE_LDFLAGS
              and just put -umbrella WebKit in OTHER_LDFLAGS in the Production configuration
              (was a leftover from "build styles" in Xcode 1). Changed to use EXPORTED_SYMBOLS_FILE
              instead of using -exported_symbols_list directly again now that Xcode has fixed the
              "strip twice" bug. Removed unneeded explicit SECTORDER_FLAGS = "" settings.
              Removed the explicit -Y,3 option now that Xcode does that by default.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Removed some obsolete uneeded files,
              many of which didn't exist any more. Moved the files from their old locations
              to the new ones.
      
              * WebCoreSources.bkl: Moved the files from their old locations to the new ones.
      
              * kwq/DeprecatedCString.cpp: Removed.
              * kwq/DeprecatedCString.h: Removed.
              * kwq/TextStream.cpp: Removed.
              * kwq/TextStream.h: Removed.
              * platform/DeprecatedCString.cpp: Added.
              * platform/DeprecatedCString.h: Added.
              * platform/TextStream.cpp: Added.
              * platform/TextStream.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      494ede16
    • ddkilzer's avatar
      WebKitTools: · 095ec63b
      ddkilzer authored
              Reviewed by NOBODY (build fix).
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
                devenv.com not available in VC++ Express installations
      
              * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
              work again.  Add VC++ Express check as the fallback.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      095ec63b
    • darin's avatar
      Rubber stamped by Maciej (kinda). · b53ebdcb
      darin authored
              - did the next pass of renaming (used do-webcore-rename script)
                this takes care of most of the remaining KWQ names (almost all)
      
              * WebCore+SVG/DOMList.h:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_window.cpp:
              * bindings/objc/DOMHTML.mm:
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * bridge/mac/WebCoreSettings.h:
              * bridge/mac/WebCoreSettings.mm:
              * bridge/win/FrameWin.cpp:
              * css/CSSPrimitiveValue.cpp:
              * css/CSSValueKeywords.in:
              * css/MediaQueryEvaluator.cpp:
              * css/cssparser.cpp:
              * css/cssstyleselector.cpp:
              * css/cssstyleselector.h:
              * dom/CharacterData.cpp:
              * dom/CharacterData.h:
              * dom/Document.cpp:
              * dom/Element.cpp:
              * dom/Element.h:
              * dom/EventTargetNode.cpp:
              * dom/EventTargetNode.h:
              * dom/Node.cpp:
              * dom/Node.h:
              * dom/Position.cpp:
              * dom/ProcessingInstruction.cpp:
              * dom/QualifiedName.cpp:
              * dom/QualifiedName.h:
              * dom/XMLTokenizer.cpp: Added.
              * dom/xml_tokenizer.cpp: Removed.
              * dom/xml_tokenizer.h: Removed.
              * editing/EditAction.h:
              * editing/HTMLInterchange.cpp:
              * editing/HTMLInterchange.h:
              * editing/Selection.h:
              * editing/SelectionController.h:
              * editing/TextAffinity.h:
              * editing/TextIterator.cpp:
              * editing/TextIterator.h:
              * editing/VisiblePosition.h:
              * editing/htmlediting.cpp:
              * editing/markup.cpp:
              * editing/markup.h:
              * editing/visible_units.cpp:
              * editing/visible_units.h:
              * html/HTMLDocument.cpp:
              * html/HTMLFontElement.cpp:
              * html/HTMLInputElement.cpp:
              * html/HTMLKeygenElement.cpp:
              * html/HTMLSelectElement.h:
              * html/HTMLTextAreaElement.cpp:
              * html/HTMLTextFieldInnerElement.cpp:
              * html/HTMLTokenizer.cpp:
              * html/HTMLTokenizer.h:
              * kcanvas/KCanvasContainer.cpp: Removed.
              * kcanvas/KCanvasContainer.h: Removed.
              * kcanvas/KCanvasCreator.cpp:
              * kcanvas/KCanvasFilters.cpp:
              * kcanvas/KCanvasFilters.h:
              * kcanvas/KCanvasMatrix.cpp:
              * kcanvas/KCanvasMatrix.h:
              * kcanvas/KCanvasPath.cpp:
              * kcanvas/KCanvasPath.h:
              * kcanvas/KCanvasResources.cpp:
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/RenderForeignObject.cpp:
              * kcanvas/RenderForeignObject.h:
              * kcanvas/RenderPath.cpp:
              * kcanvas/RenderPath.h:
              * kcanvas/RenderSVGContainer.cpp: Added.
              * kcanvas/RenderSVGContainer.h: Added.
              * kcanvas/RenderSVGImage.cpp:
              * kcanvas/RenderSVGImage.h:
              * kcanvas/RenderSVGText.cpp:
              * kcanvas/RenderSVGText.h:
              * kcanvas/device/KRenderingPaintServer.h:
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerPattern.cpp:
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * kcanvas/device/KRenderingPaintServerSolid.cpp:
              * kcanvas/device/KRenderingPaintServerSolid.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              * kcanvas/device/quartz/KCanvasItemQuartz.h:
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              * ksvg2/css/CSSValueKeywords.in:
              * ksvg2/css/SVGRenderStyleDefs.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/misc/KSVGTimeScheduler.cpp:
              * ksvg2/svg/SVGAElement.cpp:
              * ksvg2/svg/SVGAnimateTransformElement.cpp:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGGElement.cpp:
              * ksvg2/svg/SVGHelper.cpp:
              * ksvg2/svg/SVGHelper.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGLinearGradientElement.cpp:
              * ksvg2/svg/SVGMarkerElement.cpp:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGMatrix.cpp:
              * ksvg2/svg/SVGMatrix.h:
              * ksvg2/svg/SVGPatternElement.cpp:
              * ksvg2/svg/SVGRadialGradientElement.cpp:
              * ksvg2/svg/SVGSVGElement.cpp:
              * ksvg2/svg/SVGStyledElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.cpp:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.cpp:
              * ksvg2/svg/SVGTextElement.cpp:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGUseElement.cpp:
              * kwq/AffineTransform.cpp: Added.
              * kwq/AffineTransform.h: Added.
              * kwq/DeprecatedCString.cpp: Added.
              * kwq/DeprecatedCString.h: Added.
              * kwq/DeprecatedPtrQueue.h: Added.
              * kwq/FileButton.h: Added.
              * kwq/FileButton.mm: Added.
              * kwq/FormDataMac.mm: Added.
              * kwq/KWQCString.cpp: Removed.
              * kwq/KWQCString.h: Removed.
              * kwq/KWQComboBox.h: Removed.
              * kwq/KWQComboBox.mm: Removed.
              * kwq/KWQEditCommand.h: Removed.
              * kwq/KWQEditCommand.mm: Removed.
              * kwq/KWQFileButton.h: Removed.
              * kwq/KWQFileButton.mm: Removed.
              * kwq/KWQFormData.h: Removed.
              * kwq/KWQFormData.mm: Removed.
              * kwq/KWQKHTMLSettings.h: Removed.
              * kwq/KWQKIOGlobal.h: Removed.
              * kwq/KWQKSSLKeyGen.h: Removed.
              * kwq/KWQKSSLKeyGen.mm: Removed.
              * kwq/KWQLineEdit.h: Removed.
              * kwq/KWQLineEdit.mm: Removed.
              * kwq/KWQListBox.h: Removed.
              * kwq/KWQListBox.mm: Removed.
              * kwq/KWQLoader.h: Removed.
              * kwq/KWQLoader.mm: Removed.
              * kwq/KWQPageState.h: Removed.
              * kwq/KWQPageState.mm: Removed.
              * kwq/KWQPtrQueue.h: Removed.
              * kwq/KWQResourceLoader.h: Removed.
              * kwq/KWQResourceLoader.mm: Removed.
              * kwq/KWQScrollBar.h: Removed.
              * kwq/KWQScrollBar.mm: Removed.
              * kwq/KWQSlider.h: Removed.
              * kwq/KWQSlider.mm: Removed.
              * kwq/KWQTextEdit.h: Removed.
              * kwq/KWQTextEdit.mm: Removed.
              * kwq/KWQTextStream.cpp: Removed.
              * kwq/KWQTextStream.h: Removed.
              * kwq/KWQWMatrix.cpp: Removed.
              * kwq/KWQWMatrix.h: Removed.
              * kwq/ListBox.h: Added.
              * kwq/ListBox.mm: Added.
              * kwq/LoaderFunctions.h: Added.
              * kwq/LoaderFunctions.mm: Added.
              * kwq/PopUpButton.h: Added.
              * kwq/PopUpButton.mm: Added.
              * kwq/SSLKeyGenerator.h: Added.
              * kwq/SSLKeyGenerator.mm: Added.
              * kwq/Settings.h: Added.
              * kwq/TextBox.h: Added.
              * kwq/TextBox.mm: Added.
              * kwq/TextField.h: Added.
              * kwq/TextField.mm: Added.
              * kwq/TextStream.cpp: Added.
              * kwq/TextStream.h: Added.
              * kwq/WebCoreEditCommand.h: Added.
              * kwq/WebCoreEditCommand.mm: Added.
              * kwq/WebCorePageState.h: Added.
              * kwq/WebCorePageState.mm: Added.
              * kwq/WebCoreResourceLoaderImp.h: Added.
              * kwq/WebCoreResourceLoaderImp.mm: Added.
              * kwq/WebCoreScrollBar.h: Added.
              * kwq/WebCoreScrollBar.mm: Added.
              * kwq/WebCoreSlider.h: Added.
              * kwq/WebCoreSlider.mm: Added.
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              * loader/CachedImage.cpp:
              * loader/CachedObject.h:
              * loader/CachedObjectClientWalker.h:
              * loader/CachedResource.h:
              * loader/CachedResourceClientWalker.h:
              * loader/CachedScript.h:
              * loader/CachedXBLDocument.h:
              * loader/Decoder.h:
              * loader/DocLoader.cpp:
              * loader/DocLoader.h:
              * loader/FormData.h:
              * loader/ImageDocument.cpp:
              * loader/PluginDocument.cpp:
              * loader/TextDocument.cpp:
              * loader/loader.cpp:
              * loader/loader.h:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/Page.cpp:
              * page/Page.h:
              * platform/DeprecatedPtrList.h:
              * platform/DeprecatedPtrListImpl.cpp:
              * platform/DeprecatedPtrListImpl.h:
              * platform/DeprecatedString.cpp:
              * platform/DeprecatedString.h:
              * platform/DeprecatedStringList.cpp:
              * platform/DeprecatedStringList.h:
              * platform/DeprecatedValueList.h:
              * platform/DeprecatedValueListImpl.cpp:
              * platform/DeprecatedValueListImpl.h:
              * platform/FloatSize.h:
              * platform/Font.cpp:
              * platform/KURL.cpp:
              * platform/RegularExpression.cpp:
              * platform/RegularExpression.h:
              * platform/SegmentedString.h:
              * platform/StreamingTextDecoder.cpp:
              * platform/String.cpp:
              * platform/StringImpl.cpp:
              * platform/TextEncoding.cpp:
              * platform/TransferJob.cpp:
              * platform/TransferJob.h:
              * platform/TransferJobInternal.h:
              * platform/gdk/FrameGdk.cpp:
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/mac/ClipboardMac.h:
              * platform/mac/ClipboardMac.mm:
              * platform/mac/CursorMac.mm:
              * platform/mac/DeprecatedStringMac.mm: Added.
              * platform/mac/FontCacheMac.mm:
              * platform/mac/FontMac.mm:
              * platform/mac/FoundationExtras.h:
              * platform/mac/ImageMac.mm:
              * platform/mac/KURLMac.mm:
              * platform/mac/MouseEventMac.mm: Removed.
              * platform/mac/QStringListMac.mm: Removed.
              * platform/mac/QStringMac.mm: Removed.
              * platform/mac/TransferJobMac.mm:
              * platform/mac/WebCoreTextArea.h:
              * platform/mac/WebCoreTextArea.mm:
              * platform/mac/WebCoreTextField.h:
              * platform/mac/WebCoreTextField.mm:
              * platform/mac/WidgetMac.mm:
              * platform/win/TemporaryLinkStubs.cpp:
              * rendering/DataRef.h:
              * rendering/DeprecatedRenderSelect.cpp:
              * rendering/DeprecatedRenderSelect.h:
              * rendering/DeprecatedSlider.cpp:
              * rendering/InlineFlowBox.cpp:
              * rendering/RenderApplet.cpp:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBlock.h:
              * rendering/RenderContainer.cpp:
              * rendering/RenderFileButton.cpp:
              * rendering/RenderFlexibleBox.cpp:
              * rendering/RenderFlow.cpp:
              * rendering/RenderFormElement.cpp:
              * rendering/RenderFrameSet.cpp:
              * rendering/RenderFrameSet.h:
              * rendering/RenderImage.cpp:
              * rendering/RenderInline.cpp:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLayer.h:
              * rendering/RenderLineEdit.cpp:
              * rendering/RenderListItem.cpp:
              * rendering/RenderListMarker.cpp:
              * rendering/RenderObject.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderPartObject.cpp:
              * rendering/RenderReplaced.cpp:
              * rendering/RenderStyle.cpp: Added.
              * rendering/RenderStyle.h: Added.
              * rendering/RenderTable.cpp:
              * rendering/RenderTable.h:
              * rendering/RenderTableCell.cpp:
              * rendering/RenderTableCell.h:
              * rendering/RenderTableCol.cpp:
              * rendering/RenderTableCol.h:
              * rendering/RenderTableRow.cpp:
              * rendering/RenderTableSection.cpp:
              * rendering/RenderTableSection.h:
              * rendering/RenderText.cpp:
              * rendering/RenderText.h:
              * rendering/RenderTextArea.cpp:
              * rendering/RenderTextControl.cpp: Added.
              * rendering/RenderTextControl.h: Added.
              * rendering/RenderTextField.cpp: Removed.
              * rendering/RenderTextField.h: Removed.
              * rendering/RenderTheme.cpp:
              * rendering/RenderThemeMac.mm:
              * rendering/RenderTreeAsText.cpp:
              * rendering/RenderTreeAsText.h:
              * rendering/RenderView.cpp:
              * rendering/RenderWidget.cpp:
              * rendering/bidi.cpp:
              * rendering/render_style.cpp: Removed.
              * rendering/render_style.h: Removed.
              * xml/XSLStyleSheet.cpp:
              * xml/XSLTProcessor.cpp:
              * xml/xmlhttprequest.cpp:
              * xpath/impl/XPathParser.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b53ebdcb
    • ddkilzer's avatar
      WebKitTools: · aef91fd0
      ddkilzer authored
              Reviewed by Timothy Hatcher.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=7802
                devenv.com not available in VC++ Express installations
      
              * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aef91fd0
    • jdevalk's avatar
      Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=9804 · 493a8251
      jdevalk authored
      In the congratulations message, "capatibilies" should be "capabilities".
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      493a8251
    • ddkilzer's avatar
      Tweaked bug title in last comment to be correct. · 6be31f12
      ddkilzer authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6be31f12
    • ddkilzer's avatar
      WebCore: · 9ad333ec
      ddkilzer authored
              Reviewed by Darin.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=8251
              navigator.product incorrect in WebKit.app on Intel Macs
      
              For navigator.platform return "MacIntel" for Intel processors, "MacPPC"
              otherwise.
      
              * bindings/js/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ad333ec
    • ddkilzer's avatar
      WebKitTools: · 25d78b5f
      ddkilzer authored
              Reviewed by Timothy Hatcher.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=9794
                Teach run-webkit-tests how to ignore tests with performance improvements
      
              * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
              feature, and minor clean up.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25d78b5f
    • thatcher's avatar
      LayoutTests: · e6e3e565
      thatcher authored
              Reviewed by Maciej.
      
              Bug 5312: comments aren't available via DOM
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5312
      
              New tests for DOM comment nodes. Updated results to account for new
              nodes in the DOM (editing offsets changed.)
      
              * editing/deleting/delete-line-013-expected.txt:
              * editing/deleting/delete-line-014-expected.txt:
              * editing/inserting/insert-3907422-fix-expected.txt:
              * editing/inserting/insert-div-009-expected.txt:
              * editing/inserting/insert-div-010-expected.txt:
              * editing/selection/extend-by-character-006-expected.txt:
              * editing/selection/move-between-blocks-no-001-expected.txt:
              * editing/selection/move-between-blocks-yes-001-expected.txt:
              * fast/dom/HTMLDocument/object-by-name-or-id-expected.txt:
              * fast/dom/HTMLDocument/object-by-name-or-id.html:
              * fast/dom/comment-document-fragment-expected.txt: Added.
              * fast/dom/comment-document-fragment.html: Added.
              * fast/dom/comment-dom-node-expected.txt: Added.
              * fast/dom/comment-dom-node.html: Added.
              * fast/dom/comment-not-documentElement-expected.checksum: Added.
              * fast/dom/comment-not-documentElement-expected.png: Added.
              * fast/dom/comment-not-documentElement-expected.txt: Added.
              * fast/dom/comment-not-documentElement.html: Added.
              * fast/text/atsui-pointtooffset-calls-cg-expected.txt:
              * fast/text/atsui-rtl-override-selection-expected.txt:
      
      WebCore:
      
              Reviewed by Maciej.
      
              Bug 5312: comments aren't available via DOM
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5312
      
              <rdar://problem/4564414> getting comments via DOM isn't working (5312)
              <rdar://problem/4545691> DOM_COMMENT node masking out real DOM elements
      
              * dom/Document.cpp:
              (WebCore::Document::removedLastRef): set m_documentElement to 0
              (WebCore::Document::childrenChanged): invalidate the document element we have cached in case it was replaced
              (WebCore::Document::documentElement): cache the first element as the document node if m_documentElement is 0
              * dom/Document.h: added m_documentElement
              * html/HTMLDocument.cpp: removed documentElement(), HTML documents just use Document's documentElement()
              * html/HTMLDocument.h: ditto
              * html/HTMLParser.cpp:
              (WebCore::HTMLParser::handleError): make a new HTML node is the document's firstChild is NULL or
              the firstChild is not a HTML element (like a comment)
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::parseComment): removed the #ifdef to include comment nodes
      
      WebKit:
      
              Reviewed by Maciej.
      
              Bug 5312: comments aren't available via DOM
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5312
      
              Makes the Web Inspector show comment node contents.
      
              * WebInspector/WebInspector.m:
              (-[DOMNode _displayName]): return the contents of the comment
              * WebInspector/webInspector/inspector.js: check for comment nodes
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6e3e565