1. 20 Jan, 2006 3 commits
    • cpeterse's avatar
      Reviewed by eseidel. · 59076c7b
      cpeterse authored
              Build fix.
      
              * khtml/xml/DocumentImpl.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59076c7b
    • eseidel's avatar
      2006-01-20 Eric Seidel <eseidel@apple.com> · 525f34a4
      eseidel authored
              Reviewed by beth.
      
              Unbreak build (partial commit of animation patch)
      
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::implicitClose):
              * khtml/xml/DocumentImpl.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      525f34a4
    • eseidel's avatar
      2006-01-19 Eric Seidel <eseidel@apple.com> · a043f3d9
      eseidel authored
              Reviewed by beth.
      
              Break classes in render_table out into separate files.
              Move render_block to RenderBlock.
              Move render_container to RenderContainer.
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/MacFrame.mm:
              * kcanvas/KCanvasContainer.h:
              * kcanvas/RenderForeignObject.h:
              * kcanvas/RenderSVGText.h:
              * khtml/editing/visible_units.cpp:
              * khtml/html/html_tableimpl.cpp:
              (WebCore::HTMLTableElementImpl::insertRow):
              * khtml/xml/dom2_rangeimpl.cpp:
              * khtml/xml/dom_position.cpp:
              * kwq/KWQRenderTreeDebug.cpp:
              * page/Frame.cpp:
              * rendering/InlineTextBox.cpp:
              * rendering/RenderBlock.cpp: Added.
              * rendering/RenderBlock.h: Added.
              * rendering/RenderContainer.cpp: Added.
              (WebCore::RenderContainer::addChild):
              * rendering/RenderContainer.h: Added.
              * rendering/RenderTable.cpp: Added.
              (WebCore::RenderTable::RenderTable):
              (WebCore::RenderTable::updateFirstLetter):
              * rendering/RenderTable.h: Added.
              * rendering/RenderTableCell.cpp: Added.
              (WebCore::RenderTableCell::RenderTableCell):
              (WebCore::RenderTableCell::updateFromElement):
              * rendering/RenderTableCell.h: Added.
              * rendering/RenderTableCol.cpp: Added.
              (WebCore::RenderTableCol::RenderTableCol):
              (WebCore::RenderTableCol::updateFromElement):
              * rendering/RenderTableCol.h: Added.
              * rendering/RenderTableRow.cpp: Added.
              (WebCore::RenderTableRow::RenderTableRow):
              * rendering/RenderTableRow.h: Added.
              * rendering/RenderTableSection.cpp: Added.
              (WebCore::RenderTableSection::RenderTableSection):
              * rendering/RenderTableSection.h: Added.
              * rendering/RenderText.cpp:
              * rendering/bidi.cpp:
              * rendering/render_block.cpp: Removed.
              * rendering/render_block.h: Removed.
              * rendering/render_box.cpp:
              * rendering/render_canvas.h:
              * rendering/render_container.cpp: Removed.
              * rendering/render_container.h: Removed.
              * rendering/render_flexbox.h:
              * rendering/render_flow.cpp:
              * rendering/render_flow.h:
              * rendering/render_form.h:
              * rendering/render_frames.h:
              * rendering/render_inline.cpp:
              * rendering/render_inline.h:
              * rendering/render_line.cpp:
              * rendering/render_list.h:
              * rendering/render_object.cpp:
              * rendering/render_replaced.h:
              * rendering/render_table.cpp: Removed.
              * rendering/render_table.h: Removed.
              * rendering/table_layout.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a043f3d9
  2. 19 Jan, 2006 2 commits
    • eseidel's avatar
      2006-01-19 Eric Seidel <eseidel@apple.com> · b4c0c6b5
      eseidel authored
              Reviewed by darin.
      
              Split html_miscimpl.* into separate files and move html_elementimpl
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6670
      
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/objc/DOM.mm:
              * bindings/objc/DOMHTML.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * css/css_valueimpl.cpp:
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_html.cpp:
              * khtml/editing/apply_style_command.cpp:
              * khtml/editing/markup.cpp:
              * khtml/editing/replace_selection_command.cpp:
              * khtml/html/HTMLBaseFontElementImpl.cpp: Added.
              * khtml/html/HTMLBaseFontElementImpl.h: Added.
              * khtml/html/HTMLButtonElementImpl.cpp:
              * khtml/html/HTMLCollectionImpl.cpp: Added.
              (WebCore::HTMLCollectionImpl::traverseNextItem):
              * khtml/html/HTMLCollectionImpl.h: Added.
              * khtml/html/HTMLElementImpl.cpp: Added.
              * khtml/html/HTMLElementImpl.h: Added.
              * khtml/html/HTMLFieldSetElementImpl.cpp:
              * khtml/html/HTMLFormCollectionImpl.cpp: Added.
              * khtml/html/HTMLFormCollectionImpl.h: Added.
              * khtml/html/HTMLFormElementImpl.cpp:
              * khtml/html/HTMLFormElementImpl.h:
              * khtml/html/HTMLGenericFormElementImpl.cpp:
              * khtml/html/HTMLGenericFormElementImpl.h:
              * khtml/html/HTMLInputElementImpl.cpp:
              * khtml/html/HTMLIsIndexElementImpl.cpp:
              * khtml/html/HTMLLabelElementImpl.h:
              * khtml/html/HTMLLegendElementImpl.cpp:
              * khtml/html/HTMLNameCollectionImpl.cpp: Added.
              * khtml/html/HTMLNameCollectionImpl.h: Added.
              * khtml/html/HTMLOptGroupElementImpl.cpp:
              * khtml/html/HTMLOptGroupElementImpl.h:
              * khtml/html/HTMLOptionElementImpl.h:
              * khtml/html/HTMLSelectElementImpl.cpp:
              * khtml/html/HTMLTextAreaElementImpl.cpp:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_baseimpl.h:
              * khtml/html/html_blockimpl.cpp:
              * khtml/html/html_blockimpl.h:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_documentimpl.h:
              * khtml/html/html_elementimpl.cpp: Removed.
              * khtml/html/html_elementimpl.h: Removed.
              * khtml/html/html_headimpl.cpp:
              (WebCore::HTMLLinkElementImpl::setStyleSheet):
              (WebCore::HTMLLinkElementImpl::isLoading):
              * khtml/html/html_headimpl.h:
              * khtml/html/html_imageimpl.cpp:
              * khtml/html/html_inlineimpl.cpp:
              * khtml/html/html_inlineimpl.h:
              * khtml/html/html_listimpl.h:
              * khtml/html/html_miscimpl.cpp: Removed.
              * khtml/html/html_miscimpl.h: Removed.
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/html_tableimpl.h:
              * khtml/html/htmlfactory.cpp:
              * khtml/html/htmlparser.cpp:
              * khtml/html/htmltokenizer.cpp:
              (WebCore::HTMLTokenizer::scriptHandler):
              (WebCore::HTMLTokenizer::scriptExecution):
              * khtml/xml/DocumentImpl.cpp:
              * khtml/xml/dom2_rangeimpl.cpp:
              * khtml/xml/dom_elementimpl.cpp:
              * kwq/KWQAccObject.mm:
              * loader/loader.cpp:
              * page/Frame.cpp:
              (Frame::restoreURL):
              (Frame::stopLoading):
              (Frame::receivedFirstData):
              (Frame::gotoAnchor):
              (Frame::requestObject):
              (Frame::processObjectRequest):
              (Frame::submitForm):
              (Frame::slotParentCompleted):
              (Frame::findFrame):
              (Frame::executeScript):
              * page/FrameView.cpp:
              (FrameView::useSlowRepaints):
              * rendering/render_applet.cpp:
              * rendering/render_applet.h:
              * rendering/render_box.cpp:
              (WebCore::RenderBox::contentWidth):
              (WebCore::RenderBox::paintRootBoxDecorations):
              (WebCore::RenderBox::paintBoxDecorations):
              (WebCore::RenderBox::getClipRect):
              (WebCore::RenderBox::calcWidth):
              (WebCore::RenderBox::calcHeight):
              * rendering/render_canvasimage.cpp:
              * rendering/render_canvasimage.h:
              * rendering/render_frames.cpp:
              * rendering/render_image.cpp:
              * rendering/render_image.h:
              * rendering/render_layer.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4c0c6b5
    • darin's avatar
      Reviewed by Hyatt. · d03140b1
      darin authored
              - removed all use of QMap
      
              * ForwardingHeaders/qmap.h: Removed.
              * WebCore.xcodeproj/project.pbxproj: Removed KWQMap.h, KWQMapImpl.h, KWQMapImpl.cpp.
              * kwq/KWQMap.h: Removed.
              * kwq/KWQMapImpl.cpp: Removed.
              * kwq/KWQMapImpl.h: Removed.
      
              * bridge/BrowserExtension.h: (WebCore::URLArgs::metaData): Converted from QMap of QString
              to HashMap of DOMString.
              * bridge/mac/BrowserExtensionMac.mm: Ditto.
              * bridge/mac/MacFrame.mm:
              (MacFrame::openURLRequest): Ditto.
              (MacFrame::urlSelected): Ditto.
              (MacFrame::createPart): Ditto.
              * khtml/ecma/kjs_window.cpp:
              (KJS::parseModalDialogFeatures): Ditto.
              (KJS::boolFeature): Ditto.
              (KJS::intFeature): Ditto.
              (KJS::createNewWindow): Ditto.
              (KJS::showModalDialog): Ditto.
              (KJS::WindowFunc::callAsFunction): Ditto.
              * khtml/html/html_objectimpl.cpp: (WebCore::HTMLAppletElementImpl::createRenderer): Ditto.
              * khtml/xml/dom_xmlimpl.cpp: (DOM::ProcessingInstructionImpl::checkStyleSheet): Ditto.
              * khtml/xml/xml_tokenizer.cpp:
              (WebCore::toString): Added. Converts to DOMString instead of QString.
              (WebCore::attributesStartElementNsHandler): Converted from QMap of QString to HashMap of DOMString.
              (WebCore::parseAttributes): Ditto.
              * khtml/xml/xml_tokenizer.h: (WebCore::Tokenizer::setTransformSource): Ditto.
              * ksvg2/misc/KSVGTimeScheduler.cpp: (KSVG::SVGTimer::notifyAll): Ditto.
              * kwq/KWQKJavaAppletWidget.h: Ditto.
              * kwq/KWQKJavaAppletWidget.mm: (KJavaAppletWidget::KJavaAppletWidget): Ditto.
              * kwq/KWQKJobClasses.h: Ditto.
              * kwq/KWQKJobClasses.mm: (KIO::TransferJob::addMetaData): Ditto.
              * page/Frame.cpp:
              (Frame::didOpenURL): Ditto.
              (Frame::changeLocation): Ditto.
              (Frame::mark): Ditto.
              (Frame::setMark): Ditto.
              (Frame::urlSelected): Ditto.
              (Frame::requestObject): Ditto.
              (Frame::processObjectRequest): Ditto.
              (Frame::submitForm): Ditto.
              * rendering/render_applet.cpp:
              (WebCore::RenderApplet::RenderApplet): Ditto.
              (WebCore::RenderApplet::createWidgetIfNecessary): Ditto.
              (WebCore::RenderApplet::layout): Ditto.
              * rendering/render_applet.h:
              (WebCore::RenderApplet::renderName): Ditto.
              (WebCore::RenderApplet::element): Ditto.
              (WebCore::RenderEmptyApplet::renderName): Ditto.
      
              * khtml/dom/dom_string.h:
              (WebCore::DOMString::createCFString): Added. Not yet implemented or used.
              (WebCore::DOMString::operator NSString*): Updated to call through to DOMStringImpl.
              Added hash functions and hash traits so you can use DOMString in hash tables.
              * khtml/xml/dom_stringimpl.h: Added conversion to and from CFStringRef/NSString.
              * khtml/xml/dom_stringimpl.cpp: Took out an excess "DOM::".
      
              * bindings/objc/DOMInternal.mm: (DOMStringImpl::operator NSString *): Moved from DOMString
              to DOMStringImpl.
      
              - changed the mark from a SelectionController to a Selection
                (maybe it can be a Position instead?)
      
              * page/Frame.h: Changed mark() and setMark() to use a Selection.
              * page/FramePrivate.h: Changed mark to a Selection.
      
              * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge setMarkDOMRange:]):
              Updated for change from SelectionController to Selection.
      
              - removed extraneous includes
      
              * kwq/KWQKHTMLSettings.h: Removed include of "KWQMap.h".
              * kwq/KWQKIOGlobal.h: Ditto.
      
              * khtml/editing/htmlediting.h: Removed extraneous includes and namespace prefixes.
      
              * khtml/html/html_canvasimpl.h: Removed extraneous includes and moved into the
              WebCore namespace.
              * khtml/html/html_canvasimpl.cpp: Ditto.
              * khtml/html/htmltokenizer.cpp: Ditto.
              * khtml/html/htmltokenizer.h: Ditto.
              * khtml/xml/DocumentImpl.cpp: Ditto.
              * kwq/KWQEditCommand.mm: Ditto.
              * rendering/render_canvasimage.h: Ditto.
              * rendering/render_image.h: Ditto.
      
              * khtml/editing/composite_edit_command.cpp: Updated includes because of ones
              that were removed from headers.
              * khtml/editing/htmlediting.cpp: Ditto.
              * khtml/editing/jsediting.cpp: Ditto.
              * khtml/editing/replace_selection_command.cpp: Ditto.
              * rendering/render_canvasimage.cpp: Ditto.
              * rendering/render_image.cpp: Ditto.
      
              * loader/loader.cpp: (WebCore::Loader::servePendingRequests): Removed code to add the
              cache control string, since that was hardcoded to empty string anyway.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d03140b1
  3. 18 Jan, 2006 2 commits
  4. 16 Jan, 2006 1 commit
    • darin's avatar
      Reviewed by John Sullivan. · bbe6466a
      darin authored
              - removed all uses of QPtrDict, most uses of QMap
      
              * khtml/ecma/kjs_dom.cpp: Converted tabs to spaces.
              (KJS::DOMNode::mark): Switched from QPtrDict to HashSet.
              * khtml/ecma/kjs_events.cpp: Converted tabs to spaces.
              (KJS::JSUnprotectedEventListener::JSUnprotectedEventListener): Use HashMap.
              (KJS::JSEventListener::JSEventListener): Use HashMap.
              (KJS::JSLazyEventListener::parseCode): Use HashMap.
              * khtml/ecma/kjs_html.cpp: Convert tabs to spaces.
              (KJS::KJS::HTMLElement::classInfo): Use HashMap.
              * khtml/ecma/kjs_window.cpp: Convert tabs to spaces.
              (KJS::Window::~Window): Use HashMap.
              (KJS::Window::getJSEventListener): Ditto.
              (KJS::Window::getJSUnprotectedEventListener): Ditto.
              (KJS::WindowQObject::parentDestroyed): Ditto.
              (KJS::WindowQObject::installTimeout): Ditto.
              (KJS::WindowQObject::pauseTimeouts): Ditto.
              (KJS::WindowQObject::resumeTimeouts): Ditto.
              (KJS::WindowQObject::clearTimeout): Ditto.
              (KJS::WindowQObject::timerEvent): Ditto.
              * khtml/ecma/kjs_window.h: Use HashMap.
              * khtml/ecma/xmlhttprequest.cpp: Convert tabs to spaces.
              (KJS::XMLHttpRequest::requestsByDocument): Use HashMap/Set.
              (KJS::XMLHttpRequest::addToRequestsByDocument): Ditto.
              (KJS::XMLHttpRequest::removeFromRequestsByDocument): Ditto.
              (KJS::XMLHttpRequest::cancelRequests): Ditto.
              * khtml/ecma/xmlhttprequest.h: Ditto.
              * khtml/editing/apply_style_command.cpp:
              (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange): Use HashMap.
              * khtml/rendering/render_canvas.cpp:
              (RenderCanvas::selectionRect): Use HashMap.
              (RenderCanvas::setSelection): Ditto.
              * khtml/rendering/render_flow.cpp: (RenderFlow::paintLines): Use HashSet.
              * khtml/rendering/render_line.cpp: (khtml::InlineFlowBox::paint): Use HashSet.
              * khtml/rendering/render_object.h: Used HashSet.
              Converted tabs to spaces and did namespace changes too.
              * khtml/xml/DocumentImpl.cpp:
              (DocumentImpl::DocumentImpl): Use HashSet and HashMap.
              (DocumentImpl::~DocumentImpl): Ditto.
              (DocumentImpl::registerDisconnectedNodeWithEventListeners): Ditto.
              (DocumentImpl::unregisterDisconnectedNodeWithEventListeners): Ditto.
              (DocumentImpl::removeAllDisconnectedNodeEventListeners): Ditto.
              (DocumentImpl::addImageMap): Ditto.
              (DocumentImpl::removeImageMap): Ditto.
              (DocumentImpl::getImageMap): Ditto.
              (DocumentImpl::addMarker): Ditto.
              (DocumentImpl::copyMarkers): Ditto.
              (DocumentImpl::removeMarkers): Ditto.
              (DocumentImpl::markersForNode): Ditto.
              (DocumentImpl::shiftMarkers): Ditto.
              (DocumentImpl::radioButtonChecked): Ditto.
              (DocumentImpl::checkedRadioButtonForGroup): Ditto.
              (DocumentImpl::removeRadioButtonGroup): Ditto.
              * khtml/xml/DocumentImpl.h: Use HashSet and HashMap.
              * khtml/xml/NodeImpl.cpp:
              (WebCore::NodeImpl::registerNodeList): Use HashSet.
              (WebCore::NodeImpl::unregisterNodeList): Ditto.
              (WebCore::NodeImpl::notifyLocalNodeListsAttributeChanged): Ditto.
              (WebCore::NodeImpl::notifyNodeListsAttributeChanged): Ditto.
              (WebCore::NodeImpl::notifyLocalNodeListsChildrenChanged): Ditto.
              (WebCore::NodeImpl::notifyNodeListsChildrenChanged): Ditto.
              (WebCore::NodeImpl::getElementsByTagName): Moved here so we don't have
              to include NodeListImpl.h in the header.
              * khtml/xml/NodeImpl.h: Use HashSet. Reduced includes.
              * khtml/xml/dom_elementimpl.cpp:
              (WebCore::MappedAttributeKey): Added. Hash table key.
              (WebCore::MappedAttributeKeyTraits): Added. Hash table key traits.
              (WebCore::MappedAttributeHash): Added. Hash function.
              (WebCore::StyledElementImpl::getMappedAttributeDecl): Use HashMap.
              (WebCore::StyledElementImpl::setMappedAttributeDecl): Ditto.
              (WebCore::StyledElementImpl::removeMappedAttributeDecl): Ditto.
              (WebCore::MappedAttributeHash::hash): Added. Hash function.
              * khtml/xml/dom_elementimpl.h: Use HashMap.
      
              * khtml/html/html_imageimpl.cpp:
              (WebCore::HTMLMapElementImpl::parseMappedAttribute): Update m_name handling
              to use AtomicString.
              * khtml/html/html_imageimpl.h:
              (WebCore::HTMLMapElementImpl::getName): Change to return const AtomicString&.
      
              * khtml/dom/dom_string.h: Added a default argument to substring, also
              reduced includes and updated namespace.
              * khtml/xml/dom_stringimpl.h: Ditto.
      
              * bridge/mac/WebCoreFrameBridge.mm: Switched to new WebCore namespace.
              Updated includes for header changes.
              * kcanvas/RenderForeignObject.cpp: Ditto.
              * kcanvas/RenderForeignObject.h: Ditto.
              * kcanvas/RenderSVGImage.h: Ditto.
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h: Ditto.
              * khtml/css/css_ruleimpl.cpp: Ditto.
              * khtml/css/css_valueimpl.h: Ditto.
              * khtml/ecma/kjs_dom.h: Ditto.
              * khtml/ecma/kjs_html.h: Ditto.
              * khtml/editing/composite_edit_command.cpp: Ditto.
              * khtml/editing/delete_selection_command.cpp: Ditto.
              * khtml/html/html_tableimpl.cpp: Ditto.
              * khtml/khtml_events.cpp: Ditto.
              * khtml/rendering/RenderText.cpp: Ditto.
              * khtml/rendering/render_block.cpp: Ditto.
              * khtml/rendering/render_br.cpp: Ditto.
              * khtml/rendering/render_inline.cpp: Ditto.
              * khtml/rendering/render_object.cpp: Ditto.
              * khtml/rendering/render_replaced.cpp: Ditto.
              * khtml/xml/dom2_rangeimpl.cpp: Ditto.
              * kwq/DOM.mm: Ditto.
              * page/Frame.cpp: Ditto.
      
              * kcanvas/KCanvasResources.cpp: (KCanvasMarker::draw): Updated because a
              constant moved into the WebCore namespace.
              * kcanvas/RenderSVGText.cpp: (RenderSVGText::nodeAtPoint): Ditto.
              * kcanvas/RenderSVGText.h: Ditto.
              * kcanvas/device/quartz/KCanvasItemQuartz.h: Ditto.
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              (KCanvasItemQuartz::paint): Ditto.
              (KCanvasItemQuartz::nodeAtPoint): Ditto.
              * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
              (KCanvasContainerQuartz::paint): Ditto.
      
              * khtml/xbl/xbl_binding_manager.cpp: Removed include of qptrddict.h.
              * khtml/xbl/xbl_binding_manager.h: Removed include of qptrddict.h.
              * khtml/xbl/xbl_docimpl.h: Removed include of qptrddict.h.
      
              * khtml/xml/dom_xmlimpl.cpp: Changed to use RefPtr for strings.
              * khtml/xml/dom_xmlimpl.h: Ditto.
      
              * ksvg2/css/SVGRenderStyle.h: Reduced includes a bit and added newly-needed ones.
              * ksvg2/misc/KSVGTimeScheduler.cpp: Ditto.
              * ksvg2/svg/SVGPointImpl.cpp: Ditto.
      
              * kwq/KWQNamespace.h: Removed QColor, QCursor, and redundant declaration of QRgb
              (now in qcolor.h). Also converted tabs to spaces.
      
              * kwq/KWQPainter.h: Added newly-needed include.
      
              * kwq/KWQPtrVector.h: Added append function.
              * kwq/KWQVectorImpl.cpp: (KWQVectorImpl::append): Added.
              * kwq/KWQVectorImpl.h: Added append.
      
              * kwq/KWQRenderTreeDebug.cpp: Updated to no longer use transparentColor constant.
      
              * kwq/KWQWMatrix.cpp: Changed name to QMatrix to allow forward declarations.
              * kwq/KWQWMatrix.h: Ditto.
      
              * loader/Cache.cpp: (khtml::Cache::clear): Use deleteAllValues for clearer code.
      
              * loader/CachedCSSStyleSheet.cpp: Reduced includes a lot, moving them from .h to .cpp.
              * loader/CachedCSSStyleSheet.h: Ditto.
              * loader/CachedImage.cpp: Ditto.
              * loader/CachedImage.h: Ditto.
              * loader/CachedImageCallback.cpp: Ditto.
              * loader/CachedObject.cpp: Ditto.
              * loader/CachedObject.h: Ditto.
              * loader/CachedObjectClient.h: Ditto.
              * loader/CachedObjectClientWalker.cpp: Ditto.
              * loader/CachedObjectClientWalker.h: Ditto.
              * loader/CachedScript.cpp: Ditto.
              * loader/CachedScript.h: Ditto.
              * loader/CachedXSLStyleSheet.cpp: Ditto.
      
              * loader/loader.cpp:
              (WebCore::Loader::Loader): Changed to use HashMap.
              (WebCore::Loader::~Loader): Ditto.
              (WebCore::Loader::servePendingRequests): Ditto.
              (WebCore::Loader::slotFinished): Ditto.
              (WebCore::Loader::slotReceivedResponse): Ditto.
              (WebCore::Loader::slotData): Ditto.
              (WebCore::Loader::numRequests): Ditto.
              (WebCore::Loader::cancelRequests): Ditto.
              (WebCore::Loader::jobForRequest): Ditto.
              * loader/loader.h: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbe6466a
  5. 15 Jan, 2006 3 commits
    • darin's avatar
      Reviewed and tweaked a bit by Darin. · 9aa45a49
      darin authored
              Fix for <http://bugzilla.opendarwin.org/show_bug.cgi?id=6523>
              "Extract data from SelectionController"
      
              This patch refactors the data portions of SelectionController into its
              own class, "Selection".
      
              The extracted data are the base/extent/start/end positions and cursor
              affinity. Also a couple cached values generated by validation are kept around
              in the new class.
      
              This patch does away with all the different affinities
              (start/end/base/extent) that were never implemented properly, since affinity
              only makes sense when the selection is a caret (as per discussion with mjs and
              darin on #webkit).
      
              No test cases added because this is a refactoring.
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/MacFrame.mm:
              (MacFrame::findString):
              (MacFrame::advanceToNextMisspelling):
              (MacFrame::baseWritingDirectionForSelectionStart):
              (MacFrame::respondToChangedSelection):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge selectionState]):
              (-[WebCoreFrameBridge selectNSRange:]):
              (-[WebCoreFrameBridge selectionAffinity]):
              (-[WebCoreFrameBridge setMarkDOMRange:]):
              (-[WebCoreFrameBridge ensureSelectionVisible]):
              (-[WebCoreFrameBridge rangeOfCharactersAroundCaret]):
              * khtml/editing/Selection.cpp: Added.
              (khtml::Selection::Selection):
              (khtml::Selection::clear):
              (khtml::Selection::toRange):
              (khtml::Selection::validate):
              (khtml::Selection::adjustForEditableContent):
              (khtml::Selection::debugPosition):
              * khtml/editing/Selection.h: Added.
              (khtml::Selection::):
              (khtml::Selection::state):
              (khtml::Selection::setAffinity):
              (khtml::Selection::affinity):
              (khtml::Selection::setBase):
              (khtml::Selection::setExtent):
              (khtml::Selection::setStart):
              (khtml::Selection::setEnd):
              (khtml::Selection::base):
              (khtml::Selection::extent):
              (khtml::Selection::start):
              (khtml::Selection::end):
              (khtml::Selection::isNone):
              (khtml::Selection::isCaret):
              (khtml::Selection::isRange):
              (khtml::Selection::isCaretOrRange):
              (khtml::Selection::isBaseFirst):
              (khtml::operator==):
              (khtml::operator!=):
              * khtml/editing/SelectionController.cpp:
              (khtml::SelectionController::SelectionController):
              (khtml::SelectionController::operator=):
              (khtml::SelectionController::moveTo):
              (khtml::SelectionController::setModifyBias):
              (khtml::SelectionController::modifyExtendingRightForward):
              (khtml::SelectionController::modifyMovingRightForward):
              (khtml::SelectionController::modifyExtendingLeftBackward):
              (khtml::SelectionController::modifyMovingLeftBackward):
              (khtml::SelectionController::modify):
              (khtml::SelectionController::expandUsingGranularity):
              (khtml::SelectionController::xPosForVerticalArrowNavigation):
              (khtml::SelectionController::clear):
              (khtml::SelectionController::setBase):
              (khtml::SelectionController::setExtent):
              (khtml::SelectionController::toString):
              (khtml::SelectionController::getRangeAt):
              (khtml::SelectionController::frame):
              (khtml::SelectionController::collapseToEnd):
              (khtml::SelectionController::collapseToStart):
              (khtml::SelectionController::layout):
              (khtml::SelectionController::caretRect):
              (khtml::SelectionController::needsCaretRepaint):
              (khtml::SelectionController::paintCaret):
              (khtml::SelectionController::debugRenderer):
              (khtml::SelectionController::formatForDebugger):
              (khtml::SelectionController::showTree):
              * khtml/editing/SelectionController.h:
              (khtml::SelectionController::state):
              (khtml::SelectionController::affinity):
              (khtml::SelectionController::base):
              (khtml::SelectionController::extent):
              (khtml::SelectionController::start):
              (khtml::SelectionController::end):
              (khtml::SelectionController::isNone):
              (khtml::SelectionController::isCaret):
              (khtml::SelectionController::isRange):
              (khtml::SelectionController::isCaretOrRange):
              (khtml::SelectionController::toRange):
              (khtml::SelectionController::baseNode):
              (khtml::SelectionController::extentNode):
              (khtml::SelectionController::baseOffset):
              (khtml::SelectionController::extentOffset):
              (khtml::SelectionController::anchorNode):
              (khtml::SelectionController::anchorOffset):
              (khtml::SelectionController::focusNode):
              (khtml::SelectionController::focusOffset):
              (khtml::operator==):
              * khtml/editing/apply_style_command.cpp:
              (khtml::ApplyStyleCommand::updateStartEnd):
              * khtml/editing/break_blockquote_command.cpp:
              (khtml::BreakBlockquoteCommand::doApply):
              * khtml/editing/delete_selection_command.cpp:
              (khtml::DeleteSelectionCommand::initializePositionData):
              (khtml::DeleteSelectionCommand::handleGeneralDelete):
              (khtml::DeleteSelectionCommand::doApply):
              * khtml/editing/insert_line_break_command.cpp:
              (khtml::InsertLineBreakCommand::doApply):
              * khtml/editing/insert_paragraph_separator_command.cpp:
              (khtml::InsertParagraphSeparatorCommand::doApply):
              * khtml/editing/insert_text_command.cpp:
              (khtml::InsertTextCommand::input):
              * khtml/editing/move_selection_command.cpp:
              (khtml::MoveSelectionCommand::doApply):
              * khtml/editing/replace_selection_command.cpp:
              (khtml::ReplaceSelectionCommand::doApply):
              (khtml::ReplaceSelectionCommand::completeHTMLReplacement):
              * khtml/editing/typing_command.cpp:
              (khtml::TypingCommand::deleteKeyPressed):
              (khtml::TypingCommand::forwardDeleteKeyPressed):
              (khtml::TypingCommand::markMisspellingsAfterTyping):
              * khtml/xml/DocumentImpl.cpp:
              (DocumentImpl::updateSelection):
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject accessibilityAttributeValue:]):
              (-[KWQAccObject doAXTextMarkerRangeForLine:]):
              * kwq/KWQRenderTreeDebug.cpp:
              (writeSelection):
              * page/Frame.cpp:
              (Frame::selectContentsOfNode):
              (Frame::shouldChangeSelection):
              (Frame::computeAndSetTypingStyle):
              (Frame::applyStyle):
              (Frame::applyParagraphStyle):
              (Frame::selectFrameElementInParentIfFullySelected):
              (Frame::revealSelection):
              (Frame::centerSelectionInVisibleArea):
              (Frame::styleForSelectionStart):
              
              * <a few other files, including editing ones>: Added includes since Selection.h and
              SelectionController.h now include fewer things.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9aa45a49
    • darin's avatar
      Reviewed by Anders. · ce79923b
      darin authored
              - fix regression in duplicate ID layout test
      
              * khtml/xml/DocumentImpl.cpp:
              (DocumentImpl::getElementById): Change to take AtomicString, so we can use
              the string pointer as a hash key and not worry about ref'ing the pointer or
              about object lifetime since the string will be stored for the lifetime of the
              ID attribute. Also update for the counted set formerly named m_idCount to use
              its new name, m_duplicateIds.
              (DocumentImpl::addElementById): Ditto.
              (DocumentImpl::removeElementById): Ditto.
              (DocumentImpl::recalcStyleSelector): Pass a DOMStringImpl* (see below).
              * khtml/xml/DocumentImpl.h: Change functions to take AtomicString.
      
              * kcanvas/KCanvasFilters.cpp: (getFilterById): Use AtomicString.
              * kcanvas/KCanvasFilters.h: Ditto.
              * kcanvas/KCanvasResources.cpp:
              (getResourceById): Ditto.
              (getMarkerById): Ditto.
              (getClipperById): Ditto.
              (getMaskerById): Ditto.
              (getPaintServerById): Ditto.
              * kcanvas/KCanvasResources.h: Ditto.
              * khtml/ecma/kjs_window.cpp: (KJS::Window::getOwnPropertySlot): Ditto.
              * khtml/html/HTMLLabelElementImpl.cpp:
              (DOM::HTMLLabelElementImpl::formElement): Ditto.
              * khtml/xml/NodeListImpl.cpp: (DOM::NodeListImpl::itemById): Ditto.
              * khtml/xml/NodeListImpl.h: Ditto. Also removed unnecessary "virtual".
      
              * khtml/ecma/kjs_css.cpp:
              (KJS::DOMStyleSheetList::nameGetter): Pass a DOMStringImpl*, which gets
              converted to an AtomicString implicitly, rather than a DOMString, which
              does not. (But that's a crazy rule -- we should change this around long term.)
              (KJS::DOMStyleSheetList::getOwnPropertySlot): Ditto.
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNodeList::nameGetter): Ditto.
              (KJS::DOMNodeList::getOwnPropertySlot): Ditto.
              (KJS::DOMDocumentProtoFunc::callAsFunction): Ditto.
      
              - Merge khtml, DOM, and KDOM into one big namespace, WebCore.
      
              * WebCorePrefix.h: Use defined to map the old namespace names to WebCore.
              Now that this is done in the prefix, we can start actually calling it by
              that name, phase out the old names, then remove the defines.
      
              - other changes
      
              * khtml/xml/DocumentTypeImpl.cpp: Converted tabs to spaces.
              * khtml/xml/dom2_eventsimpl.cpp: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce79923b
    • darin's avatar
      Reviewed by Hyatt. · 215ed568
      darin authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6528
                remove all use of QDict from WebCore
      
              I ran performance tests and the change results in a slight improvement.
      
              * bridge/mac/MacFrame.h: Removed include of KWQDict.h. Changed didTellBridgeAboutLoad
              and haveToldBridgeAboutLoad functions to take DOMString instead of QString. Changed
              urlsBridgeKnowsAbout from a QDict to a HashMap.
              * bridge/mac/MacFrame.mm:
              (MacFrame::didTellBridgeAboutLoad): Updated to use QDict and DOMString.
              (MacFrame::haveToldBridgeAboutLoad): Ditto.
      
              * khtml/editing/jsediting.h: Removed include of qdict.h.
      
              * khtml/rendering/render_frames.cpp: Removed include of qdict.h. Put file inside the
              khtml namespace instead of just using the namespace. Changed tabs to spaces.
              (khtml::RenderPartObject::updateWidget): Changed the local variable uniqueParamNames
              to be a HashSet instead of a QDict.
      
              * khtml/xml/DocumentImpl.h: Removed include of qdict.h, changed m_elementsById, m_idCount,
              and m_elementsByAccessKey to use HashMap and HashCountedSet instead of QDict.
              * khtml/xml/DocumentImpl.cpp: Changed tabs to spaces.
              (DocumentImpl::getElementById): Updated to use HashMap for m_elementsById and HashCountedSet
              for m_idCount.
              (DocumentImpl::addElementById): Ditto. Remove code to clear m_accessKeyDictValid,
              since setDocumentChanged already takes care of that.
              (DocumentImpl::removeElementById): Ditto.
              (DocumentImpl::getElementByAccessKey): Updated to use HashMap for m_elementsByAccessKey.
              (DocumentImpl::setDocumentChanged): Rearranged to do a couple fewer branches. Clear out
              the m_elementsByAccessKey map when clearing m_accessKeyMapValid to avoid keeping stale
              pointers around.
      
              * ksvg2/svg/SVGDocumentImpl.cpp: Removed include of q3dict.h.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Removed obsolete QDict sources.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * ForwardingHeaders/q3dict.h: Removed.
              * ForwardingHeaders/qdict.h: Removed.
              * kwq/KWQDict.h: Removed.
              * kwq/KWQDictImpl.cpp: Removed.
              * kwq/KWQDictImpl.h: Removed.
      
              * WebCore+SVG/SVGNamesWrapper.cpp: Touched this file just so I could build again.
      
              * kwq/KWQKURL.h: Removed unused canonicalURL, _path, _user, _pass, and _host functions.
              * kwq/KWQKURL.mm: Changed tabs to spaces, removed unused functions, replaced NULL with 0.
      
              * kwq/KWQLoader.mm: Changed tabs to spaces.
              (KWQServeRequest): Removed QString conversion from call to didTellBridgeAboutLoad.
              (KWQServeSynchronousRequest): Ditto.
              (KWQCheckCacheObjectStatus): Ditto. Same for haveToldBridgeAboutLoad.
      
              * loader/Cache.h: Removed include of qdict.h. Changed declaration of the LRUList struct
              to just be a forward declaration. Changed tabs to spaces. Removed the static data member
              called "cache". Added a static member function called get. Renamed removeCacheEntry to remove.
              * loader/Cache.cpp: Put file inside the khtml namespace instead of just using the
              namespace. Changed tabs to spaces. Changed the main cache itself to a HashMap and
              made it a static variable local to this file instead of a static data member of Cache
              to hide its type from the header. Also made the LRUList type private to this file.
              (khtml::Cache::init): Create a HashMap instead of a QDict.
              (khtml::Cache::clear): To replace the use of setAutoDelete, write a loop to delete all the
              items in the cache map.
              (khtml::Cache::requestImage): Change code to use HashMap functions instead of QDict.
              (khtml::Cache::requestStyleSheet): Ditto.
              (khtml::Cache::preloadStyleSheet): Ditto.
              (khtml::Cache::requestScript): Ditto.
              (khtml::Cache::preloadScript): Ditto.
              (khtml::Cache::requestXSLStyleSheet): Ditto.
              (khtml::Cache::requestXBLDocument): Ditto.
              (khtml::Cache::removeCacheEntry): Ditto.
              (khtml::Cache::FastLog2): Fixed this for 64-bit compiles.
              (khtml::Cache::getStatistics): Ditto.
              (khtml::Cache::flushAll): Ditto.
              (khtml::Cache::get): Added. Function used by the loader.
      
              * loader/CachedObject.h: Removed include of qdict.h.
      
              * loader/DocLoader.h: Removed include of qdict.h.
              * loader/DocLoader.cpp: (khtml::DocLoader::needReload): Changed to use new get function of
              Cache instead of getting at the map directly. Also changed call to removeCacheEntry
              to remove because it was renamed.
      
              * loader/CachedImage.cpp: (khtml::CachedImage::data): Changed call to removeCacheEntry
              to remove because it was renamed.
              * loader/CachedImageCallback.cpp: (khtml::CachedImageCallback::handleError): Ditto.
              * loader/loader.cpp:
              (khtml::Loader::slotFinished): Ditto.
              (khtml::Loader::cancelRequests): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      215ed568
  6. 14 Jan, 2006 3 commits
    • andersca's avatar
      2006-01-14 Anders Carlsson <andersca@mac.com> · e7967805
      andersca authored
              Reviewed by Dave.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=6544
              Remove unused headers.
      
              * ForwardingHeaders/kglobalsettings.h: Removed.
              * ForwardingHeaders/kimageio.h: Removed.
              * ForwardingHeaders/qasyncio.h: Removed.
              * ForwardingHeaders/qstylesheet.h: Removed.
              * kwq/KWQAsyncIO.h: Removed.
              * kwq/KWQKGlobalSettings.h: Removed.
              * kwq/KWQKImageIO.h: Removed.
              * kwq/KWQStyleSheet.h: Removed.
              
              * WebCore.xcodeproj/project.pbxproj:
              * khtml/ecma/kjs_window.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/xml/DocumentImpl.cpp:
              (DocumentImpl::recalcStyle):        
              * loader/CachedImageCallback.cpp:
              * loader/CachedObject.cpp:
              * page/Frame.cpp:
              * page/FrameView.cpp:
              (KHTMLView::KHTMLView):
              Remove header inclusions
              
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7967805
    • hyatt's avatar
      Shift the loader-related files out of the khtml/misc directory and... · 193046b1
      hyatt authored
              Shift the loader-related files out of the khtml/misc directory and into a new loader directory.
              Remove the use of paths when including files from misc.
      
              * WebCore+SVG/KDOMHeaders.h:
              * WebCore.xcodeproj/project.pbxproj:
              * kcanvas/KCanvasPath.h:
              * khtml/css/css_base.h:
              * khtml/css/css_ruleimpl.cpp:
              * khtml/css/css_ruleimpl.h:
              * khtml/css/css_stylesheetimpl.cpp:
              * khtml/css/css_valueimpl.h:
              * khtml/css/csshelper.cpp:
              * khtml/css/cssparser.cpp:
              * khtml/css/cssstyleselector.cpp:
              * khtml/dom/dom2_events.h:
              * khtml/dom/dom2_traversal.h:
              * khtml/ecma/kjs_dom.h:
              * khtml/ecma/kjs_html.h:
              * khtml/ecma/kjs_window.cpp:
              * khtml/editing/SelectionController.h:
              * khtml/editing/edit_command.h:
              * khtml/editing/visible_position.h:
              * khtml/editing/visible_units.cpp:
              * khtml/html/HTMLOptionsCollectionImpl.h:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_baseimpl.h:
              * khtml/html/html_canvasimpl.h:
              * khtml/html/html_documentimpl.h:
              * khtml/html/html_headimpl.cpp:
              * khtml/html/html_headimpl.h:
              * khtml/html/html_imageimpl.h:
              * khtml/html/html_miscimpl.h:
              * khtml/html/htmltokenizer.h:
              * khtml/misc/Cache.cpp: Removed.
              * khtml/misc/Cache.h: Removed.
              * khtml/misc/CachedCSSStyleSheet.cpp: Removed.
              * khtml/misc/CachedCSSStyleSheet.h: Removed.
              * khtml/misc/CachedImage.cpp: Removed.
              * khtml/misc/CachedImage.h: Removed.
              * khtml/misc/CachedImageCallback.cpp: Removed.
              * khtml/misc/CachedImageCallback.h: Removed.
              * khtml/misc/CachedObject.cpp: Removed.
              * khtml/misc/CachedObject.h: Removed.
              * khtml/misc/CachedObjectClientWalker.cpp: Removed.
              * khtml/misc/CachedObjectClientWalker.h: Removed.
              * khtml/misc/CachedScript.cpp: Removed.
              * khtml/misc/CachedScript.h: Removed.
              * khtml/misc/CachedXBLDocument.cpp: Removed.
              * khtml/misc/CachedXBLDocument.h: Removed.
              * khtml/misc/CachedXSLStyleSheet.cpp: Removed.
              * khtml/misc/CachedXSLStyleSheet.h: Removed.
              * khtml/misc/DocLoader.cpp: Removed.
              * khtml/misc/DocLoader.h: Removed.
              * khtml/misc/Request.cpp: Removed.
              * khtml/misc/Request.h: Removed.
              * khtml/misc/loader.cpp: Removed.
              * khtml/misc/loader.h: Removed.
              * khtml/misc/loader_client.h: Removed.
              * khtml/rendering/render_box.h:
              * khtml/rendering/render_canvasimage.cpp:
              * khtml/rendering/render_form.cpp:
              * khtml/rendering/render_image.cpp:
              * khtml/rendering/render_line.h:
              * khtml/rendering/render_list.cpp:
              * khtml/rendering/render_object.h:
              * khtml/rendering/render_style.h:
              * khtml/rendering/render_table.h:
              * khtml/rendering/table_layout.h:
              * khtml/xbl/xbl_binding.cpp:
              * khtml/xbl/xbl_binding.h:
              * khtml/xml/DOMImplementationImpl.h:
              * khtml/xml/DocumentImpl.cpp:
              * khtml/xml/DocumentImpl.h:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.h:
              * khtml/xml/dom2_viewsimpl.h:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_stringimpl.h:
              * khtml/xml/dom_xmlimpl.h:
              * khtml/xml/xml_tokenizer.h:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * khtml/xsl/xslt_processorimpl.h:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQMapImpl.cpp:
              * kwq/KWQRegExp.cpp:
              * kwq/KWQValueListImpl.cpp:
              * kwq/KWQVariant.cpp:
              * loader: Added.
              * loader/Cache.cpp: Added.
              * loader/Cache.h: Added.
              * loader/CachedCSSStyleSheet.cpp: Added.
              * loader/CachedCSSStyleSheet.h: Added.
              * loader/CachedImage.cpp: Added.
              * loader/CachedImage.h: Added.
              * loader/CachedImageCallback.cpp: Added.
              * loader/CachedImageCallback.h: Added.
              * loader/CachedObject.cpp: Added.
              * loader/CachedObject.h: Added.
              * loader/CachedObjectClientWalker.cpp: Added.
              * loader/CachedObjectClientWalker.h: Added.
              * loader/CachedScript.cpp: Added.
              * loader/CachedScript.h: Added.
              * loader/CachedXBLDocument.cpp: Added.
              * loader/CachedXBLDocument.h: Added.
              * loader/CachedXSLStyleSheet.cpp: Added.
              * loader/CachedXSLStyleSheet.h: Added.
              * loader/DocLoader.cpp: Added.
              * loader/DocLoader.h: Added.
              * loader/Request.cpp: Added.
              * loader/Request.h: Added.
              * loader/loader.cpp: Added.
              * loader/loader.h: Added.
              * loader/loader_client.h: Added.
              * page/Frame.cpp:
              * page/FramePrivate.h:
              * page/FrameView.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      193046b1
    • eseidel's avatar
      2006-01-14 Eric Seidel <eseidel@apple.com> · e03393aa
      eseidel authored
              Reviewed by NOBODY (OOPS!).
      
              break classes in dom_nodeimpl.* into separate files (one per class)
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6543
      
              * ForwardingHeaders/kdom/core/NodeImpl.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/MacFrame.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              * khtml/css/css_base.h:
              * khtml/css/css_stylesheetimpl.cpp:
              * khtml/css/css_valueimpl.cpp:
              * khtml/css/css_valueimpl.h:
              * khtml/ecma/kjs_binding.cpp:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_dom.h:
              * khtml/ecma/kjs_events.cpp:
              * khtml/ecma/kjs_html.cpp:
              * khtml/ecma/kjs_traversal.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/append_node_command.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/htmlediting.h:
              * khtml/editing/insert_node_before_command.cpp:
              * khtml/editing/remove_node_attribute_command.h:
              * khtml/editing/remove_node_command.cpp:
              * khtml/editing/remove_node_preserving_children_command.cpp:
              * khtml/editing/set_node_attribute_command.h:
              * khtml/editing/visible_position.cpp:
              * khtml/editing/visible_text.cpp:
              * khtml/html/HTMLOptionElementImpl.cpp:
              * khtml/html/html_headimpl.cpp:
              * khtml/html/htmlparser.cpp:
              * khtml/khtml_events.cpp:
              * khtml/rendering/render_block.cpp:
              * khtml/rendering/render_box.cpp:
              * khtml/rendering/render_flow.cpp:
              * khtml/rendering/render_frames.h:
              * khtml/rendering/render_line.cpp:
              * khtml/rendering/render_object.h:
              * khtml/xml/ChildNodeListImpl.cpp: Added.
              * khtml/xml/ChildNodeListImpl.h: Added.
              * khtml/xml/ContainerNodeImpl.cpp: Added.
              (DOM::ContainerNodeImpl::removeAllChildren):
              (DOM::ContainerNodeImpl::checkSameDocument):
              (DOM::ContainerNodeImpl::getRect):
              (DOM::ContainerNodeImpl::dispatchChildRemovalEvents):
              * khtml/xml/ContainerNodeImpl.h: Added.
              * khtml/xml/DocumentFragmentImpl.cpp:
              * khtml/xml/DocumentFragmentImpl.h:
              * khtml/xml/DocumentImpl.cpp:
              * khtml/xml/DocumentImpl.h:
              (DOM::DocumentImpl::setTextColor):
              * khtml/xml/DocumentTypeImpl.cpp:
              * khtml/xml/DocumentTypeImpl.h:
              * khtml/xml/NameNodeListImpl.cpp: Added.
              * khtml/xml/NameNodeListImpl.h: Added.
              * khtml/xml/NamedNodeMapImpl.h: Added.
              (DOM::NamedNodeMapImpl::NamedNodeMapImpl):
              (DOM::NamedNodeMapImpl::~NamedNodeMapImpl):
              * khtml/xml/NodeImpl.cpp: Added.
              (DOM::TagNodeListImpl::TagNodeListImpl):
              (DOM::TagNodeListImpl::length):
              (DOM::TagNodeListImpl::item):
              (DOM::TagNodeListImpl::nodeMatches):
              (DOM::NodeImpl::getRect):
              * khtml/xml/NodeImpl.h: Added.
              * khtml/xml/NodeListImpl.cpp: Added.
              * khtml/xml/NodeListImpl.h: Added.
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.cpp: Removed.
              * khtml/xml/dom_nodeimpl.h: Removed.
              * khtml/xml/dom_position.cpp:
              * khtml/xml/dom_textimpl.h:
              * khtml/xml/dom_xmlimpl.cpp:
              * khtml/xml/dom_xmlimpl.h:
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * khtml/xsl/xslt_processorimpl.h:
              * ksvg2/svg/SVGURIReferenceImpl.cpp:
              * kwq/DOM.mm:
              * kwq/DOMHTML.mm:
              * kwq/DOMUtility.mm:
              * kwq/KWQClipboard.h:
              * page/FrameView.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e03393aa
  7. 12 Jan, 2006 2 commits
    • hyatt's avatar
      Get the HTML directory compiling on win32. · f3c7b622
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3c7b622
    • eseidel's avatar
      2006-01-12 Eric Seidel <eseidel@apple.com> · fec1cc82
      eseidel authored
              Reviewed by anders & mjs.
      
              Split dom_docimpl.* out into separate files (one per class):
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6502
      
              * ForwardingHeaders/kdom/core/DOMImplementationImpl.h: Removed.
              * ForwardingHeaders/kdom/core/DocumentImpl.h: Removed.
              * ForwardingHeaders/kdom/core/DocumentTypeImpl.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/WebCoreBridge.mm:
              * kcanvas/KCanvasResources.cpp:
              * kcanvas/RenderSVGText.h:
              * khtml/css/css_base.cpp:
              * khtml/css/css_computedstyle.cpp:
              * khtml/css/css_ruleimpl.cpp:
              * khtml/css/css_valueimpl.cpp:
              * khtml/css/cssparser.cpp:
              * khtml/css/parser.y:
              * khtml/ecma/XSLTProcessor.cpp:
              * khtml/ecma/domparser.cpp:
              * khtml/ecma/kjs_css.cpp:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_events.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/apply_style_command.cpp:
              * khtml/editing/composite_edit_command.cpp:
              * khtml/editing/delete_selection_command.cpp:
              * khtml/editing/edit_command.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/insert_line_break_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/markup.h:
              * khtml/editing/merge_identical_elements_command.cpp:
              * khtml/editing/move_selection_command.cpp:
              * khtml/editing/rebalance_whitespace_command.cpp:
              * khtml/editing/replace_selection_command.cpp:
              * khtml/editing/split_text_node_command.cpp:
              * khtml/editing/typing_command.cpp:
              * khtml/editing/visible_position.cpp:
              * khtml/editing/visible_text.cpp:
              * khtml/editing/visible_units.cpp:
              * khtml/html/HTMLGenericFormElementImpl.cpp:
              * khtml/html/HTMLInputElementImpl.cpp:
              * khtml/html/HTMLKeygenElementImpl.cpp:
              * khtml/html/HTMLLabelElementImpl.cpp:
              * khtml/html/HTMLOptionElementImpl.cpp:
              * khtml/html/HTMLSelectElementImpl.cpp:
              * khtml/html/HTMLTextAreaElementImpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_documentimpl.h:
              * khtml/html/html_listimpl.cpp:
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/htmlfactory.cpp:
              * khtml/html/htmlparser.cpp:
              * khtml/html/htmltokenizer.cpp:
              * khtml/misc/Cache.cpp:
              * khtml/misc/DocLoader.cpp:
              * khtml/rendering/InlineTextBox.cpp:
              * khtml/rendering/bidi.cpp:
              * khtml/rendering/render_applet.cpp:
              * khtml/rendering/render_block.cpp:
              * khtml/rendering/render_box.cpp:
              * khtml/rendering/render_br.cpp:
              * khtml/rendering/render_button.cpp:
              * khtml/rendering/render_canvas.cpp:
              * khtml/rendering/render_container.cpp:
              * khtml/rendering/render_flow.cpp:
              * khtml/rendering/render_form.cpp:
              * khtml/rendering/render_frames.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_table.cpp:
              * khtml/rendering/render_theme.cpp:
              * khtml/rendering/render_theme_mac.mm:
              * khtml/xml/DOMImplementationImpl.cpp: Added.
              * khtml/xml/DOMImplementationImpl.h: Added.
              * khtml/xml/DocumentFragmentImpl.cpp: Added.
              * khtml/xml/DocumentFragmentImpl.h: Added.
              * khtml/xml/DocumentImpl.cpp: Added.
              (DocumentImpl::setDocType):
              (DocumentImpl::getElementsByName):
              * khtml/xml/DocumentImpl.h: Added.
              * khtml/xml/DocumentTypeImpl.cpp: Added.
              * khtml/xml/DocumentTypeImpl.h: Added.
              * khtml/xml/dom2_eventsimpl.cpp:
              * khtml/xml/dom2_rangeimpl.cpp:
              * khtml/xml/dom2_traversalimpl.cpp:
              * khtml/xml/dom2_viewsimpl.cpp:
              * khtml/xml/dom_docimpl.cpp: Removed.
              * khtml/xml/dom_docimpl.h: Removed.
              * khtml/xml/dom_elementimpl.cpp:
              * khtml/xml/dom_nodeimpl.cpp:
              * khtml/xml/dom_textimpl.cpp:
              * khtml/xml/dom_xmlimpl.cpp:
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xsl/xslt_processorimpl.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/misc/KSVGTimeScheduler.cpp:
              * ksvg2/misc/SVGImageLoader.cpp:
              * ksvg2/svg/SVGAElementImpl.cpp:
              * ksvg2/svg/SVGAnimationElementImpl.cpp:
              * ksvg2/svg/SVGClipPathElementImpl.cpp:
              * ksvg2/svg/SVGCursorElementImpl.cpp:
              * ksvg2/svg/SVGDOMImplementationImpl.cpp:
              * ksvg2/svg/SVGDOMImplementationImpl.h:
              * ksvg2/svg/SVGDocumentImpl.h:
              * ksvg2/svg/SVGElementImpl.cpp:
              * ksvg2/svg/SVGFEImageElementImpl.cpp:
              * ksvg2/svg/SVGGradientElementImpl.cpp:
              * ksvg2/svg/SVGHelper.cpp:
              * ksvg2/svg/SVGPatternElementImpl.cpp:
              * ksvg2/svg/SVGPolyElementImpl.cpp:
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              * ksvg2/svg/SVGStopElementImpl.cpp:
              * ksvg2/svg/SVGStyleElementImpl.cpp:
              * ksvg2/svg/SVGStyledElementImpl.cpp:
              * ksvg2/svg/SVGUseElementImpl.cpp:
              * kwq/DOM-CSS.mm:
              * kwq/DOM.mm:
              * kwq/DOMEvents.mm:
              * kwq/DOMHTML.mm:
              * kwq/DOMInternal.mm:
              * kwq/DOMViews.mm:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQKJavaAppletWidget.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQRenderTreeDebug.cpp:
              * kwq/KWQSlot.mm:
              * page/Frame.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fec1cc82
  8. 11 Jan, 2006 4 commits
    • justing's avatar
      Reviewed by kevin · 30558362
      justing authored
              The removal of Frame::clearSelection() broke a layout 
              test. clearSelection did setSelection(SelectionController()), which
              is not the same as selection().clear().  setSelection() notifies
              the editing delegate of a selection change.  This is non obvious
              and should be fixed.  Filed:
              <http://bugzilla.opendarwin.org/show_bug.cgi?id=6498>
              SelectionController's setters should notify delegates of selection changes
      
              * bridge/mac/WebCoreBridge.mm:
              (-[WebCoreBridge deselectText]):
              * khtml/editing/jsediting.cpp:
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::clearSelectionIfNeeded):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30558362
    • mjs's avatar
      Reviewed by Darin. · 0344a6c7
      mjs authored
              - remove some selection-related methods on Frame that are just simple wrappers
              of Selection methods.
      
              * bridge/mac/MacFrame.mm:
              (MacFrame::findString):
              (MacFrame::advanceToNextMisspelling):
              * bridge/mac/WebCoreBridge.mm:
              (-[WebCoreBridge deselectText]):
              (-[WebCoreBridge selectedAttributedString]):
              (-[WebCoreBridge attributedStringFrom:startOffset:to:endOffset:]):
              * khtml/editing/jsediting.cpp:
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::clearSelectionIfNeeded):
              * page/Frame.cpp:
              (Frame::selection):
              (Frame::currentForm):
              (Frame::revealSelection):
              (Frame::centerSelectionInVisibleArea):
              * page/Frame.h:
              * page/FrameView.cpp:
              (KHTMLView::clear):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0344a6c7
    • mjs's avatar
      Reviewed by Darin. · ece458a5
      mjs authored
              - reduce the number of files that rebuild when you touch Frame.h
      
              * ForwardingHeaders/ksvg2/KSVGView.h:
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/MacFrame.mm:
              (convertAttributesToUnderlines):
              * khtml/ecma/kjs_window.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/typing_command.cpp:
              * khtml/html/HTMLKeygenElementImpl.cpp:
              (DOM::HTMLKeygenElementImpl::appendFormData):
              * khtml/html/html_imageimpl.cpp:
              * khtml/rendering/InlineTextBox.cpp:
              (khtml::InlineTextBox::paint):
              (khtml::InlineTextBox::paintMarkedTextUnderline):
              * khtml/rendering/InlineTextBox.h:
              * khtml/rendering/render_layer.cpp:
              * khtml/xml/dom_docimpl.cpp:
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject value]):
              * kwq/KWQFileButton.h:
              * kwq/KWQLineEdit.mm:
              * kwq/KWQRenderTreeDebug.cpp:
              (write):
              * page/Frame.cpp:
              (Frame::markedTextUnderlines):
              * page/Frame.h:
              (MarkedTextUnderline::MarkedTextUnderline):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ece458a5
    • mjs's avatar
      Reviewed by Anders. · d4145d12
      mjs authored
              - renamed KHTMLPartPrivate to FramePrivate and KHTMLView to FrameView
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6490
      
              (also corresponding header renames, remove headers where not
              needed, and a few substantive changes to allow more header removal)
      
              * khtml/xml/dom_docimpl.h: moved m_selectedStylesheetSet here from
              KHTMLPartPrivate, since this was the only class using it.
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::processHttpEquiv): ditto
              (DocumentImpl::selectedStylesheetSet): ditto
              (DocumentImpl::setSelectedStylesheetSet): ditto
              (DocumentImpl::recalcStyleSelector): ditto
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMDocument::getValueProperty): Use new isCompleted method
              on Frame instead of accessing private field directly.
              (KJS::getDOMDocumentNode): remove gratuitous use of view()
              
              Just the renames:
              
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/KWQKHTMLView.cpp:
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              * bridge/mac/WebCoreBridge.mm:
              * khtml/css/cssstyleselector.cpp:
              * khtml/ecma/kjs_html.cpp:
              * khtml/ecma/kjs_traversal.cpp:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/xmlhttprequest.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_elementimpl.cpp:
              * khtml/html/html_headimpl.cpp:
              * khtml/html/html_imageimpl.cpp:
              * khtml/html/html_inlineimpl.cpp:
              (DOM::HTMLAnchorElementImpl::defaultEventHandler):
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/html_tableimpl.cpp:
              * khtml/html/htmlparser.cpp:
              * khtml/html/htmltokenizer.cpp:
              * khtml/rendering/bidi.cpp:
              * khtml/rendering/render_applet.cpp:
              * khtml/rendering/render_block.cpp:
              * khtml/rendering/render_box.cpp:
              * khtml/rendering/render_canvas.cpp:
              * khtml/rendering/render_flow.cpp:
              * khtml/rendering/render_form.cpp:
              * khtml/rendering/render_frames.cpp:
              * khtml/rendering/render_layer.cpp:
              * khtml/rendering/render_line.cpp:
              * khtml/rendering/render_object.cpp:
              * khtml/rendering/render_replaced.cpp:
              * khtml/rendering/render_table.cpp:
              * khtml/rendering/render_theme_mac.mm:
              * khtml/xml/dom2_eventsimpl.cpp:
              * khtml/xml/dom_elementimpl.cpp:
              * khtml/xml/dom_nodeimpl.cpp:
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xsl/xslt_processorimpl.cpp:
              * kwq/KWQAccObject.mm:
              * kwq/KWQFrame.mm:
              * kwq/KWQKJavaAppletWidget.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQRenderTreeDebug.cpp:
              * kwq/KWQSignalStubs.mm:
              * kwq/KWQWidget.mm:
              * page/Frame.cpp:
              (Frame::init):
              (Frame::submitForm):
              (Frame::isComplete):
              * page/Frame.h:
              * page/FramePrivate.h: Added.
              (FramePrivate::FramePrivate):
              (FramePrivate::~FramePrivate):
              * page/FrameView.cpp: Added.
              * page/FrameView.h: Added.
              * page/khtmlpart_p.h: Removed.
              * page/khtmlview.cpp: Removed.
              * page/khtmlview.h: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4145d12
  9. 10 Jan, 2006 1 commit
    • eseidel's avatar
      2006-01-10 Eric Seidel <eseidel@apple.com> · e0bd2170
      eseidel authored
              Rubber-stamped by mjs.
      
              Split html_formimpl.{cpp,h} into multiple files (one per class)
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6461
      
              * WebCore.xcodeproj/project.pbxproj: added files
              * khtml/ecma/kjs_html.cpp: updated includes
              * khtml/html/FormDataList.h: Added.
              * khtml/html/FormDataList.cpp: Added.
              * khtml/html/HTMLButtonElementImpl.cpp: Added.
              * khtml/html/HTMLButtonElementImpl.h: Added.
              * khtml/html/HTMLFieldSetElementImpl.cpp: Added.
              * khtml/html/HTMLFieldSetElementImpl.h: Added.
              * khtml/html/HTMLFormElementImpl.cpp: Added.
              * khtml/html/HTMLFormElementImpl.h: Added.
              * khtml/html/HTMLGenericFormElementImpl.cpp: Added.
              * khtml/html/HTMLGenericFormElementImpl.h: Added.
              * khtml/html/HTMLInputElementImpl.cpp: Added.
              * khtml/html/HTMLInputElementImpl.h: Added.
              * khtml/html/HTMLIsIndexElementImpl.cpp: Added.
              * khtml/html/HTMLIsIndexElementImpl.h: Added.
              * khtml/html/HTMLKeygenElementImpl.cpp: Added.
              * khtml/html/HTMLKeygenElementImpl.h: Added.
              * khtml/html/HTMLLabelElementImpl.cpp: Added.
              * khtml/html/HTMLLabelElementImpl.h: Added.
              * khtml/html/HTMLLegendElementImpl.cpp: Added.
              * khtml/html/HTMLLegendElementImpl.h: Added.
              * khtml/html/HTMLOptGroupElementImpl.cpp: Added.
              * khtml/html/HTMLOptGroupElementImpl.h: Added.
              * khtml/html/HTMLOptionElementImpl.cpp: Added.
              * khtml/html/HTMLOptionElementImpl.h: Added.
              * khtml/html/HTMLOptionsCollectionImpl.h: Added.
              * khtml/html/HTMLSelectElementImpl.cpp: Added.
              * khtml/html/HTMLSelectElementImpl.h: Added.
              * khtml/html/HTMLTextAreaElementImpl.cpp: Added.
              * khtml/html/HTMLTextAreaElementImpl.h: Added.
              * khtml/html/html_documentimpl.cpp: updated includes
              * khtml/html/html_imageimpl.cpp: updated includes
              * khtml/html/html_miscimpl.cpp: updated includes
              * khtml/html/html_objectimpl.cpp: updated includes
              * khtml/html/htmlfactory.cpp: updated includes
              * khtml/html/htmlparser.cpp: updated includes
              * khtml/khtmlview.cpp: updated includes
              * khtml/rendering/render_block.cpp: updated includes
              * khtml/rendering/render_button.cpp: updated includes
              * khtml/rendering/render_canvasimage.cpp: updated includes
              * khtml/rendering/render_flow.cpp: updated includes
              * khtml/rendering/render_form.cpp: updated includes
              * khtml/rendering/render_form.h: updated includes
              * khtml/rendering/render_image.cpp: updated includes
              * khtml/rendering/render_line.cpp: updated includes
              * khtml/rendering/render_theme.cpp: updated includes
              * khtml/xml/dom_docimpl.cpp: updated includes
              * kwq/DOMHTML.mm: updated includes
              * kwq/KWQAccObject.mm: updated includes
              * kwq/MacFrame.mm: updated includes
              * kwq/WebCoreBridge.mm: updated includes
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0bd2170
  10. 09 Jan, 2006 3 commits
    • andersca's avatar
      2006-01-10 Anders Carlsson <andersca@mac.com> · f5dcb08b
      andersca authored
              Reviewed by Maciej.
      
              - renamed ChildFrame::m_frame to m_renderer and
              ChildFrame::m_part to m_frame which makes more sense.
              
              This also fixes some bugs which were introduced in Maciej's
              previous commit.
              
              * khtml/Frame.cpp:
              (Frame::stopLoading):
              (Frame::clear):
              (Frame::stopAnimations):
              (Frame::checkEmitLoadEvent):
              (Frame::requestFrame):
              (Frame::requestObject):
              (Frame::processObjectRequest):
              (Frame::childFrame):
              (Frame::findFrame):
              (Frame::frameExists):
              (Frame::setZoomFactor):
              (Frame::frames):
              (Frame::childFrameNamed):
              (Frame::connectChild):
              (Frame::disconnectChild):
              (Frame::handleFallbackContent):
              * khtml/khtmlpart_p.h:
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::ownerElement):
              * kwq/MacFrame.mm:
              (Frame::frameDetached):
              (MacFrame::createPart):
              (MacFrame::nextKeyViewInFrameHierarchy):
              (MacFrame::setPolicyBaseURL):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5dcb08b
    • mjs's avatar
      Reviewed by Darin. · 810e9764
      mjs authored
              - renamed KHTMLPart to Frame (and KWQKHTMLPart to MacFrame for now)
      
              * ForwardingHeaders/ksvg2/KSVGPart.h:
              * WebCore.xcodeproj/project.pbxproj:
              * khtml/Frame.cpp: Added.
              (khtml::PartStyleSheetLoader::PartStyleSheetLoader):
              (khtml::PartStyleSheetLoader::setStyleSheet):
              (Frame::Frame):
              (Frame::init):
              (Frame::~Frame):
              (Frame::restoreURL):
              (Frame::didOpenURL):
              (Frame::didExplicitOpen):
              (Frame::stopLoading):
              (Frame::closeURL):
              (Frame::browserExtension):
              (Frame::view):
              (Frame::setJScriptEnabled):
              (Frame::jScriptEnabled):
              (Frame::setMetaRefreshEnabled):
              (Frame::metaRefreshEnabled):
              (Frame::jScript):
              (Frame::replaceContentsWithScriptResult):
              (Frame::executeScript):
              (Frame::scheduleScript):
              (Frame::executeScheduledScript):
              (Frame::setJavaEnabled):
              (Frame::javaEnabled):
              (Frame::setPluginsEnabled):
              (Frame::pluginsEnabled):
              (Frame::slotDebugDOMTree):
              (Frame::slotDebugRenderTree):
              (Frame::setAutoloadImages):
              (Frame::autoloadImages):
              (Frame::clear):
              (Frame::openFile):
              (Frame::xmlDocImpl):
              (Frame::replaceDocImpl):
              (Frame::receivedFirstData):
              (Frame::slotFinished):
              (Frame::childBegin):
              (Frame::begin):
              (Frame::write):
              (Frame::end):
              (Frame::endIfNotLoading):
              (Frame::stop):
              (Frame::stopAnimations):
              (Frame::gotoAnchor):
              (Frame::slotFinishedParsing):
              (Frame::slotLoaderRequestStarted):
              (Frame::slotLoaderRequestDone):
              (Frame::checkCompleted):
              (Frame::checkEmitLoadEvent):
              (Frame::settings):
              (Frame::baseURL):
              (Frame::baseTarget):
              (Frame::completeURL):
              (Frame::scheduleRedirection):
              (Frame::scheduleLocationChange):
              (Frame::isScheduledLocationChangePending):
              (Frame::scheduleHistoryNavigation):
              (Frame::cancelRedirection):
              (Frame::changeLocation):
              (Frame::slotRedirect):
              (Frame::slotRedirection):
              (Frame::encoding):
              (Frame::setUserStyleSheet):
              (Frame::setStandardFont):
              (Frame::setFixedFont):
              (Frame::urlCursor):
              (Frame::onlyLocalReferences):
              (Frame::setOnlyLocalReferences):
              (Frame::selectedText):
              (Frame::hasSelection):
              (Frame::selection):
              (Frame::selectionGranularity):
              (Frame::setSelectionGranularity):
              (Frame::dragCaret):
              (Frame::mark):
              (Frame::setMark):
              (Frame::setSelection):
              (Frame::setDragCaret):
              (Frame::clearSelection):
              (Frame::invalidateSelection):
              (Frame::setCaretVisible):
              (Frame::clearCaretRectIfNeeded):
              (isFrameElement):
              (Frame::setFocusNodeIfNeeded):
              (Frame::selectionLayoutChanged):
              (Frame::setXPosForVerticalArrowNavigation):
              (Frame::xPosForVerticalArrowNavigation):
              (Frame::timerEvent):
              (Frame::paintCaret):
              (Frame::paintDragCaret):
              (Frame::urlSelected):
              (Frame::requestFrame):
              (Frame::requestFrameName):
              (Frame::requestObject):
              (Frame::processObjectRequest):
              (Frame::submitFormAgain):
              (Frame::submitForm):
              (Frame::slotParentCompleted):
              (Frame::slotChildStarted):
              (Frame::slotChildCompleted):
              (Frame::childFrame):
              (Frame::findFrame):
              (Frame::frameExists):
              (Frame::parentFrame):
              (Frame::zoomFactor):
              (Frame::slotIncZoom):
              (Frame::slotDecZoom):
              (Frame::setZoomFactor):
              (Frame::setJSStatusBarText):
              (Frame::setJSDefaultStatusBarText):
              (Frame::jsStatusBarText):
              (Frame::jsDefaultStatusBarText):
              (Frame::referrer):
              (Frame::lastModified):
              (Frame::reparseConfiguration):
              (Frame::frameNames):
              (Frame::frames):
              (Frame::childFrameNamed):
              (Frame::setDNDEnabled):
              (Frame::dndEnabled):
              (Frame::shouldDragAutoNode):
              (Frame::customEvent):
              (Frame::isPointInsideSelection):
              (Frame::selectClosestWordFromMouseEvent):
              (Frame::handleMousePressEventDoubleClick):
              (Frame::handleMousePressEventTripleClick):
              (Frame::handleMousePressEventSingleClick):
              (Frame::khtmlMousePressEvent):
              (Frame::khtmlMouseDoubleClickEvent):
              (Frame::handleMouseMoveEventSelection):
              (Frame::khtmlMouseMoveEvent):
              (Frame::khtmlMouseReleaseEvent):
              (Frame::khtmlDrawContentsEvent):
              (Frame::startAutoScroll):
              (Frame::stopAutoScroll):
              (Frame::selectAll):
              (Frame::selectContentsOfNode):
              (Frame::shouldChangeSelection):
              (Frame::shouldBeginEditing):
              (Frame::shouldEndEditing):
              (Frame::isContentEditable):
              (Frame::lastEditCommand):
              (Frame::appliedEditing):
              (Frame::unappliedEditing):
              (Frame::reappliedEditing):
              (Frame::typingStyle):
              (Frame::setTypingStyle):
              (Frame::clearTypingStyle):
              (Frame::slotPartRemoved):
              (Frame::createHTMLEventListener):
              (Frame::opener):
              (Frame::setOpener):
              (Frame::openedByJS):
              (Frame::setOpenedByJS):
              (Frame::preloadStyleSheet):
              (Frame::preloadScript):
              (Frame::restored):
              (Frame::incrementFrameCount):
              (Frame::decrementFrameCount):
              (Frame::topLevelFrameCount):
              (Frame::tabsToLinks):
              (Frame::tabsToAllControls):
              (Frame::copyToPasteboard):
              (Frame::cutToPasteboard):
              (Frame::pasteFromPasteboard):
              (Frame::pasteAndMatchStyle):
              (Frame::transpose):
              (Frame::redo):
              (Frame::undo):
              (Frame::computeAndSetTypingStyle):
              (Frame::applyStyle):
              (Frame::applyParagraphStyle):
              (updateState):
              (Frame::selectionHasStyle):
              (Frame::selectionStartHasStyle):
              (Frame::selectionStartStylePropertyValue):
              (Frame::selectionComputedStyle):
              (Frame::applyEditingStyleToBodyElement):
              (Frame::removeEditingStyleFromBodyElement):
              (Frame::applyEditingStyleToElement):
              (Frame::removeEditingStyleFromElement):
              (Frame::isCharacterSmartReplaceExempt):
              (Frame::connectChild):
              (Frame::disconnectChild):
              (Frame::keepAlive):
              (Frame::slotEndLifeSupport):
              (Frame::selectFrameElementInParentIfFullySelected):
              (Frame::handleFallbackContent):
              * khtml/Frame.h: Added.
              * khtml/css/cssstyleselector.cpp:
              (khtml::CSSStyleSelector::CSSStyleSelector):
              (khtml::CSSStyleSelector::initForStyleResolve):
              (khtml::CSSStyleSelector::checkOneSelector):
              (khtml::CSSStyleSelector::applyProperty):
              (khtml::CSSStyleSelector::getComputedSizeFromSpecifiedSize):
              * khtml/css/cssstyleselector.h:
              * khtml/ecma/kjs_binding.cpp:
              (KJS::ScriptInterpreter::ScriptInterpreter):
              (KJS::ScriptInterpreter::~ScriptInterpreter):
              * khtml/ecma/kjs_binding.h:
              (KJS::ScriptInterpreter::frame):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMDocument::getValueProperty):
              (KJS::getDOMDocumentNode):
              (KJS::checkNodeSecurity):
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              (KJS::JSLazyEventListener::parseCode):
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::HTMLDocFunction::callAsFunction):
              (KJS::HTMLDocument::namedItemGetter):
              (KJS::HTMLDocument::getValueProperty):
              (KJS::KJS::HTMLDocument::putValueProperty):
              (KJS::HTMLElement::framesetNameGetter):
              (KJS::HTMLElement::frameWindowPropertyGetter):
              (KJS::HTMLElement::getOwnPropertySlot):
              (KJS::KJS::HTMLElement::implementsCall):
              (KJS::Image::notifyFinished):
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::Navigator::Navigator):
              (KJS::Navigator::getValueProperty):
              (KJS::NavigatorFunc::callAsFunction):
              * khtml/ecma/kjs_navigator.h:
              (KJS::Navigator::frame):
              * khtml/ecma/kjs_proxy.cpp:
              (KJSProxyImpl::KJSProxyImpl):
              (KJSProxyImpl::evaluate):
              (KJSProxyImpl::clear):
              (KJSProxyImpl::createHTMLEventHandler):
              (KJSProxyImpl::interpreter):
              (KJSProxyImpl::initScript):
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::JSNodeFilterCondition::acceptNode):
              * khtml/ecma/kjs_window.cpp:
              (KJS::History::History):
              (KJS::FrameArray::FrameArray):
              (KJS::Screen::getValueProperty):
              (KJS::Window::Window):
              (KJS::Window::interpreter):
              (KJS::Window::retrieveWindow):
              (KJS::Window::retrieve):
              (KJS::Window::location):
              (KJS::Window::selection):
              (KJS::Window::locationbar):
              (KJS::Window::menubar):
              (KJS::Window::personalbar):
              (KJS::Window::statusbar):
              (KJS::Window::toolbar):
              (KJS::Window::scrollbars):
              (KJS::allowPopUp):
              (KJS::createNewWindow):
              (KJS::canShowModalDialog):
              (KJS::canShowModalDialogNow):
              (KJS::showModalDialog):
              (KJS::Window::getValueProperty):
              (KJS::Window::childFrameGetter):
              (KJS::Window::namedFrameGetter):
              (KJS::Window::indexGetter):
              (KJS::Window::namedItemGetter):
              (KJS::Window::getOwnPropertySlot):
              (KJS::Window::put):
              (KJS::Window::toBoolean):
              (KJS::Window::scheduleClose):
              (KJS::Window::isSafeScript):
              (KJS::Window::setListener):
              (KJS::Window::getListener):
              (KJS::Window::setCurrentEvent):
              (KJS::WindowFunc::callAsFunction):
              (KJS::Window::updateLayout):
              (KJS::ScheduledAction::execute):
              (KJS::WindowQObject::WindowQObject):
              (KJS::FrameArray::getValueProperty):
              (KJS::FrameArray::indexGetter):
              (KJS::FrameArray::nameGetter):
              (KJS::FrameArray::getOwnPropertySlot):
              (KJS::Location::Location):
              (KJS::Location::getValueProperty):
              (KJS::Location::getOwnPropertySlot):
              (KJS::Location::put):
              (KJS::Location::toString):
              (KJS::LocationFunc::callAsFunction):
              (KJS::Selection::Selection):
              (KJS::Selection::getValueProperty):
              (KJS::Selection::getOwnPropertySlot):
              (KJS::Selection::toString):
              (KJS::SelectionFunc::callAsFunction):
              (KJS::BarInfo::BarInfo):
              (KJS::BarInfo::getValueProperty):
              (KJS::BarInfo::getOwnPropertySlot):
              (KJS::History::getValueProperty):
              (KJS::HistoryFunc::callAsFunction):
              * khtml/ecma/kjs_window.h:
              (KJS::Window::frame):
              (KJS::Location::frame):
              (KJS::Selection::frame):
              (KJS::BarInfo::frame):
              * khtml/ecma/xmlhttprequest.cpp:
              (KJS::XMLHttpRequest::changeState):
              (KJS::XMLHttpRequestProtoFunc::callAsFunction):
              * khtml/editing/SelectionController.cpp:
              (khtml::SelectionController::modify):
              (khtml::SelectionController::xPosForVerticalArrowNavigation):
              * khtml/editing/SelectionController.h:
              (khtml::SelectionController::frame):
              * khtml/editing/delete_selection_command.cpp:
              (khtml::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
              * khtml/editing/edit_command.cpp:
              (khtml::EditCommand::EditCommand):
              (khtml::EditCommand::apply):
              (khtml::EditCommand::unapply):
              (khtml::EditCommand::reapply):
              (khtml::EditCommand::styleAtPosition):
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/insert_line_break_command.cpp:
              (khtml::InsertLineBreakCommand::doApply):
              * khtml/editing/insert_text_command.cpp:
              (khtml::InsertTextCommand::input):
              * khtml/editing/jsediting.cpp:
              (DOM::JSEditor::execCommand):
              (DOM::JSEditor::queryCommandEnabled):
              (DOM::JSEditor::queryCommandIndeterm):
              (DOM::JSEditor::queryCommandState):
              (DOM::JSEditor::queryCommandValue):
              * khtml/editing/jsediting.h:
              * khtml/editing/replace_selection_command.cpp:
              (khtml::ReplaceSelectionCommand::doApply):
              * khtml/editing/text_granularity.h:
              * khtml/editing/typing_command.cpp:
              (khtml::TypingCommand::deleteKeyPressed):
              (khtml::TypingCommand::forwardDeleteKeyPressed):
              (khtml::TypingCommand::insertText):
              (khtml::TypingCommand::insertLineBreak):
              (khtml::TypingCommand::insertParagraphSeparatorInQuotedContent):
              (khtml::TypingCommand::insertParagraphSeparator):
              (khtml::TypingCommand::markMisspellingsAfterTyping):
              (khtml::TypingCommand::typingAddedToOpenCommand):
              (khtml::TypingCommand::insertTextRunWithoutNewlines):
              * khtml/html/html_baseimpl.cpp:
              (HTMLFrameElementImpl::isURLAllowed):
              (HTMLFrameElementImpl::openURL):
              (HTMLFrameElementImpl::attach):
              (HTMLFrameElementImpl::close):
              (HTMLFrameElementImpl::contentPart):
              (HTMLFrameElementImpl::contentDocument):
              (HTMLIFrameElementImpl::attach):
              * khtml/html/html_baseimpl.h:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              (DOM::HTMLDocumentImpl::lastModified):
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::isContentEditable):
              (HTMLElementImpl::setContentEditable):
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::formData):
              (DOM::HTMLFormElementImpl::prepareSubmit):
              (DOM::HTMLFormElementImpl::submit):
              (DOM::HTMLFormElementImpl::reset):
              (DOM::HTMLGenericFormElementImpl::isKeyboardFocusable):
              (DOM::HTMLKeygenElementImpl::appendFormData):
              * khtml/html/html_headimpl.cpp:
              (HTMLBaseElementImpl::process):
              (HTMLLinkElementImpl::process):
              (HTMLScriptElementImpl::parseMappedAttribute):
              (HTMLScriptElementImpl::insertedIntoDocument):
              (HTMLScriptElementImpl::evaluateScript):
              * khtml/html/html_imageimpl.cpp:
              * khtml/html/html_inlineimpl.cpp:
              (DOM::HTMLAnchorElementImpl::isKeyboardFocusable):
              (DOM::HTMLAnchorElementImpl::defaultEventHandler):
              * khtml/html/html_objectimpl.cpp:
              (DOM::HTMLAppletElementImpl::createRenderer):
              (DOM::HTMLAppletElementImpl::getAppletInstance):
              (DOM::HTMLEmbedElementImpl::getEmbedInstance):
              (DOM::HTMLEmbedElementImpl::rendererIsNeeded):
              (DOM::HTMLObjectElementImpl::getObjectInstance):
              (DOM::HTMLObjectElementImpl::rendererIsNeeded):
              * khtml/html/html_tableimpl.cpp:
              * khtml/html/htmlparser.cpp:
              (HTMLParser::noscriptCreateErrorCheck):
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::scriptHandler):
              (khtml::HTMLTokenizer::scriptExecution):
              (khtml::HTMLTokenizer::parseTag):
              (khtml::HTMLTokenizer::write):
              (khtml::HTMLTokenizer::stopParsing):
              (khtml::HTMLTokenizer::timerEvent):
              (khtml::HTMLTokenizer::processToken):
              * khtml/khtml_part.cpp: Removed.
              * khtml/khtml_part.h: Removed.
              * khtml/khtmlpart_p.h:
              (KHTMLPartPrivate::KHTMLPartPrivate):
              * khtml/khtmlview.cpp:
              (KHTMLView::KHTMLView):
              (KHTMLView::~KHTMLView):
              (KHTMLView::clearPart):
              (KHTMLView::clear):
              (KHTMLView::resizeEvent):
              (KHTMLView::adjustViewSize):
              (KHTMLView::layout):
              (KHTMLView::updateDashboardRegions):
              (KHTMLView::viewportMousePressEvent):
              (KHTMLView::viewportMouseDoubleClickEvent):
              (selectCursor):
              (KHTMLView::viewportMouseMoveEvent):
              (KHTMLView::viewportMouseReleaseEvent):
              (KHTMLView::keyPressEvent):
              (KHTMLView::dispatchDragEvent):
              (KHTMLView::updateDragAndDrop):
              (KHTMLView::focusNextPrevNode):
              (KHTMLView::mediaType):
              (KHTMLView::dispatchMouseEvent):
              (KHTMLView::viewportWheelEvent):
              (KHTMLView::focusInEvent):
              (KHTMLView::focusOutEvent):
              (KHTMLView::timerEvent):
              (KHTMLView::scheduleRelayout):
              (KHTMLView::unscheduleRelayout):
              * khtml/khtmlview.h:
              (KHTMLView::frame):
              * khtml/misc/CachedImageCallback.cpp:
              (khtml::CachedImageCallback::notifyUpdate):
              (khtml::CachedImageCallback::notifyFinished):
              (khtml::CachedImageCallback::clear):
              * khtml/misc/CachedObject.h:
              * khtml/misc/DocLoader.cpp:
              (khtml::DocLoader::DocLoader):
              (khtml::DocLoader::requestImage):
              (khtml::DocLoader::requestStyleSheet):
              (khtml::DocLoader::requestScript):
              (khtml::DocLoader::requestXSLStyleSheet):
              (khtml::DocLoader::requestXBLDocument):
              * khtml/misc/DocLoader.h:
              (khtml::DocLoader::frame):
              * khtml/misc/loader.cpp:
              (khtml::Loader::slotReceivedResponse):
              * khtml/rendering/InlineTextBox.cpp:
              (khtml::InlineTextBox::paint):
              (khtml::InlineTextBox::paintMarkedTextUnderline):
              * khtml/rendering/InlineTextBox.h:
              * khtml/rendering/render_applet.cpp:
              (RenderApplet::createWidgetIfNecessary):
              * khtml/rendering/render_block.cpp:
              (khtml::RenderBlock::paintCaret):
              * khtml/rendering/render_canvas.cpp:
              * khtml/rendering/render_form.cpp:
              (RenderFileButton::RenderFileButton):
              * khtml/rendering/render_frames.cpp:
              (isURLAllowed):
              (RenderPartObject::updateWidget):
              * khtml/rendering/render_layer.cpp:
              * khtml/rendering/render_object.cpp:
              (RenderObject::draggableNode):
              * khtml/rendering/render_replaced.cpp:
              (RenderWidget::eventFilter):
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::DocumentImpl):
              (DocumentImpl::updateTitle):
              (DocumentImpl::frame):
              (DocumentImpl::recalcStyle):
              (DocumentImpl::updateSelection):
              (DocumentImpl::open):
              (DocumentImpl::close):
              (DocumentImpl::implicitClose):
              (DocumentImpl::processHttpEquiv):
              (DocumentImpl::selectedStylesheetSet):
              (DocumentImpl::setSelectedStylesheetSet):
              (DocumentImpl::recalcStyleSelector):
              (DocumentImpl::relinquishesEditingFocus):
              (DocumentImpl::acceptsEditingFocus):
              (DocumentImpl::clearSelectionIfNeeded):
              (DocumentImpl::createHTMLEventListener):
              (DocumentImpl::ownerElement):
              (DocumentImpl::referrer):
              (DocumentImpl::parentDocument):
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::focus):
              * khtml/xml/dom_nodeimpl.cpp:
              (DOM::NodeImpl::dispatchEvent):
              * khtml/xml/dom_xmlimpl.cpp:
              (DOM::ProcessingInstructionImpl::checkStyleSheet):
              * khtml/xml/xml_tokenizer.cpp:
              (khtml::XMLTokenizer::processingInstruction):
              (khtml::XMLTokenizer::executeScripts):
              (khtml::XMLTokenizer::notifyFinished):
              * khtml/xsl/xslt_processorimpl.cpp:
              (DOM::XSLTProcessorImpl::createDocumentFromSource):
              * ksvg2/svg/SVGAElementImpl.cpp:
              (SVGAElementImpl::defaultEventHandler):
              * ksvg2/svg/SVGImageElementImpl.cpp:
              (SVGImageElementImpl::notifyFinished):
              * kwq/DOM.mm:
              (-[DOMNode KJS::Bindings::]):
              * kwq/DOMHTML.mm:
              * kwq/DOMInternal.mm:
              (-[WebScriptObject _initializeScriptDOMNodeImp]):
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject textUnderElement]):
              (-[KWQAccObject value]):
              (-[KWQAccObject accessibilityPerformAction:]):
              (-[KWQAccObject accessibilityAttributeValue:]):
              (-[KWQAccObject doAXTextMarkerForPosition:]):
              (-[KWQAccObject rendererForView:]):
              (-[KWQAccObject doSetAXSelectedTextMarkerRange:]):
              * kwq/KWQClipboard.h:
              * kwq/KWQClipboard.mm:
              (KWQClipboard::KWQClipboard):
              (KWQClipboard::dragNSImage):
              * kwq/KWQComboBox.mm:
              (-[KWQPopUpButtonCell trackMouse:inRect:ofView:untilMouseUp:]):
              (-[KWQPopUpButton becomeFirstResponder]):
              (-[KWQPopUpButton resignFirstResponder]):
              (-[KWQPopUpButton nextKeyView]):
              (-[KWQPopUpButton previousKeyView]):
              * kwq/KWQFileButton.h:
              * kwq/KWQFileButton.mm:
              (KWQFileButton::KWQFileButton):
              (KWQFileButton::focusPolicy):
              (KWQFileButton::focusChanged):
              * kwq/KWQFrame.mm:
              (QFrame::setFrameStyle):
              * kwq/KWQKHTMLFactory.h:
              * kwq/KWQKHTMLPart.cpp: Removed.
              * kwq/KWQKHTMLPart.h: Removed.
              * kwq/KWQKHTMLPart.mm: Removed.
              * kwq/KWQKHTMLPartBrowserExtension.h:
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              (KHTMLPartBrowserExtension::KHTMLPartBrowserExtension):
              (KHTMLPartBrowserExtension::openURLRequest):
              (KHTMLPartBrowserExtension::createNewWindow):
              (KHTMLPartBrowserExtension::setIconURL):
              (KHTMLPartBrowserExtension::setTypedIconURL):
              (KHTMLPartBrowserExtension::canRunModal):
              (KHTMLPartBrowserExtension::canRunModalNow):
              (KHTMLPartBrowserExtension::runModal):
              * kwq/KWQKHTMLView.cpp:
              (KHTMLView::topLevelWidget):
              * kwq/KWQKJavaAppletWidget.h:
              * kwq/KWQKJavaAppletWidget.mm:
              (KJavaAppletWidget::KJavaAppletWidget):
              * kwq/KWQKPartsBrowserInterface.h:
              (KParts::BrowserInterface::BrowserInterface):
              * kwq/KWQKPartsBrowserInterface.mm:
              (KParts::BrowserInterface::property):
              (KParts::BrowserInterface::callMethod):
              * kwq/KWQLineEdit.mm:
              * kwq/KWQListBox.mm:
              (-[KWQListBoxScrollView becomeFirstResponder]):
              (-[KWQTableView keyDown:]):
              (-[KWQTableView keyUp:]):
              (-[KWQTableView becomeFirstResponder]):
              (-[KWQTableView resignFirstResponder]):
              (-[KWQTableView nextKeyView]):
              (-[KWQTableView previousKeyView]):
              * kwq/KWQLoader.mm:
              (KWQServeRequest):
              (KWQServeSynchronousRequest):
              (KWQCheckIfReloading):
              (KWQCheckCacheObjectStatus):
              (KWQCacheObjectExpiresTime):
              * kwq/KWQObject.cpp:
              (QObject::inherits):
              (QObject::isFrame):
              * kwq/KWQObject.h:
              * kwq/KWQPageState.mm:
              (-[KWQPageState dealloc]):
              (-[KWQPageState finalize]):
              * kwq/KWQRegExp.cpp:
              (QRegExp::KWQRegExpPrivate::compile):
              * kwq/KWQRenderTreeDebug.cpp:
              (write):
              (writeSelection):
              * kwq/KWQSlider.mm:
              (-[KWQSlider becomeFirstResponder]):
              (-[KWQSlider resignFirstResponder]):
              (-[KWQSlider nextKeyView]):
              (-[KWQSlider previousKeyView]):
              (-[KWQSlider canBecomeKeyView]):
              (QSlider::focusPolicy):
              * kwq/KWQSlot.mm:
              (KWQSlot::KWQSlot):
              (KWQSlot::call):
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView textDidChange:]):
              (-[KWQTextAreaTextView _isResizableByUser]):
              (-[KWQTextAreaTextView becomeFirstResponder]):
              (-[KWQTextAreaTextView nextKeyView]):
              (-[KWQTextAreaTextView previousKeyView]):
              (-[KWQTextAreaTextView _trackResizeFromMouseDown:]):
              (-[KWQTextAreaTextView drawRect:]):
              (-[KWQTextAreaTextView insertTab:]):
              (-[KWQTextAreaTextView insertBacktab:]):
              (-[KWQTextAreaTextView resignFirstResponder]):
              (-[KWQTextAreaTextView shouldDrawInsertionPoint]):
              (-[KWQTextAreaTextView selectedTextAttributes]):
              (-[KWQTextAreaTextView keyDown:]):
              (-[KWQTextAreaTextView keyUp:]):
              * kwq/KWQTextField.mm:
              (-[KWQTextFieldController controlTextDidBeginEditing:]):
              (-[KWQTextFieldController controlTextDidEndEditing:]):
              (-[KWQTextFieldController controlTextDidChange:]):
              (-[KWQTextFieldController control:textView:doCommandBySelector:]):
              (-[KWQTextFieldController textView:shouldHandleEvent:]):
              (-[KWQTextFieldController setHasFocus:]):
              (-[KWQTextField nextKeyView]):
              (-[KWQTextField previousKeyView]):
              (-[KWQSecureTextField nextKeyView]):
              (-[KWQSecureTextField previousKeyView]):
              (-[KWQSearchField nextKeyView]):
              (-[KWQSearchField previousKeyView]):
              * kwq/KWQTimer.h:
              * kwq/KWQWidget.mm:
              (QWidget::setActiveWindow):
              (QWidget::hasFocus):
              (QWidget::setFocus):
              (QWidget::clearFocus):
              (QWidget::isVisible):
              (QWidget::mapFromGlobal):
              (QWidget::setIsSelected):
              * kwq/MacFrame.cpp: Added.
              (MacFrame::isFrameSet):
              * kwq/MacFrame.h: Added.
              (MacFrame::instances):
              (Mac):
              * kwq/MacFrame.mm: Added.
              (Frame::completed):
              (Frame::openURL):
              (Frame::onURL):
              (Frame::setStatusBarText):
              (Frame::started):
              (redirectionTimerMonitor):
              (MacFrame::MacFrame):
              (MacFrame::~MacFrame):
              (MacFrame::freeClipboard):
              (MacFrame::setSettings):
              (MacFrame::generateFrameName):
              (MacFrame::provisionalLoadStarted):
              (MacFrame::userGestureHint):
              (MacFrame::openURL):
              (MacFrame::openURLRequest):
              (MacFrame::didNotOpenURL):
              (MacFrame::currentForm):
              (MacFrame::searchForLabelsAboveCell):
              (MacFrame::searchForLabelsBeforeElement):
              (MacFrame::matchLabelsAgainstElement):
              (MacFrame::findString):
              (MacFrame::clearRecordedFormValues):
              (MacFrame::recordFormValue):
              (MacFrame::submitForm):
              (MacFrame::setEncoding):
              (MacFrame::addData):
              (Frame::frameDetached):
              (MacFrame::urlSelected):
              (MacFrame::createPart):
              (MacFrame::setView):
              (MacFrame::view):
              (MacFrame::setTitle):
              (MacFrame::setStatusBarText):
              (MacFrame::scheduleClose):
              (MacFrame::unfocusWindow):
              (MacFrame::revealSelection):
              (MacFrame::advanceToNextMisspelling):
              (MacFrame::scrollOverflow):
              (MacFrame::wheelEvent):
              (MacFrame::redirectionTimerStartedOrStopped):
              (MacFrame::paint):
              (MacFrame::adjustPageHeight):
              (MacFrame::renderer):
              (MacFrame::userAgent):
              (MacFrame::mimeTypeForFileName):
              (MacFrame::nextKeyViewInFrame):
              (MacFrame::nextKeyViewInFrameHierarchy):
              (MacFrame::nextKeyView):
              (MacFrame::nextKeyViewForWidget):
              (MacFrame::currentEventIsMouseDownInWidget):
              (MacFrame::currentEventIsKeyboardOptionTab):
              (MacFrame::handleKeyboardOptionTabInView):
              (MacFrame::tabsToLinks):
              (MacFrame::tabsToAllControls):
              (MacFrame::executionContextForDOM):
              (MacFrame::bindingRootObject):
              (MacFrame::windowScriptObject):
              (MacFrame::windowScriptNPObject):
              (MacFrame::partClearedInBegin):
              (MacFrame::pauseTimeouts):
              (MacFrame::resumeTimeouts):
              (MacFrame::canCachePage):
              (MacFrame::saveWindowProperties):
              (MacFrame::saveLocationProperties):
              (MacFrame::restoreWindowProperties):
              (MacFrame::restoreLocationProperties):
              (MacFrame::saveInterpreterBuiltins):
              (MacFrame::restoreInterpreterBuiltins):
              (MacFrame::openURLFromPageCache):
              (MacFrame::frameForWidget):
              (MacFrame::bridgeForWidget):
              (MacFrame::frameForNode):
              (MacFrame::documentViewForNode):
              (MacFrame::nodeForWidget):
              (MacFrame::setDocumentFocus):
              (MacFrame::clearDocumentFocus):
              (MacFrame::saveDocumentState):
              (MacFrame::restoreDocumentState):
              (MacFrame::mutableInstances):
              (MacFrame::updatePolicyBaseURL):
              (MacFrame::setPolicyBaseURL):
              (MacFrame::requestedURLString):
              (MacFrame::incomingReferrer):
              (MacFrame::forceLayout):
              (MacFrame::forceLayoutWithPageWidthRange):
              (MacFrame::sendResizeEvent):
              (MacFrame::sendScrollEvent):
              (MacFrame::runJavaScriptAlert):
              (MacFrame::runJavaScriptConfirm):
              (MacFrame::runJavaScriptPrompt):
              (MacFrame::locationbarVisible):
              (MacFrame::menubarVisible):
              (MacFrame::personalbarVisible):
              (MacFrame::scrollbarsVisible):
              (MacFrame::statusbarVisible):
              (MacFrame::toolbarVisible):
              (MacFrame::addMessageToConsole):
              (MacFrame::createEmptyDocument):
              (MacFrame::addMetaData):
              (MacFrame::keyEvent):
              (MacFrame::scrollToAnchor):
              (MacFrame::closeURL):
              (MacFrame::canMouseDownStartSelect):
              (MacFrame::khtmlMousePressEvent):
              (MacFrame::khtmlMouseDoubleClickEvent):
              (MacFrame::passWidgetMouseDownEventToWidget):
              (MacFrame::lastEventIsMouseUp):
              (MacFrame::mouseDownViewIfStillGood):
              (MacFrame::dragHysteresisExceeded):
              (MacFrame::dispatchDragSrcEvent):
              (MacFrame::eventMayStartDrag):
              (MacFrame::khtmlMouseMoveEvent):
              (MacFrame::dragSourceMovedTo):
              (MacFrame::dragSourceEndedAt):
              (MacFrame::dispatchCPPEvent):
              (MacFrame::mayCut):
              (MacFrame::mayCopy):
              (MacFrame::mayPaste):
              (MacFrame::tryCut):
              (MacFrame::tryCopy):
              (MacFrame::tryPaste):
              (MacFrame::khtmlMouseReleaseEvent):
              (MacFrame::clearTimers):
              (MacFrame::passSubframeEventToSubframe):
              (MacFrame::passWheelEventToChildWidget):
              (MacFrame::mouseDown):
              (MacFrame::mouseDragged):
              (MacFrame::mouseUp):
              (MacFrame::sendFakeEventsAfterWidgetTracking):
              (MacFrame::mouseMoved):
              (MacFrame::shouldDragAutoNode):
              (MacFrame::sendContextMenuEvent):
              (MacFrame::fileWrapperForElement):
              (MacFrame::attributedString):
              (MacFrame::selectionRect):
              (MacFrame::visibleSelectionRect):
              (MacFrame::centerSelectionInVisibleArea):
              (MacFrame::imageFromRect):
              (MacFrame::selectionImage):
              (MacFrame::snapshotDragImage):
              (MacFrame::styleForSelectionStart):
              (MacFrame::fontForSelection):
              (MacFrame::fontAttributesForSelectionStart):
              (MacFrame::baseWritingDirectionForSelectionStart):
              (MacFrame::topLevelWidget):
              (MacFrame::tokenizerProcessedData):
              (MacFrame::selectionStartOffset):
              (MacFrame::selectionEndOffset):
              (MacFrame::selectionStart):
              (MacFrame::selectionEnd):
              (MacFrame::setBridge):
              (MacFrame::overrideMediaType):
              (MacFrame::setMediaType):
              (MacFrame::setSelectionFromNone):
              (MacFrame::setDisplaysWithFocusAttributes):
              (MacFrame::displaysWithFocusAttributes):
              (MacFrame::setWindowHasFocus):
              (MacFrame::backslashAsCurrencySymbol):
              (MacFrame::bodyBackgroundColor):
              (MacFrame::keyboardUIMode):
              (MacFrame::setName):
              (MacFrame::didTellBridgeAboutLoad):
              (MacFrame::haveToldBridgeAboutLoad):
              (MacFrame::clear):
              (Frame::print):
              (MacFrame::getAppletInstanceForWidget):
              (MacFrame::getEmbedInstanceForWidget):
              (MacFrame::getObjectInstanceForWidget):
              (MacFrame::addPluginRootObject):
              (MacFrame::cleanupPluginRootObjects):
              (MacFrame::registerCommandForUndoOrRedo):
              (MacFrame::registerCommandForUndo):
              (MacFrame::registerCommandForRedo):
              (MacFrame::clearUndoRedoOperations):
              (MacFrame::issueUndoCommand):
              (MacFrame::issueRedoCommand):
              (MacFrame::issueCutCommand):
              (MacFrame::issueCopyCommand):
              (MacFrame::issuePasteCommand):
              (MacFrame::issuePasteAndMatchStyleCommand):
              (MacFrame::issueTransposeCommand):
              (Frame::canUndo):
              (Frame::canRedo):
              (Frame::canPaste):
              (MacFrame::markMisspellingsInAdjacentWords):
              (MacFrame::markMisspellings):
              (MacFrame::respondToChangedSelection):
              (MacFrame::shouldChangeSelection):
              (MacFrame::respondToChangedContents):
              (MacFrame::isContentEditable):
              (MacFrame::shouldBeginEditing):
              (MacFrame::shouldEndEditing):
              (convertAttributesToUnderlines):
              (MacFrame::setMarkedTextRange):
              (MacFrame::markedTextUsesUnderlines):
              (MacFrame::markedTextUnderlines):
              (MacFrame::canGoBackOrForward):
              (MacFrame::prepareForUserAction):
              (MacFrame::didFirstLayout):
              (MacFrame::dashboardRegionsDictionary):
              (MacFrame::dashboardRegionsChanged):
              (MacFrame::isCharacterSmartReplaceExempt):
              (MacFrame::isFrame):
              (MacFrame::mousePressNode):
              (MacFrame::handledOnloadEvents):
              (MacFrame::shouldClose):
              * kwq/WebCoreBridge.h:
              * kwq/WebCoreBridge.mm:
              (updateRenderingForBindings):
              (frameHasSelection):
              (+[WebCoreBridge bridgeForDOMDocument:]):
              (-[WebCoreBridge init]):
              (-[WebCoreBridge initializeSettings:]):
              (-[WebCoreBridge dealloc]):
              (-[WebCoreBridge finalize]):
              (-[WebCoreBridge part]):
              (-[WebCoreBridge setParent:]):
              (-[WebCoreBridge parent]):
              (-[WebCoreBridge provisionalLoadStarted]):
              (-[WebCoreBridge openURL:reload:contentType:refresh:lastModified:pageCache:]):
              (-[WebCoreBridge setEncoding:userChosen:]):
              (-[WebCoreBridge addData:]):
              (-[WebCoreBridge closeURL]):
              (-[WebCoreBridge stopLoading]):
              (-[WebCoreBridge didNotOpenURL:pageCache:]):
              (-[WebCoreBridge saveDocumentState]):
              (-[WebCoreBridge restoreDocumentState]):
              (-[WebCoreBridge scrollToAnchorWithURL:]):
              (-[WebCoreBridge scrollOverflowInDirection:granularity:]):
              (-[WebCoreBridge sendScrollWheelEvent:]):
              (-[WebCoreBridge saveDocumentToPageCache]):
              (-[WebCoreBridge canCachePage]):
              (-[WebCoreBridge clear]):
              (-[WebCoreBridge end]):
              (-[WebCoreBridge stop]):
              (-[WebCoreBridge handleFallbackContent]):
              (-[WebCoreBridge createKHTMLViewWithNSView:marginWidth:marginHeight:]):
              (-[WebCoreBridge scrollToAnchor:]):
              (-[WebCoreBridge isSelectionEditable]):
              (-[WebCoreBridge selectionState]):
              (-[WebCoreBridge _documentTypeString]):
              (-[WebCoreBridge selectedString]):
              (-[WebCoreBridge stringForRange:]):
              (-[WebCoreBridge selectAll]):
              (-[WebCoreBridge deselectAll]):
              (-[WebCoreBridge deselectText]):
              (-[WebCoreBridge isFrameSet]):
              (-[WebCoreBridge reapplyStylesForDeviceType:]):
              (nowPrinting):
              (-[WebCoreBridge _setupRootForPrinting:]):
              (-[WebCoreBridge forceLayoutAdjustingViewSize:]):
              (-[WebCoreBridge forceLayoutWithMinimumPageWidth:maximumPageWidth:adjustingViewSize:]):
              (-[WebCoreBridge sendResizeEvent]):
              (-[WebCoreBridge sendScrollEvent]):
              (-[WebCoreBridge drawRect:withPainter:]):
              (-[WebCoreBridge drawRect:]):
              (-[WebCoreBridge computePageRectsWithPrintWidthScaleFactor:printHeight:]):
              (-[WebCoreBridge adjustPageHeightNew:top:bottom:limit:]):
              (-[WebCoreBridge copyDOMTree:]):
              (-[WebCoreBridge copyRenderTree:]):
              (-[WebCoreBridge removeFromFrame]):
              (-[WebCoreBridge installInFrame:]):
              (-[WebCoreBridge setActivationEventNumber:]):
              (-[WebCoreBridge mouseDown:]):
              (-[WebCoreBridge mouseDragged:]):
              (-[WebCoreBridge mouseUp:]):
              (-[WebCoreBridge mouseMoved:]):
              (-[WebCoreBridge sendContextMenuEvent:]):
              (-[WebCoreBridge currentForm]):
              (-[WebCoreBridge searchForLabels:beforeElement:]):
              (-[WebCoreBridge matchLabels:againstElement:]):
              (-[WebCoreBridge elementAtPoint:]):
              (-[WebCoreBridge URLWithAttributeString:]):
              (-[WebCoreBridge searchFor:direction:caseSensitive:wrap:]):
              (-[WebCoreBridge advanceToNextMisspelling]):
              (-[WebCoreBridge advanceToNextMisspellingStartingJustBeforeSelection]):
              (-[WebCoreBridge unmarkAllMisspellings]):
              (-[WebCoreBridge setTextSizeMultiplier:]):
              (-[WebCoreBridge textEncoding]):
              (-[WebCoreBridge nextKeyView]):
              (-[WebCoreBridge previousKeyView]):
              (-[WebCoreBridge nextKeyViewInsideWebFrameViews]):
              (-[WebCoreBridge previousKeyViewInsideWebFrameViews]):
              (-[WebCoreBridge stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
              (-[WebCoreBridge windowScriptObject]):
              (-[WebCoreBridge windowScriptNPObject]):
              (-[WebCoreBridge DOMDocument]):
              (-[WebCoreBridge selectedAttributedString]):
              (-[WebCoreBridge attributedStringFrom:startOffset:to:endOffset:]):
              (-[WebCoreBridge selectionRect]):
              (-[WebCoreBridge visibleSelectionRect]):
              (-[WebCoreBridge centerSelectionInVisibleArea]):
              (-[WebCoreBridge selectionImage]):
              (-[WebCoreBridge setName:]):
              (-[WebCoreBridge name]):
              (-[WebCoreBridge URL]):
              (-[WebCoreBridge baseURL]):
              (-[WebCoreBridge referrer]):
              (-[WebCoreBridge domain]):
              (-[WebCoreBridge opener]):
              (-[WebCoreBridge setOpener:]):
              (-[WebCoreBridge needsLayout]):
              (-[WebCoreBridge setNeedsLayout]):
              (-[WebCoreBridge interceptKeyEvent:toView:]):
              (-[WebCoreBridge renderTreeAsExternalRepresentation]):
              (-[WebCoreBridge setSelectionFromNone]):
              (-[WebCoreBridge setDisplaysWithFocusAttributes:]):
              (-[WebCoreBridge setWindowHasFocus:]):
              (-[WebCoreBridge numPendingOrLoadingRequests]):
              (-[WebCoreBridge doneProcessingData]):
              (-[WebCoreBridge shouldClose]):
              (-[WebCoreBridge bodyBackgroundColor]):
              (-[WebCoreBridge selectionColor]):
              (-[WebCoreBridge adjustViewSize]):
              (-[WebCoreBridge accessibilityTree]):
              (-[WebCoreBridge setDrawsBackground:]):
              (-[WebCoreBridge rangeByExpandingSelectionWithGranularity:]):
              (-[WebCoreBridge rangeByAlteringCurrentSelection:direction:granularity:]):
              (-[WebCoreBridge alterCurrentSelection:direction:granularity:]):
              (-[WebCoreBridge rangeByAlteringCurrentSelection:verticalDistance:]):
              (-[WebCoreBridge alterCurrentSelection:verticalDistance:]):
              (-[WebCoreBridge selectionGranularity]):
              (-[WebCoreBridge setSelectedDOMRange:affinity:closeTyping:]):
              (-[WebCoreBridge selectedDOMRange]):
              (-[WebCoreBridge convertToNSRange:DOM::]):
              (-[WebCoreBridge convertToDOMRange:]):
              (-[WebCoreBridge selectNSRange:]):
              (-[WebCoreBridge selectedNSRange]):
              (-[WebCoreBridge selectionAffinity]):
              (-[WebCoreBridge setMarkDOMRange:]):
              (-[WebCoreBridge markDOMRange]):
              (-[WebCoreBridge setMarkedTextDOMRange:customAttributes:ranges:]):
              (-[WebCoreBridge markedTextDOMRange]):
              (-[WebCoreBridge markedTextNSRange]):
              (-[WebCoreBridge replaceMarkedTextWithText:]):
              (-[WebCoreBridge smartDeleteRangeForProposedRange:]):
              (-[WebCoreBridge smartInsertForString:replacingRange:beforeString:afterString:]):
              (-[WebCoreBridge documentFragmentWithMarkupString:baseURLString:]):
              (-[WebCoreBridge documentFragmentWithText:]):
              (-[WebCoreBridge documentFragmentWithNodesAsParagraphs:]):
              (-[WebCoreBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
              (-[WebCoreBridge insertLineBreak]):
              (-[WebCoreBridge insertParagraphSeparator]):
              (-[WebCoreBridge insertParagraphSeparatorInQuotedContent]):
              (-[WebCoreBridge insertText:selectInsertedText:]):
              (-[WebCoreBridge setSelectionToDragCaret]):
              (-[WebCoreBridge moveSelectionToDragCaret:smartMove:]):
              (-[WebCoreBridge _visiblePositionForPoint:]):
              (-[WebCoreBridge moveDragCaretToPoint:]):
              (-[WebCoreBridge removeDragCaret]):
              (-[WebCoreBridge dragCaretDOMRange]):
              (-[WebCoreBridge deleteSelectionWithSmartDelete:]):
              (-[WebCoreBridge deleteKeyPressedWithSmartDelete:]):
              (-[WebCoreBridge forwardDeleteKeyPressedWithSmartDelete:]):
              (-[WebCoreBridge typingStyle]):
              (-[WebCoreBridge setTypingStyle:withUndoAction:]):
              (-[WebCoreBridge applyStyle:withUndoAction:]):
              (-[WebCoreBridge applyParagraphStyle:withUndoAction:]):
              (-[WebCoreBridge selectionStartHasStyle:]):
              (-[WebCoreBridge selectionHasStyle:]):
              (-[WebCoreBridge applyEditingStyleToBodyElement]):
              (-[WebCoreBridge removeEditingStyleFromBodyElement]):
              (-[WebCoreBridge applyEditingStyleToElement:]):
              (-[WebCoreBridge removeEditingStyleFromElement:]):
              (-[WebCoreBridge fontForSelection:]):
              (-[WebCoreBridge fontAttributesForSelectionStart]):
              (-[WebCoreBridge baseWritingDirectionForSelectionStart]):
              (-[WebCoreBridge ensureSelectionVisible]):
              (-[WebCoreBridge eventMayStartDrag:]):
              (-[WebCoreBridge dragOperationForDraggingInfo:]):
              (-[WebCoreBridge dragExitedWithDraggingInfo:]):
              (-[WebCoreBridge concludeDragForDraggingInfo:]):
              (-[WebCoreBridge dragSourceMovedTo:]):
              (-[WebCoreBridge dragSourceEndedAt:operation:]):
              (-[WebCoreBridge mayDHTMLCut]):
              (-[WebCoreBridge mayDHTMLCopy]):
              (-[WebCoreBridge mayDHTMLPaste]):
              (-[WebCoreBridge tryDHTMLCut]):
              (-[WebCoreBridge tryDHTMLCopy]):
              (-[WebCoreBridge tryDHTMLPaste]):
              (-[WebCoreBridge rangeOfCharactersAroundCaret]):
              (-[WebCoreBridge dashboardRegions]):
              (-[WebCoreBridge executionContextForView:]):
              * kwq/WebCoreSettings.mm:
              (-[WebCoreSettings _updateAllViews]):
              * kwq/WebCoreTextRendererFactory.mm:
              (-[WebCoreTextRendererFactory clearCaches]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      810e9764
    • eseidel's avatar
      Rubber stamped by mjs. · 94980f21
      eseidel authored
              Broke out loader.{h,cpp} into multiple files, one per class.
              This patch also updates all files which previously included
              loader.h to only include the necessary renamed headers.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6444
      
              * ForwardingHeaders/kdom/cache/KDOMCachedDocument.h: Removed.
              * ForwardingHeaders/kdom/cache/KDOMCachedImage.h: updated include
              * ForwardingHeaders/kdom/cache/KDOMCachedObject.h: updated include
              * ForwardingHeaders/kdom/cache/KDOMCachedScript.h: updated include
              * WebCore.xcodeproj/project.pbxproj: added files
              * khtml/css/css_computedstyle.cpp: updated includes
              * khtml/css/css_ruleimpl.cpp: updated includes
              * khtml/css/css_stylesheetimpl.h: updated includes
              * khtml/css/css_valueimpl.cpp: updated includes
              * khtml/css/cssstyleselector.cpp: updated includes
              * khtml/ecma/kjs_events.cpp: updated includes
              * khtml/ecma/kjs_html.cpp: updated includes
              * khtml/ecma/xmlhttprequest.cpp: updated includes
              * khtml/html/html_headimpl.cpp: updated includes
              * khtml/html/html_imageimpl.cpp: updated includes
              * khtml/html/html_imageimpl.h: updated includes
              * khtml/html/htmltokenizer.cpp: updated includes
              * khtml/khtml_part.cpp: updated includes
              * khtml/khtmlview.cpp: updated includes
              * khtml/misc/Cache.cpp: Added.
              * khtml/misc/Cache.h: Added.
              * khtml/misc/CachedCSSStyleSheet.cpp: Added.
              * khtml/misc/CachedCSSStyleSheet.h: Added.
              * khtml/misc/CachedImage.cpp: Added.
              * khtml/misc/CachedImage.h: Added.
              * khtml/misc/CachedImageCallback.cpp: Added.
              * khtml/misc/CachedImageCallback.h: Added.
              * khtml/misc/CachedObject.cpp: Added.
              * khtml/misc/CachedObject.h: Added, fixed tabs -> spaces.
              * khtml/misc/CachedObjectClientWalker.cpp: Added.
              * khtml/misc/CachedObjectClientWalker.h: Added.
              * khtml/misc/CachedScript.cpp: Added.
              * khtml/misc/CachedScript.h: Added.
              * khtml/misc/CachedXBLDocument.cpp: Added.
              * khtml/misc/CachedXBLDocument.h: Added.
              * khtml/misc/CachedXSLStyleSheet.cpp: Added.
              * khtml/misc/CachedXSLStyleSheet.h: Added.
              * khtml/misc/DocLoader.cpp: Added.
              * khtml/misc/DocLoader.h: Added.
              * khtml/misc/Request.cpp: Added.
              * khtml/misc/Request.h: Added.
              * khtml/misc/loader.cpp: updated includes
              * khtml/misc/loader.h: updated includes
              * khtml/misc/loader_client.h: updated includes
              * khtml/rendering/render_box.cpp: updated includes
              * khtml/rendering/render_line.cpp: updated includes
              * khtml/rendering/render_list.cpp: updated includes
              * khtml/rendering/render_object.cpp: updated includes
              * khtml/xml/dom_docimpl.cpp: updated includes
              * khtml/xml/dom_xmlimpl.cpp: updated includes
              * khtml/xml/xml_tokenizer.cpp: updated includes
              * khtml/xsl/xsl_stylesheetimpl.cpp: updated includes
              * khtml/xsl/xsl_stylesheetimpl.h: updated includes
              * khtml/xsl/xslt_processorimpl.cpp: updated includes
              * ksvg2/svg/SVGCursorElementImpl.cpp: updated includes
              * ksvg2/svg/SVGDocumentImpl.cpp: updated includes
              * ksvg2/svg/SVGFEImageElementImpl.cpp: updated includes
              * ksvg2/svg/SVGImageElementImpl.cpp: updated includes
              * ksvg2/svg/SVGImageElementImpl.h: updated includes
              * kwq/KWQKHTMLPart.mm: updated includes
              * kwq/KWQLoader.mm: updated includes
              * kwq/KWQPixmap.mm: updated includes
              * kwq/KWQTextArea.mm: updated includes
              * kwq/WebCoreBridge.mm: updated includes
              * kwq/WebCoreCache.mm: updated includes
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      94980f21
  11. 08 Jan, 2006 2 commits
    • eseidel's avatar
      Rubber stamped by ggaren. · 3a6d1324
      eseidel authored
              * ForwardingHeaders/qsortedlist.h: Added. (a khtml file was referencing KWQ directly.)
              * WebCore.xcodeproj/project.pbxproj: added new files.
              * khtml/editing/SelectionController.cpp: updated includes
              * khtml/editing/composite_edit_command.cpp: updated includes
              * khtml/editing/htmlediting.cpp: updated includes
              * khtml/editing/markup.cpp: updated includes
              * khtml/editing/visible_position.cpp: updated includes
              * khtml/editing/visible_text.cpp: updated includes
              * khtml/editing/visible_text.h: updated includes
              * khtml/editing/visible_units.cpp: updated includes
              * khtml/khtml_part.cpp: updated includes
              * khtml/khtmlview.cpp: updated includes
              * khtml/rendering/InlineTextBox.cpp: Split out from render_text
              * khtml/rendering/InlineTextBox.h: Split out from render_text
              * khtml/rendering/RenderText.cpp: Split out from render_text
              (khtml::RenderText::position): removed DEBUG_LAYOUT
              * khtml/rendering/RenderText.h: Split out from render_text
              * khtml/rendering/RenderTextFragment.cpp: Split out from render_text
              * khtml/rendering/RenderTextFragment.h: Split out from render_text
              * khtml/rendering/bidi.cpp: updated includes
              * khtml/rendering/render_block.cpp: updated includes
              * khtml/rendering/render_br.cpp: updated includes
              * khtml/rendering/render_br.h: updated includes
              * khtml/rendering/render_button.cpp: updated includes
              * khtml/rendering/render_container.cpp: updated includes
              * khtml/rendering/render_flow.cpp: updated includes
              * khtml/rendering/render_line.cpp: updated includes
              * khtml/rendering/render_object.cpp: updated includes
              * khtml/rendering/render_text.cpp: Removed.
              * khtml/rendering/render_text.h: Removed.
              * khtml/xml/dom_docimpl.cpp: updated includes
              * khtml/xml/dom_nodeimpl.cpp: updated includes
              * khtml/xml/dom_position.cpp: updated includes
              * khtml/xml/dom_textimpl.cpp: updated includes
              * kwq/KWQAccObject.mm: updated includes
              * kwq/KWQKHTMLPart.mm: updated includes
              * kwq/KWQRenderTreeDebug.cpp: updated includes
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a6d1324
    • eseidel's avatar
      Reviewed by mjs. · 339da1fe
      eseidel authored
              Renamed several files in kwq/ from .mm to .cpp
              Removed a few pieces of unused KWQ code.
      
              * WebCore.xcodeproj/project.pbxproj:
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::continueProcessing): removed KWQUIEventTime
              (khtml::HTMLTokenizer::write): removed KWQUIEventTime
              * khtml/html/htmltokenizer.h:
              * khtml/khtml_part.cpp:
              (KHTMLPart::slotFinished): removed KWQUIEventTime
              * khtml/misc/loader.cpp:
              (CachedObject::finish): removed KWQUIEventTime
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::processHttpEquiv): removed KWQUIEventTime
              * kwq/KWQArrayImpl.cpp: Added.
              * kwq/KWQArrayImpl.mm: Removed.
              * kwq/KWQBuffer.cpp: Added.
              * kwq/KWQBuffer.mm: Removed.
              * kwq/KWQCString.cpp: Added.
              * kwq/KWQCString.mm: Removed.
              * kwq/KWQCharsets.cpp: Added.
              * kwq/KWQCharsets.mm: Removed.
              * kwq/KWQCollection.h:
              (QPtrCollection::~QPtrCollection): made inline
              * kwq/KWQCollection.mm: Removed.
              * kwq/KWQDateTime.cpp: Added, removed KWQUIEventTime
              * kwq/KWQDateTime.h:
              * kwq/KWQDateTime.mm: Removed.
              * kwq/KWQGlobal.cpp: Added.
              * kwq/KWQGlobal.mm: Removed.
              * kwq/KWQGuardedPtr.cpp: Added.
              * kwq/KWQGuardedPtr.mm: Removed.
              * kwq/KWQKCharsets.cpp: Added.
              * kwq/KWQKCharsets.mm: Removed.
              * kwq/KWQKGlobalSettings.h:
              (KGlobalSettings::generalFont): made inline
              (KGlobalSettings::windowTitleFont): made inline
              (KGlobalSettings::menuFont): made inline
              (KGlobalSettings::contrast): made inline
              * kwq/KWQKGlobalSettings.mm: Removed.
              * kwq/KWQKHTMLFactory.cpp: Added.
              * kwq/KWQKHTMLFactory.mm: Removed.
              * kwq/KWQKHTMLView.cpp: Added.
              * kwq/KWQKHTMLView.mm: Removed.
              * kwq/KWQKJob.h:
              * kwq/KWQKJob.mm: Removed.
              * kwq/KWQKWin.cpp: Added.
              * kwq/KWQKWin.mm: Removed.
              * kwq/KWQMapImpl.cpp: Added.
              * kwq/KWQMapImpl.mm: Removed.
              * kwq/KWQObject.cpp: Added.
              * kwq/KWQObject.mm: Removed.
              * kwq/KWQPen.cpp: Added.
              * kwq/KWQPen.mm: Removed.
              * kwq/KWQPointArray.cpp: Added.
              * kwq/KWQPointArray.mm: Removed.
              * kwq/KWQPtrDictImpl.cpp: Added.
              * kwq/KWQPtrDictImpl.mm: Removed.
              * kwq/KWQRegExp.cpp: Added.
              * kwq/KWQRegExp.mm: Removed.
              * kwq/KWQRegion.cpp: Added.
              * kwq/KWQRegion.mm: Removed.
              * kwq/KWQStyle.cpp: Added.
              * kwq/KWQStyle.mm: Removed.
              * kwq/KWQTextCodec.cpp: Added.
              * kwq/KWQTextCodec.mm: Removed.
              * kwq/KWQTextStream.cpp: Added.
              * kwq/KWQTextStream.mm: Removed.
              * kwq/KWQTimer.cpp: Added.
              * kwq/KWQTimer.mm: Removed.
              * kwq/KWQValueListImpl.cpp: Added.
              * kwq/KWQValueListImpl.mm: Removed.
              * kwq/KWQVariant.cpp: Added.
              * kwq/KWQVariant.mm: Removed.
              * kwq/KWQVectorImpl.cpp: Added.
              * kwq/KWQVectorImpl.mm: Removed.
              * kwq/KWQWMatrix.cpp: Added.
              * kwq/KWQWMatrix.mm: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      339da1fe
  12. 03 Jan, 2006 2 commits
    • andersca's avatar
      2006-01-03 Anders Carlsson <andersca@mac.com> · a75a29b0
      andersca authored
              Reviewed by Maciej.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5378
              createDocument fails with DOM Exception 5 when passed empty qname
      
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMDOMImplementationProtoFunc::callAsFunction):
              When passing null to createDocument, pass a null DOMString, and not
              a DOMString containing the text "null".
      
              * khtml/xml/dom_docimpl.cpp:
              (DOMImplementationImpl::createDocument):
              Only validate the qualifiedName if it's not null or empty. Also, do not
              create the document element if the qualifiedName is null or empty.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a75a29b0
    • andersca's avatar
      2006-01-03 Anders Carlsson <andersca@mac.com> · c70d1c6a
      andersca authored
              Reviewed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5177
              Javascript cloneNode(deep) does not clone form elements correctly
      
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::cloneNode):
              Call copyNonAttributeProperties on the new node.
      
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLInputElementImpl::copyNonAttributeProperties):
              * khtml/html/html_formimpl.h:
              Copy m_value, m_checked and m_indeterminate here.
      
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::importNode):
              Call copyNonAttributeProperties on the new node.
      
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::cloneNode):
              Call copyNonAttributeProperties on the new node.
      
              * khtml/xml/dom_elementimpl.h:
              (DOM::ElementImpl::copyNonAttributeProperties):
              Add function declaration.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c70d1c6a
  13. 30 Dec, 2005 1 commit
    • darin's avatar
      Reviewed by Maciej. · 7baeccde
      darin authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=4557
                rename unusual strcmp and strcasecmp for DOMString family
      
              Added new functions named equal and equalIgnoringCase.
      
              * khtml/xml/dom_stringimpl.h: Changed the type of the length parameter to computeHash to unsigned
              to match the rest of the interface. Added equal and equalIgnoringCase functions. Added a
              version of the hash function that works on char* to CaseInsensitiveHash as preparation for an
              atomic string change.
              * khtml/xml/dom_stringimpl.cpp: Moved the QT_ALLOC_QCHAR_VEC and QT_DELETE_QCHAR_VEC macros
              here, and changed them into inline functions.
              (DOM::equal): Implemented.
              (DOM::equalIgnoringCase): Implemented.
              (DOM::DOMStringImpl::computeHash): Changed parameter type to unsigned to match other similar
              functions.
      
              * khtml/dom/dom_string.h: Removed unnecessary friend declarations. Changed operator
              overloads for == and != to call through inline to DOMStringImpl. Replaced strcasecmp
              with equalIgnoringCase, overloaded for one more combination of parameters. Removed strcmp.
              * khtml/dom/dom_string.cpp: Removed functions that are now implemented in DOMStringImpl*.
      
              * khtml/xml/dom_atomicstring.h: Removed a redundant const. Removed unnecessary
              friend declarations. Removed AtomicString::equal. Filled out a larger set of == and
              != operator implementations, mostly with inlines calling through to DOMStringImpl.
              Renamed equalsIgnoreCase to equalIgnoringCase and filled out a larger set as above.
              * khtml/xml/dom_atomicstring.cpp: Renamed AtomicString::equal to just ==.
              Removed some implementation of == and equalsIgnoreCase that are replaced by inlines.
      
              * khtml/html/html_listimpl.cpp:
              (DOM::HTMLOListElementImpl::parseMappedAttribute):
              (DOM::HTMLLIElementImpl::parseMappedAttribute):
              Use the "==" operator instead of strcmp.
      
              * khtml/css/cssstyleselector.cpp: (khtml::CSSStyleSelector::checkOneSelector):
              Use equalIgnoringCase instead of equalsIgnoreCase.
      
              * khtml/rendering/render_form.cpp:
              (RenderSlider::updateFromElement): Fixed bug where a temporary DOMString was put into
              a const DOMString&. Changed some DOMString to AtomicString as appropriate, and also
              used equalIgnoringCase instead of strcasecmp.
              (RenderSlider::slotSliderValueChanged): More of the same.
      
              * khtml/xml/dom_docimpl.cpp: (DocumentImpl::processHttpEquiv): Replaced use of strcasecmp
              with equalIgnoringCase. Added parentheses to fix incorrect operator precedence in one case
              (&& binds tighter than ||) which fixes a crash when using a http-equiv pragma when there
              is no part (not sure how to reproduce that).
      
              * khtml/khtml_part.cpp:
              (updateState):
              (KHTMLPart::selectionStartHasStyle):
              * khtml/ecma/kjs_html.cpp: (KJS::KJS::HTMLDocument::putValueProperty):
              * khtml/editing/apply_style_command.cpp:
              (khtml::StyleChange::checkForLegacyHTMLStyleChange):
              (khtml::StyleChange::currentlyHasStyle):
              (khtml::hasTextDecorationProperty):
              (khtml::ApplyStyleCommand::extractTextDecorationStyle):
              (khtml::ApplyStyleCommand::extractAndNegateTextDecorationStyle):
              * khtml/html/html_baseimpl.cpp:
              (HTMLBodyElementImpl::parseMappedAttribute):
              (HTMLFrameElementImpl::parseMappedAttribute):
              * khtml/html/html_blockimpl.cpp:
              (HTMLDivElementImpl::parseMappedAttribute):
              (HTMLHRElementImpl::parseMappedAttribute):
              (HTMLParagraphElementImpl::parseMappedAttribute):
              (HTMLMarqueeElementImpl::parseMappedAttribute):
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::parseMappedAttribute):
              (HTMLElementImpl::addHTMLAlignment):
              (HTMLElementImpl::setContentEditable):
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::parseMappedAttribute):
              (DOM::HTMLButtonElementImpl::parseMappedAttribute):
              (DOM::HTMLInputElementImpl::setInputType):
              (DOM::HTMLInputElementImpl::parseMappedAttribute):
              (DOM::HTMLKeygenElementImpl::appendFormData):
              (DOM::HTMLTextAreaElementImpl::parseMappedAttribute):
              * khtml/html/html_imageimpl.cpp: (DOM::HTMLAreaElementImpl::parseMappedAttribute):
              * khtml/html/html_inlineimpl.cpp: (DOM::HTMLBRElementImpl::parseMappedAttribute):
              * khtml/html/html_tableimpl.cpp: (DOM::HTMLTablePartElementImpl::parseMappedAttribute):
              * khtml/html/htmlparser.cpp: (HTMLParser::handleError):
              Use equalIgnoringCase instead of strcasecmp.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7baeccde
  14. 29 Dec, 2005 1 commit
    • eseidel's avatar
      Bug #: 6228 · ccbf3d76
      eseidel authored
      Submitted by: eseidel
      Reviewed by: mjs
              DOMString/DOMStringImpl/AtomicString need enhancements before replacing QString
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6228
              Added find(), contains(), startsWith() and endsWith() to DOMString
              Uses the above functions throughout the code.
              Small performance boost.
      
              * khtml/css/css_base.cpp:
              (CSSSelector::print):
              * khtml/css/css_ruleimpl.cpp:
              (DOM::CSSImportRuleImpl::init):
              * khtml/css/css_valueimpl.cpp:
              (DOM::CSSStyleDeclarationImpl::setProperty):
              * khtml/css/cssparser.cpp:
              (CSSParser::parseValue):
              (CSSParser::parseDeclaration):
              (CSSParser::parseContent):
              * khtml/css/cssstyleselector.cpp:
              (khtml::CSSStyleSelector::CSSStyleSelector):
              (khtml::CSSStyleSelector::setEncodedURL):
              (khtml::parseUASheet):
              (khtml::cleanpath):
              (khtml::CSSStyleSelector::checkSelector):
              (khtml::CSSStyleSelector::checkOneSelector):
              (khtml::CSSRuleSet::addRulesFromSheet):
              (khtml::CSSStyleSelector::applyProperty):
              * khtml/dom/dom_string.cpp:
              * khtml/dom/dom_string.h:
              (DOM::DOMString::contains):
              (DOM::DOMString::find):
              (DOM::DOMString::startsWith):
              (DOM::DOMString::endsWith):
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::parseEnctype):
              * khtml/khtml_part.cpp:
              (KHTMLPart::requestFrame):
              (KHTMLPart::submitForm):
              * khtml/misc/decoder.cpp:
              (Decoder::decode):
              * khtml/xml/dom_atomicstring.h:
              (DOM::AtomicString::length):
              (DOM::AtomicString::operator []):
              (DOM::AtomicString::contains):
              (DOM::AtomicString::find):
              (DOM::AtomicString::startsWith):
              (DOM::AtomicString::endsWith):
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::processHttpEquiv):
              * khtml/xml/dom_stringimpl.cpp:
              (DOM::equal):
              (DOM::equalCaseInsensitive):
              (DOM::DOMStringImpl::find):
              (DOM::DOMStringImpl::endsWith):
              * khtml/xml/dom_stringimpl.h:
              (DOM::DOMStringImpl::startsWith):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccbf3d76
  15. 23 Dec, 2005 1 commit
    • eseidel's avatar
      Bug #: 6138 · c644a61a
      eseidel authored
      Submitted by: eseidel
      Reviewed by: mjs
              Remove many use of .qstring()
              Convert several instances of QStrings to DOMStrings
              Add DOMString::replace(QChar, QChar)
              Remove (unused) KWQLabel, KWQKGlobal
              Slight performance improvement.
              Also fixed ChangeLog line endings from previous commit.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6138
      
              No tests needed, no functionality changes.
      
              * ChangeLog: Fixed line endings
              * ForwardingHeaders/kglobal.h: Removed.
              * ForwardingHeaders/qlabel.h: Removed.
              * WebCore.xcodeproj/project.pbxproj: removed KWQLabel
              * khtml/css/css_base.cpp:
              (CSSSelector::selectorText):
              * khtml/css/css_stylesheetimpl.cpp:
              (MediaListImpl::setMediaText):
              * khtml/css/cssstyleselector.cpp:
              (khtml::checkPseudoState):
              * khtml/dom/dom_string.h:
              (DOM::DOMString::replace):
              * khtml/ecma/kjs_css.cpp:
              (KJS::DOMCSSStyleDeclaration::put):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::put):
              (KJS::DOMAttr::put):
              (KJS::DOMDocument::put):
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::HTMLDocument::put):
              (KJS::KJS::HTMLElementFunction::callAsFunction):
              (KJS::KJS::HTMLElement::put):
              (KJS::KJS::Context2DFunction::callAsFunction):
              (KJS::Context2D::putValueProperty):
              * khtml/ecma/kjs_proxy.cpp:
              (KJSProxyImpl::evaluate):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Window::isSafeScript):
              (KJS::WindowFunc::callAsFunction):
              (KJS::ScheduledAction::execute):
              * khtml/ecma/xmlhttprequest.cpp:
              (KJS::XMLHttpRequest::send):
              (KJS::XMLHttpRequestProtoFunc::callAsFunction):
              * khtml/ecma/xmlhttprequest.h:
              * khtml/editing/jsediting.cpp:
              (DOM::JSEditor::queryCommandSupported):
              * khtml/editing/markup.cpp:
              (khtml::stringValueForRange):
              (khtml::startMarkup):
              * khtml/html/html_baseimpl.cpp:
              (HTMLBodyElementImpl::parseMappedAttribute):
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::addHTMLAlignment):
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::formData):
              (DOM::HTMLInputElementImpl::appendFormData):
              (DOM::HTMLTextAreaElementImpl::updateValue):
              * khtml/html/html_headimpl.cpp:
              (HTMLLinkElementImpl::parseMappedAttribute):
              * khtml/html/html_imageimpl.cpp:
              (DOM::HTMLImageElementImpl::parseMappedAttribute):
              * khtml/html/html_objectimpl.cpp:
              (DOM::HTMLObjectElementImpl::parseMappedAttribute):
              (DOM::HTMLParamElementImpl::isURLAttribute):
              * khtml/html/html_objectimpl.h:
              * khtml/html/html_tableimpl.cpp:
              (DOM::HTMLTableElementImpl::addChild):
              (DOM::HTMLTableElementImpl::parseMappedAttribute):
              (DOM::HTMLTablePartElementImpl::parseMappedAttribute):
              (DOM::HTMLTableSectionElementImpl::addChild):
              (DOM::HTMLTableRowElementImpl::addChild):
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::parseTag):
              * khtml/khtml_part.cpp:
              (KHTMLPart::executeScript):
              (KHTMLPart::checkEmitLoadEvent):
              * khtml/misc/loader.cpp:
              (CachedObject::finish):
              (CachedCSSStyleSheet::checkNotify):
              (CachedXSLStyleSheet::checkNotify):
              (CachedXBLDocument::checkNotify):
              (DocLoader::requestImage):
              (DocLoader::requestStyleSheet):
              (DocLoader::requestScript):
              (Loader::servePendingRequests):
              (Loader::cancelRequests):
              * khtml/rendering/render_applet.cpp:
              * khtml/rendering/render_block.cpp:
              (khtml::RenderBlock::updateFirstLetter):
              * khtml/rendering/render_box.cpp:
              (RenderBox::~RenderBox):
              * khtml/rendering/render_form.cpp:
              (RenderFormElement::slotTextChanged):
              (RenderLineEdit::updateFromElement):
              (RenderTextArea::updateFromElement):
              (RenderTextArea::text):
              * khtml/rendering/render_form.h:
              * khtml/rendering/render_frames.cpp:
              (RenderPartObject::updateWidget):
              * khtml/rendering/render_line.cpp:
              (khtml::EllipsisBox::paint):
              * khtml/rendering/render_list.cpp:
              (RenderListItem::paint):
              (RenderListMarker::paint):
              * khtml/rendering/render_text.cpp:
              (khtml::RenderText::RenderText):
              (khtml::RenderText::position):
              * khtml/xml/dom_docimpl.cpp:
              (DOMImplementationImpl::hasFeature):
              (DocumentImpl::getElementByAccessKey):
              (DocumentImpl::recalcStyleSelector):
              (DocumentImpl::defaultEventHandler):
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::recalcStyle):
              * khtml/xml/dom_nodeimpl.cpp:
              (DOM::NodeImpl::dump):
              (DOM::appendAttributeDesc):
              (DOM::NodeImpl::showNode):
              * khtml/xml/dom_stringimpl.cpp:
              (DOM::DOMStringImpl::lower):
              * khtml/xml/xml_tokenizer.cpp:
              (khtml::XMLTokenizer::executeScripts):
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              (DOM::XSLStyleSheetImpl::loadChildSheets):
              * kwq/KWQKHTMLPart.h:
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::documentViewForNode):
              (KWQKHTMLPart::runJavaScriptAlert):
              (KWQKHTMLPart::runJavaScriptConfirm):
              (KWQKHTMLPart::runJavaScriptPrompt):
              (KWQKHTMLPart::addMessageToConsole):
              (KWQKHTMLPart::passWheelEventToChildWidget):
              (KWQKHTMLPart::shouldDragAutoNode):
              (KWQKHTMLPart::snapshotDragImage):
              (convertAttributesToUnderlines):
              (KWQKHTMLPart::setMarkedTextRange):
              (KWQKHTMLPart::mousePressNode):
              * kwq/KWQKGlobal.h: Removed.
              * kwq/KWQKGlobal.mm: Removed.
              * kwq/KWQLabel.h: Removed.
              * kwq/KWQLabel.mm: Removed.
              * kwq/KWQLineEdit.h:
              * kwq/KWQLineEdit.mm:
              (QLineEdit::setText):
              (QLineEdit::text):
              (QLineEdit::setAutoSaveName):
              (QLineEdit::setPlaceholderString):
              * kwq/KWQPainter.mm:
              (QPainter::compositeOperatorFromString):
              * kwq/KWQSignal.h:
              * kwq/KWQSignal.mm:
              (KWQSignal::call):
              * kwq/KWQSlot.h:
              * kwq/KWQSlot.mm:
              (KWQSlot::call):
              * kwq/KWQString.h:
              * kwq/KWQString.mm:
              * kwq/KWQTextEdit.h:
              * kwq/KWQTextEdit.mm:
              (QTextEdit::setText):
              (QTextEdit::text):
              (QTextEdit::textWithHardLineBreaks):
              * ksvg2/scripts/cssmakeprops: removed kglobal.h
              * ksvg2/scripts/cssmakevalues: removed kglobal.h
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c644a61a
  16. 22 Dec, 2005 3 commits
    • adele's avatar
      Reviewed by Darin. · f3ed2fb3
      adele authored
              Cleaned up a previous checkin by defining global const defaultForm.
      
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::radioButtonChecked):
              (DocumentImpl::checkedRadioButtonForGroup):
              (DocumentImpl::removeRadioButtonGroup):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11738 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3ed2fb3
    • adele's avatar
      LayoutTests: · 0b02b671
      adele authored
              Reviewed by Tim Hatcher.
      
              Tests for <rdar://problem/4387433> Seed: Radio buttons behave incorrectly in Gmail settings
      
              * fast/forms/radio_checked_dynamic-expected.checksum: Added.
              * fast/forms/radio_checked_dynamic-expected.png: Added.
              * fast/forms/radio_checked_dynamic-expected.txt: Added.
              * fast/forms/radio_checked_dynamic.html: Added.
      
      WebCore:
      
              Reviewed by Tim Hatcher.
      
              Fixed <rdar://problem/4387433> Seed: Radio buttons behave incorrectly in Gmail settings
      
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::registerFormElement): update radio button hash map when moving form elements around.
              (DOM::HTMLGenericFormElementImpl::insertedIntoTree): ditto.
              * khtml/html/html_formimpl.h:
              (DOM::HTMLGenericFormElementImpl::isRadioButton): Added.
              (DOM::HTMLInputElementImpl::isRadioButton): Added.
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::radioButtonChecked):
              Added comment explaining that we use 1 for the default form.  We can't use a null pointer as a key for the hash map.
              (DocumentImpl::checkedRadioButtonForGroup): Added conversion of null form pointer to 1.
              (DocumentImpl::removeRadioButtonGroup): ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b02b671
    • darin's avatar
      Reviewed by Eric. · 06f28a8c
      darin authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6193
                remove some unused KWQ code
      
              * kcanvas/KCanvasCreator.cpp: (KCanvasCreator::self): Don't use static deleter for
              two reasons: (1) We don't want any globals with constructors in any of our frameworks
              because they slow down framework load time. (2) There's no need to destroy this object at
              process termination time -- it's extra work with no benefit. Because of both these
              reasons, our KStaticDeleter implementation was basically a no-op.
              * ksvg2/svg/SVGDOMImplementationImpl.cpp: (SVGDOMImplementationImpl::self): Ditto.
              * khtml/xml/dom_docimpl.cpp: (DocumentImpl::setDocumentChanged): Ditto.
      
              * khtml/html/html_canvasimpl.cpp: Removed include of kstringhandler.h.
              * khtml/html/html_imageimpl.cpp: Ditto.
      
              * khtml/khtmlpart_p.h: Removed something that was in an "APPLE_CANGES" ifdef.
      
              * ForwardingHeaders/kstaticdeleter.h: Removed.
              * ForwardingHeaders/kstringhandler.h: Removed.
              * kwq/KWQKStaticDeleter.h: Removed.
              * kwq/KWQKStringHandler.h: Removed.
              * kwq/KWQKStringHandler.mm: Removed.
      
              * WebCore.xcodeproj/project.pbxproj: Removed files.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06f28a8c
  17. 21 Dec, 2005 1 commit
    • adele's avatar
      LayoutTests: · fecb29e7
      adele authored
              Reviewed by Darin.
      
              Updating results for:
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5911
              REGRESSION: Page scroll position jumps when clicking on word in editable div
      
              These results all changed because we now select all for contenteditable elements when focus() is called on them.
      
              * editing/selection/focus_editable_html-expected.checksum:
              * editing/selection/focus_editable_html-expected.png:
              * editing/selection/focus_editable_html-expected.txt:
              * fast/dom/blur-contenteditable-expected.txt:
              * fast/dom/focus-contenteditable-expected.checksum:
              * fast/dom/focus-contenteditable-expected.png:
              * fast/dom/focus-contenteditable-expected.txt:
              * fast/overflow/overflow-focus-ring-expected.checksum:
              * fast/overflow/overflow-focus-ring-expected.png:
              * fast/overflow/overflow-focus-ring-expected.txt:
      
      WebCore:
      
              Reviewed by Darin.
      
              Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5911
              REGRESSION: Page scroll position jumps when clicking on word in editable div
      
              I moved the scrolling code out of setFocusNode, and consolidated some of the focus code to scroll when necessary.
      
              * khtml/html/html_formimpl.cpp: Removed HTMLButtonElementImpl::blur, HTMLButtonElementImpl::focus, HTMLInputElementImpl::blur, HTMLInputElementImpl::focus.
              New code in ElementImpl::focus will now handle these cases.  This allows tabbing through the elements to go through the same code path as calling focus() on an element.
              Before, focus() would scroll to reveal for any form elements that had a RenderWidget, but wouldn't scroll for anchor elements, or any of the new form elements.
              Now the behavior will be more consistent.
              (DOM::HTMLLabelElementImpl::focus): calls ElementImpl::focus.
              (DOM::HTMLLegendElementImpl::focus): ditto.
              * khtml/html/html_formimpl.h:
              * khtml/khtml_part.cpp:
              (KHTMLPart::selectAll): calls new function selectContentsOfNode
              (KHTMLPart::selectContentsOfNode): factored out code to selectAll for a particular node- which is useful for contenteditable elements.
              * khtml/khtml_part.h: added selectContentsOfNode
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::setFocusNode): removed scrolling code.
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::focus): Calls updateLayout in case focus() is called before there's a renderer.
              Makes a selection for editable elements (right now we select all, but this will change).
              Doesn't scroll if the renderer is a RenderWidget, since that is handled when the view becomes first responder.  This will go away when we convert the rest of our form elements.
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::revealSelection): Made this more like centerSelectionInVisibleArea  where we get the right rectangle if the selection is a caret.
              (KWQKHTMLPart::nextKeyViewInFrame): call ElementImpl::focus() for the node.  This will set the selection too, which used to be done here.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fecb29e7
  18. 20 Dec, 2005 1 commit
    • eseidel's avatar
      Bug #: 6107 · dd0c5794
      eseidel authored
      Submitted by: eseidel
      Reviewed by: darin
              Move Decoder onto Shared<T> and clients onto RefPtr.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6107
              No test cases possible, no functional changes.
      
              * khtml/ecma/XSLTProcessor.cpp:
              (KJS::XSLTProcessorProtoFunc::callAsFunction):
              * khtml/ecma/xmlhttprequest.cpp:
              (KJS::XMLHttpRequest::XMLHttpRequest):
              (KJS::XMLHttpRequest::~XMLHttpRequest):
              (KJS::XMLHttpRequest::changeState):
              (KJS::XMLHttpRequest::abort):
              (KJS::XMLHttpRequest::slotFinished):
              (KJS::XMLHttpRequest::slotData):
              * khtml/ecma/xmlhttprequest.h:
              * khtml/khtml_part.cpp:
              (KHTMLPart::clear):
              (KHTMLPart::begin):
              (KHTMLPart::write):
              * khtml/khtmlpart_p.h:
              (KHTMLPartPrivate::KHTMLPartPrivate):
              * khtml/misc/decoder.cpp:
              (Decoder::Decoder):
              (Decoder::~Decoder):
              * khtml/misc/decoder.h:
              * khtml/misc/loader.h:
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::DocumentImpl):
              (DocumentImpl::~DocumentImpl):
              (DocumentImpl::prepareMouseEvent):
              (DocumentImpl::setDecoder):
              * khtml/xml/dom_docimpl.h:
              (DOM::DocumentImpl::decoder):
              * khtml/xsl/xslt_processorimpl.cpp:
              (DOM::XSLTProcessorImpl::createDocumentFromSource):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd0c5794
  19. 18 Dec, 2005 1 commit
    • darin's avatar
      LayoutTests: · 4169ba11
      darin authored
              Reviewed and landed by Darin.
      
              - XSLT document encoding tests
      
              * fast/xsl/xslt-doc-enc-expected.txt: Added.
              * fast/xsl/xslt-doc-enc.xml: Added.
              * fast/xsl/xslt-doc-enc.xsl: Added.
              * fast/xsl/xslt-doc-noenc-expected.txt: Added.
              * fast/xsl/xslt-doc-noenc.xml: Added.
              * fast/xsl/xslt-doc-noenc.xsl: Added.
      
      WebCore:
      
              Reviewed and landed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5927
                Result of XSLT transformation has no charset defined
      
              * khtml/xml/dom_docimpl.cpp: (DocumentImpl::applyXSLTransform):
              Get encoding from transform and pass in to XSLTProcessor.
      
              * khtml/xsl/xslt_processorimpl.h:
              * khtml/xsl/xslt_processorimpl.cpp:
              (DOM::XSLTProcessorImpl::createDocumentFromSource): Added encoding parameter.
              Create a Decoder and use it to decode the source document (default encoding UTF-8).
              (DOM::XSLTProcessorImpl::transformToString): Add an encoding result. Set it to the
              encoding from the libxml2 document object.
              (DOM::XSLTProcessorImpl::transformToDocument): Get encoding from transform and pass
              in to XSLTProcessor.
              (DOM::XSLTProcessorImpl::transformToFragment): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4169ba11
  20. 16 Dec, 2005 1 commit
    • darin's avatar
      JavaScriptCore: · 2835620a
      darin authored
              Reviewed by Maciej.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5688
                speed up JavaScript parsing by not creating a UString just to parse
      
              * kjs/internal.h:
              * kjs/internal.cpp: (KJS::InterpreterImp::evaluate): Change to take a character pointer
              and length rather than a UString.
      
              * kjs/interpreter.h:
              * kjs/interpreter.cpp: (Interpreter::evaluate): Ditto.
      
              * kjs/protect.h: Remove uneeded "convert to bool" operator since we already have a
              "convert to raw pointer" operator in this class.
      
      WebCore:
      
              Reviewed by Maciej.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5688
                speed up JavaScript parsing by not creating a UString just to parse
      
              * khtml/ecma/kjs_dom.cpp: (KJS::DOMNode::getListener): Use listenerObj instead of
              listenerObjImp.
              * khtml/ecma/kjs_html.cpp: (KJS::Image::getValueProperty): Ditto.
              * khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequest::getValueProperty): Ditto.
              * khtml/ecma/kjs_window.h:
              * khtml/ecma/kjs_window.cpp:
              (KJS::Window::getListener): Ditto.
              (KJS::Window::getJSLazyEventListener): Take code as a DOMString, not QString.
      
              * khtml/ecma/kjs_events.cpp:
              (KJS::jsStringOrUndefined): Renamed function and moved it to the top of the file.
              (KJS::JSAbstractEventListener::handleEvent): Cleaned up function, removed double
              logging, and fixed code path to not use UString::ascii().
              (KJS::JSUnprotectedEventListener::JSUnprotectedEventListener): Updated since type
              of the window object is now Window.
              (KJS::JSUnprotectedEventListener::~JSUnprotectedEventListener): Ditto.
              (KJS::JSUnprotectedEventListener::windowObj): Ditto.
              (KJS::JSEventListener::JSEventListener): Ditto.
              (KJS::JSEventListener::~JSEventListener): Ditto.
              (KJS::JSEventListener::windowObj): Ditto.
              (KJS::JSLazyEventListener::JSLazyEventListener): Ditto. Also changed code to be
              a DOMString instead of a QString.
              (KJS::JSLazyEventListener::handleEvent): Removed function because the base class
              handleEvent already calls listenerObj which takes care of parseCode -- no need to
              do an additional parseCode here.
              (KJS::JSLazyEventListener::parseCode): Rearrange and clean up a bit. Code is now
              a DOMString instead of a QString.
              (KJS::Clipboard::Clipboard): Remove explicit ref since we now use a RefPtr for
              the clipboard object.
              (KJS::Clipboard::getValueProperty): Update to call jsStringOrUndefined.
      
              * khtml/ecma/kjs_events.h: Reformatted the file. Changed windowObj functions to
              return Window* instead of ObjectImp*. Removed listenerObjImp function. Removed
              destructors from many classes that don't need them. Used a RefPtr for the
              ClipboardImpl in a Clipboard object.
      
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_proxy.cpp:
              (KJSProxyImpl::evaluate): Take filename and code as DOMString instead of QString.
              (KJSProxyImpl::createHTMLEventHandler): Take URL and code as DOMString.
      
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::createHTMLEventListener): Take a DOMString rather than a QString for the
              JavaScript code.
              (DocumentImpl::setHTMLWindowEventListener): Added an overload that takes an attribute
              pointer. Calls through after extracting the code from the attribute value.
      
              * khtml/html/html_elementimpl.h:
              * khtml/html/html_elementimpl.cpp: (HTMLElementImpl::setHTMLEventListener): New
              version of function that takes an attribute pointer; calls through to the base class
              after extracting the code from the attribute value.
      
              * khtml/html/html_baseimpl.cpp:
              (HTMLBodyElementImpl::parseMappedAttribute): Change to use new setHTMLWindowEventListener
              and setHTMLEventListener that takes an attribute pointer.
              (HTMLFrameElementImpl::parseMappedAttribute): Ditto.
              (HTMLFrameSetElementImpl::parseMappedAttribute): Ditto.
              * khtml/html/html_elementimpl.cpp: (HTMLElementImpl::parseMappedAttribute): Ditto.
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::parseMappedAttribute): Ditto.
              (DOM::HTMLButtonElementImpl::parseMappedAttribute): Ditto.
              (DOM::HTMLInputElementImpl::parseMappedAttribute): Ditto.
              (DOM::HTMLLabelElementImpl::parseMappedAttribute): Ditto.
              (DOM::HTMLSelectElementImpl::parseMappedAttribute): Ditto.
              (DOM::HTMLTextAreaElementImpl::parseMappedAttribute): Ditto.
              * khtml/html/html_imageimpl.cpp:
              (DOM::HTMLImageElementImpl::parseMappedAttribute): Ditto.
              * khtml/html/html_objectimpl.cpp:
              (DOM::HTMLObjectElementImpl::parseMappedAttribute): Ditto.
      
              * khtml/html/html_headimpl.h:
              * khtml/html/html_headimpl.cpp:
              (HTMLScriptElementImpl::notifyFinished): Don't convert URL to QString since we now take
              a DOMString.
              (HTMLScriptElementImpl::evaluateScript): Change to take script as a DOMString.
      
              * khtml/khtml_part.h:
              * khtml/khtml_part.cpp: (KHTMLPart::createHTMLEventListener): Take a DOMString rather than
              a QString for the JavaScript code.
      
              * kwq/WebCoreScriptDebugger.mm: (-[WebCoreScriptCallFrame evaluateWebScript:]): Change
              code path so it doesn't convert an NSString to UTF-8 to get it into the JavaScript
              machinery. Use QString::fromNSString instead for now.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2835620a
  21. 15 Dec, 2005 1 commit
    • eseidel's avatar
      Bug #: 6091 · eedc541f
      eseidel authored
      Submitted by: eseidel
      Reviewed by: darin
              Remove more legacy code from khtml/kwq
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6091
      
              No tests needed, no functionality changes.
      
              * ForwardingHeaders/kapplication.h: Removed.
              * ForwardingHeaders/kcompletionbox.h: Removed.
              * ForwardingHeaders/kdatastream.h: Removed.
              * ForwardingHeaders/kfiledialog.h: Removed.
              * ForwardingHeaders/kfileitem.h: Removed.
              * ForwardingHeaders/khtml_iface.h: Removed.
              * ForwardingHeaders/khtml_pagecache.h: Removed.
              * ForwardingHeaders/khtml_printsettings.h: Removed.
              * ForwardingHeaders/khtml_run.h: Removed.
              * ForwardingHeaders/kiconloader.h: Removed.
              * ForwardingHeaders/kio/kprotocolmanager.h: Removed.
              * ForwardingHeaders/kio/netaccess.h: Removed.
              * ForwardingHeaders/kmessagebox.h: Removed.
              * ForwardingHeaders/kmimetype.h: Removed.
              * ForwardingHeaders/kmultipledrag.h: Removed.
              * ForwardingHeaders/kparts/partmanager.h: Removed.
              * ForwardingHeaders/kprinter.h: Removed.
              * ForwardingHeaders/kprotocolmanager.h: Removed.
              * ForwardingHeaders/ksimpleconfig.h: Removed.
              * ForwardingHeaders/ksslcertchain.h: Removed.
              * ForwardingHeaders/ksslinfodlg.h: Removed.
              * ForwardingHeaders/kstdaction.h: Removed.
              * ForwardingHeaders/ktempfile.h: Removed.
              * ForwardingHeaders/ktrader.h: Removed.
              * ForwardingHeaders/kurldrag.h: Removed.
              * ForwardingHeaders/kxmlguifactory.h: Removed.
              * ForwardingHeaders/netaccess.h: Removed.
              * ForwardingHeaders/private/qucomextra_p.h: Removed.
              * ForwardingHeaders/qasyncimageio.h: Removed.
              * ForwardingHeaders/qbitmap.h: Removed.
              * ForwardingHeaders/qclipboard.h: Removed.
              * ForwardingHeaders/qdir.h: Removed.
              * ForwardingHeaders/qdrawutil.h: Removed.
              * ForwardingHeaders/qfontdatabase.h: Removed.
              * ForwardingHeaders/qfontinfo.h: Removed.
              * ForwardingHeaders/qglobal.h: Removed.
              * ForwardingHeaders/qhbox.h: Removed.
              * ForwardingHeaders/qinputdialog.h: Removed.
              * ForwardingHeaders/qintcache.h: Removed.
              * ForwardingHeaders/qmetaobject.h: Removed.
              * ForwardingHeaders/qmovie.h: Removed.
              * ForwardingHeaders/qobjectlist.h: Removed.
              * ForwardingHeaders/qtooltip.h: Removed.
              * ForwardingHeaders/scheduler.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * khtml/css/cssstyleselector.cpp:
              * khtml/ecma/kjs_proxy.cpp:
              (KJSProxyImpl::KJSProxyImpl):
              (KJSProxyImpl::initScript):
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/kjs_window.moc: Removed.
              * khtml/html/html_documentimpl.cpp:
              (DOM::HTMLDocumentImpl::HTMLDocumentImpl):
              * khtml/html/html_documentimpl.moc: Removed.
              * khtml/html/html_formimpl.cpp:
              * khtml/html/html_formimpl.h:
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/html_objectimpl.h:
              * khtml/html/htmltokenizer.moc: Removed.
              * khtml/khtml_part.cpp:
              (KHTMLPart::didOpenURL):
              (KHTMLPart::stopLoading):
              (KHTMLPart::createJavaContext):
              (KHTMLPart::begin):
              (KHTMLPart::slotRedirection):
              (KHTMLPart::setSelection):
              (KHTMLPart::handleFallbackContent):
              * khtml/khtml_part.h:
              * khtml/khtml_part.moc: Removed.
              * khtml/khtmlpart_p.h:
              (KHTMLPartPrivate::KHTMLPartPrivate):
              (KHTMLPartPrivate::~KHTMLPartPrivate):
              * khtml/khtmlview.cpp:
              (KHTMLViewPrivate::KHTMLViewPrivate):
              (KHTMLViewPrivate::~KHTMLViewPrivate):
              (KHTMLView::KHTMLView):
              (KHTMLView::init):
              (KHTMLView::resizeEvent):
              (KHTMLView::layout):
              (KHTMLView::viewportMousePressEvent):
              (KHTMLView::viewportMouseDoubleClickEvent):
              (KHTMLView::viewportMouseReleaseEvent):
              (KHTMLView::scrollTo):
              (KHTMLView::focusNextPrevNode):
              (KHTMLView::focusInEvent):
              (KHTMLView::focusOutEvent):
              * khtml/khtmlview.h:
              * khtml/khtmlview.moc: Removed.
              * khtml/misc/loader.cpp:
              (CachedImage::CachedImage):
              (CachedImage::ref):
              (CachedImage::deref):
              (CachedImage::pixmap_size):
              (CachedImage::valid_rect):
              (CachedImage::clear):
              (CachedXSLStyleSheet::CachedXSLStyleSheet):
              (Cache::clear):
              (Cache::flush):
              (Cache::getStatistics):
              (Cache::setCacheDisabled):
              * khtml/misc/loader.h:
              * khtml/misc/loader.moc: Removed.
              * khtml/rendering/render_form.cpp:
              (ComboBoxWidget::ComboBoxWidget):
              (RenderSelect::createListBox):
              (RenderSlider::slotClicked):
              * khtml/rendering/render_form.h:
              * khtml/rendering/render_form.moc: Removed.
              * khtml/rendering/render_frames.cpp:
              (RenderFrameSet::userResize):
              (RenderPart::updateWidgetPosition):
              * khtml/rendering/render_frames.moc: Removed.
              * khtml/rendering/render_layer.cpp:
              (khtml::RenderLayer::isTransparent):
              * khtml/rendering/render_replaced.cpp:
              (RenderWidget::destroy):
              (RenderWidget::setSelectionState):
              * khtml/rendering/render_replaced.moc: Removed.
              * khtml/xml/dom_docimpl.cpp:
              (DocumentTypeImpl::cloneNode):
              * khtml/xml/dom_docimpl.moc: Removed.
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xml/xml_tokenizer.moc: Removed.
              * ksvg2/svg/SVGImageElementImpl.cpp:
              * kwq/KWQApplication.h:
              (QApplication::sendEvent):
              * kwq/KWQComboBox.h:
              * kwq/KWQKApplication.h: Removed.
              * kwq/KWQKHTMLPageCache.h: Removed.
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::openURLFromPageCache):
              * kwq/KWQKHTMLPartBrowserExtension.h:
              * kwq/KWQKHistoryProvider.mm:
              * kwq/KWQKJavaAppletContext.h:
              (KJavaAppletContext::KJavaAppletContext):
              * kwq/KWQKPartsHistoryProvider.h:
              * kwq/KWQKPartsPartManager.h: Removed.
              * kwq/KWQMovie.h: Removed.
              * kwq/KWQMovie.mm: Removed.
              * kwq/KWQObject.h:
              * kwq/KWQScrollView.h:
              * kwq/KWQScrollView.mm:
              * kwq/KWQWidget.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eedc541f
  22. 14 Dec, 2005 1 commit
    • eseidel's avatar
      Bug #: 6078 · 864721ba
      eseidel authored
      Submitted by: eseidel
      Reviewed by: darin
              SVG test cases changed (now the svg.css is loaded properly).
              No other functionality changes, just code removal.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6078
      
              * ForwardingHeaders/klibloader.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * khtml/css/csshelper.cpp:
              * khtml/css/cssstyleselector.cpp:
              (khtml::CSSStyleSelector::CSSStyleSelector):
              (khtml::parseUASheet):
              (khtml::CSSStyleSelector::loadDefaultStyle):
              * khtml/css/cssstyleselector.h:
              * khtml/ecma/kjs_dom.h:
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              (KJS::JSLazyEventListener::eventParameterName):
              (KJS::JSLazyEventListener::parseCode):
              * khtml/ecma/kjs_events.h:
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::HTMLElement::implementsCall):
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
              (KJS::PluginBase::PluginBase):
              * khtml/ecma/kjs_proxy.cpp:
              (KJSProxyImpl::KJSProxyImpl):
              (KJSProxyImpl::evaluate):
              (KJSProxyImpl::clear):
              (KJSProxyImpl::createHTMLEventHandler):
              (KJSProxyImpl::initScript):
              * khtml/ecma/kjs_proxy.h:
              (KJSProxyImpl::setEventHandlerLineno):
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::JSNodeFilterCondition::acceptNode):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Window::interpreter):
              (KJS::Window::retrieve):
              (KJS::Window::clear):
              (KJS::ScheduledAction::execute):
              * khtml/ecma/kjs_window.h:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::formData):
              * khtml/html/html_headimpl.cpp:
              (HTMLScriptElementImpl::evaluateScript):
              * khtml/html/html_imageimpl.cpp:
              * khtml/html/html_tableimpl.cpp:
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::HTMLTokenizer):
              (khtml::HTMLTokenizer::processToken):
              * khtml/khtml_part.cpp:
              (KHTMLPart::KHTMLPart):
              (KHTMLPart::init):
              (KHTMLPart::~KHTMLPart):
              (KHTMLPart::restoreURL):
              (KHTMLPart::didOpenURL):
              (KHTMLPart::jScript):
              (KHTMLPart::executeScript):
              (KHTMLPart::write):
              (KHTMLPart::reparseConfiguration):
              (KHTMLPart::createHTMLEventListener):
              * khtml/khtml_part.h:
              * khtml/khtmlpart_p.h:
              (KHTMLPartPrivate::KHTMLPartPrivate):
              (KHTMLPartPrivate::~KHTMLPartPrivate):
              * khtml/misc/decoder.cpp:
              * khtml/misc/loader.cpp:
              (CachedCSSStyleSheet::CachedCSSStyleSheet):
              (CachedScript::CachedScript):
              * khtml/rendering/render_flow.cpp:
              * khtml/rendering/render_frames.cpp:
              * khtml/rendering/render_inline.cpp:
              * khtml/rendering/render_line.cpp:
              * khtml/rendering/render_table.cpp:
              * khtml/rendering/table_layout.cpp:
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::implicitOpen):
              (DocumentImpl::write):
              * khtml/xml/dom_nodeimpl.cpp:
              * ksvg2/svg/SVGTestsImpl.cpp:
              (SVGTestsImpl::isValid):
              * kwq/DOMInternal.mm:
              (-[WebScriptObject _initializeScriptDOMNodeImp]):
              * kwq/KWQKGlobal.h:
              * kwq/KWQKHTMLFactory.h:
              (KHTMLFactory::vLinks):
              * kwq/KWQKHTMLFactory.mm:
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::KWQKHTMLPart):
              (KWQKHTMLPart::userGestureHint):
              (KWQKHTMLPart::bindingRootObject):
              * kwq/KWQKHTMLSettings.h:
              (KHTMLSettings::fantasyFontName):
              (KHTMLSettings::isJavaScriptEnabled):
              * kwq/KWQKInstance.h: Removed.
              * kwq/KWQKLibrary.h: Removed.
              * kwq/KWQKPartsFactory.h: Removed.
              * kwq/KWQKPartsPart.h:
              (KParts::ReadOnlyPart::name):
              * kwq/KWQKStandardDirs.h:
              * kwq/KWQKStandardDirs.mm:
              (locate):
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge executionContextForView:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11588 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      864721ba