1. 27 Feb, 2006 1 commit
    • eseidel's avatar
      2006-02-27 Eric Seidel <eseidel@apple.com> · 4927d4b9
      eseidel authored
              Reviewed by hyatt.
      
              Fix a bunch more link errors in the win32 build, mostly by adding stubs.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: add JSXMLHttpRequest and PlugInInfoStore
              * WebCore.vcproj/WebCore/build-generated-files.sh: update for JSXMLHttpRequest
              * khtml/ecma/JSXMLHttpRequest.cpp:
              (KJS::JSXMLHttpRequest::getValueProperty): fix switch to compile
              * platform/PlugInInfoStore.h:
              * platform/mac/PlugInInfoStoreMac.mm:
              * platform/win/TemporaryLinkStubs.cpp: add a bunch of stubs.
              (WebCore::TransferJob::errorText):
              (WebCore::TransferJob::isErrorPage):
              (WebCore::Widget::hide):
              (PlugInInfoStore::createPluginInfoForPluginAtIndex):
              (PlugInInfoStore::pluginCount):
              (WebCore::refreshPlugins):
              (QFont::QFont):
              (QFont::~QFont):
              (QFont::italic):
              (QFont::weight):
              (QFontMetrics::QFontMetrics):
              (QFontMetrics::~QFontMetrics):
              (QFontMetrics::xHeight):
              (Widget::setActiveWindow):
              (WebCore::ScrollView::contentsX):
              (WebCore::ScrollView::contentsY):
              (WebCore::ScrollView::contentsHeight):
              (WebCore::ScrollView::contentsWidth):
              (WebCore::ScrollView::visibleHeight):
              (WebCore::ScrollView::visibleWidth):
              (WebCore::ScrollView::hScrollBarMode):
              (WebCore::ScrollView::vScrollBarMode):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4927d4b9
  2. 05 Feb, 2006 1 commit
    • darin's avatar
      Rubber stamped by Maciej. · ea944763
      darin authored
              - renamed DOMString and DOMStringImpl to String and StringImpl, and moved into platform
      
              * config.h: Put in transitional defines so old code can still refer to the classes
              as DOMString and DOMStringImpl.
      
              * platform/AtomicString.cpp: Added.
              * platform/AtomicString.h: Added.
              * platform/AtomicStringImpl.h: Added.
              * platform/PlatformString.h: Added.
              * platform/String.cpp: Added.
              * platform/StringImpl.cpp: Added.
              * platform/StringImpl.h: Added.
              Moved files here and renamed them. PlatformString.h would be named String.h except
              that conflicts with <string.h> on non-case-sensitive file systems.
      
              * khtml/xml/dom_atomicstring.cpp: Removed.
              * khtml/xml/dom_atomicstring.h: Removed.
              * khtml/xml/dom_stringimpl.cpp: Removed.
              * khtml/xml/dom_stringimpl.h: Removed.
              * khtml/dom/dom_string.cpp: Removed.
              * khtml/dom/dom_string.h: Removed.
      
              * WebCore.xcodeproj/project.pbxproj: Updated for file adds and removes.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Ditto.
      
              * WebCore+SVG/KDOMHeaders.h:
              * WebCore+SVG/Namespace.h:
              * WebCore+SVG/kdom.h:
              * bindings/objc/DOM.mm:
              * bindings/objc/DOMCSS.mm:
              * bindings/objc/DOMHTML.mm:
              * bindings/objc/DOMInternal.mm:
              * bridge/BrowserExtension.h:
              * css/css_base.h:
              * css/css_computedstyle.cpp:
              * css/css_grammar.y:
              * css/css_ruleimpl.h:
              * css/css_stylesheetimpl.cpp:
              * css/css_stylesheetimpl.h:
              * css/css_valueimpl.cpp:
              * css/csshelper.cpp:
              * css/csshelper.h:
              * css/cssparser.h:
              * css/cssstyleselector.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              * khtml/dom/dom2_events.h:
              * khtml/ecma/JSXMLHttpRequest.cpp:
              * khtml/ecma/kjs_html.cpp:
              * khtml/ecma/kjs_window.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/apply_style_command.cpp:
              * khtml/editing/delete_from_text_node_command.h:
              * khtml/editing/insert_into_text_node_command.h:
              * khtml/editing/jsediting.h:
              * khtml/editing/rebalance_whitespace_command.h:
              * khtml/editing/remove_css_property_command.h:
              * khtml/editing/typing_command.h:
              * khtml/html/FormDataList.h:
              * khtml/html/HTMLNameCollectionImpl.h:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_objectimpl.cpp:
              * khtml/khtml_events.h:
              * khtml/xbl/xbl_binding.h:
              * khtml/xbl/xbl_protobinding.h:
              * khtml/xbl/xbl_protohandler.h:
              * khtml/xbl/xbl_protoimplementation.h:
              * khtml/xml/DOMImplementationImpl.cpp:
              * khtml/xml/EventNames.h:
              * khtml/xml/NameNodeListImpl.h:
              * khtml/xml/NamedNodeMapImpl.h:
              * khtml/xml/NodeImpl.cpp:
              * khtml/xml/NodeImpl.h:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom_atomicstringlist.h:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_qname.h:
              * khtml/xml/dom_xmlimpl.cpp:
              * khtml/xml/xml_tokenizer.h:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * khtml/xsl/xslt_processorimpl.h:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/svg/SVGAngleImpl.h:
              * ksvg2/svg/SVGAnimateColorElementImpl.cpp:
              * ksvg2/svg/SVGAnimatedStringImpl.h:
              * ksvg2/svg/SVGAnimationElementImpl.cpp:
              * ksvg2/svg/SVGColorImpl.h:
              * ksvg2/svg/SVGDOMImplementationImpl.cpp:
              * ksvg2/svg/SVGElementImpl.cpp:
              * ksvg2/svg/SVGFitToViewBoxImpl.cpp:
              * ksvg2/svg/SVGLangSpaceImpl.cpp:
              * ksvg2/svg/SVGLangSpaceImpl.h:
              * ksvg2/svg/SVGLengthImpl.h:
              * ksvg2/svg/SVGMarkerElementImpl.cpp:
              * ksvg2/svg/SVGPaintImpl.h:
              * ksvg2/svg/SVGPathSegImpl.h:
              * ksvg2/svg/SVGPreserveAspectRatioImpl.cpp:
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              * ksvg2/svg/SVGScriptElementImpl.cpp:
              * ksvg2/svg/SVGStringListImpl.h:
              * ksvg2/svg/SVGStylableImpl.h:
              * ksvg2/svg/SVGStyleElementImpl.cpp:
              * ksvg2/svg/SVGStyledElementImpl.cpp:
              * ksvg2/svg/SVGSymbolElementImpl.cpp:
              * ksvg2/svg/SVGViewElementImpl.cpp:
              * kwq/KWQAccObject.mm:
              * kwq/KWQFontFamily.h:
              * kwq/KWQFontFamily.mm:
              * kwq/KWQKJobClasses.h:
              * kwq/KWQKJobClasses.mm:
              * loader/Cache.h:
              * loader/CachedObject.h:
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.h:
              * page/Frame.cpp:
              * page/FrameTreeNode.h:
              * platform/SegmentedString.h:
              * rendering/render_image.h:
              * rendering/render_style.cpp:
              * xml/xmlhttprequest.cpp:
              Updated all includes to use new filenames.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea944763
  3. 24 Jan, 2006 1 commit
    • darin's avatar
      Reviewed by John and Anders. · f5f07f15
      darin authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6732
                REGRESSION: Repro crash at Google Maps
      
              * khtml/ecma/JSXMLHttpRequest.cpp:
              (KJS::JSXMLHttpRequest::getValueProperty): Clean up a bit, using PassRefPtr where appropriate.
              (KJS::JSXMLHttpRequest::mark): Remove get calls now that getter functions don't return PassRefPtr.
              (KJS::JSXMLHttpRequest::JSXMLHttpRequest): Put the object into the DOM objects map.
              (KJS::JSXMLHttpRequest::~JSXMLHttpRequest): Remove the object from the DOM objects map. Also clear
              out both listeners so the implementation object isn't left with dangling pointers (since we won't
              be around to mark those objects any more).
              (KJS::JSXMLHttpRequestProtoFunc::callAsFunction): Tightened up the code a bit.
      
              * xml/xmlhttprequest.h:
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::getResponseXML): Change to return just a plain old pointer. Remove
              the unnecessary typeIsXML boolean.
              (WebCore::XMLHttpRequest::onReadyStateChangeListener): Change to return just a plain old pointer.
              Update for name changes.
              (WebCore::XMLHttpRequest::setOnReadyStateChangeListener): Ditto.
              (WebCore::XMLHttpRequest::onLoadListener): Ditto.
              (WebCore::XMLHttpRequest::setOnLoadListener): Ditto.
              (WebCore::XMLHttpRequest::send): Protect the DOM wrapper if any as well as ourselves while
              the load is in progress.
              (WebCore::XMLHttpRequest::abort): Unprotect to balance out the above.
              (WebCore::XMLHttpRequest::slotFinished): Ditto.
      
              * khtml/ecma/JSXMLHttpRequest.h: Just formatting changes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5f07f15
  4. 22 Jan, 2006 1 commit
    • ap's avatar
      Reviewed by Maciej. · f859a44c
      ap authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=6642
                Split XMLHttpRequest class into JS binding and implementation
      
              * WebCore.xcodeproj/project.pbxproj: Adjusted for moved and renamed files.
              New group "xml" to match directory structure.
              * xml: Added.
              * khtml/ecma/JSXMLHttpRequest.cpp: Added.
              * khtml/ecma/JSXMLHttpRequest.h: Added.
              * khtml/ecma/xmlhttprequest.cpp: Removed.
              * khtml/ecma/xmlhttprequest.h: Removed.
              * xml/xmlhttprequest.cpp: Added.
              * xml/xmlhttprequest.h: Added.
              * khtml/ecma/kjs_binding.cpp:
              (KJS::jsStringOrUndefined): Moved from kjs_events.cpp.
              * khtml/ecma/kjs_binding.h: Added prototype for jsStringOrUndefined().
              * khtml/ecma/kjs_events.cpp: Removed jsStringOrUndefined().
              * khtml/ecma/kjs_window.cpp: 
              (KJS::Window::getValueProperty): Use new class name for JSXMLHttpRequest.
              * kwq/KWQSlot.cpp: XMLHttpRequestQObject is now in WebCore, not KJS.
              * page/Frame.cpp:
              (Frame::stopLoading): XMLHttpRequest is now in WebCore, not KJS.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f859a44c