1. 29 Jun, 2006 1 commit
    • darin's avatar
      Reviewed by Anders. · 7a4828e0
      darin authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9622
                showModalDialog returnValue ignored, function result is always "undefined"
      
              * manual-tests/modal-dialog.html: Added.
              * manual-tests/show-modal-dialog-test.html: Added.
      
              * page/Frame.cpp: (WebCore::Frame::clear): Call KJSProxy::clear with the
              clearWindowProperties parameter instead of not calling it at all when
              clearWindowProperties is false.
      
              * bindings/js/kjs_proxy.h: Add boolean clearWindowProperties parameter.
              * bindings/js/kjs_proxy.cpp: (WebCore::KJSProxy::clear): Pass clearWindowProperties
              variable through to Window::clear instead of not calling it at all.
      
              * bindings/js/kjs_window.h: Add boolean clearWindowProperties parameter.
              * bindings/js/kjs_window.cpp: (KJS::Window::clear): If clearWindowProperties
              is false, do only the returnValue work, not the rest of the work.
      
              * manual-tests/modal-dialog.html: Added.
              * manual-tests/show-modal-dialog-test.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a4828e0
  2. 10 Apr, 2006 1 commit
    • darin's avatar
      Reviewed by Geoff. · 17fa870f
      darin authored
              - death to khtml/ecma, long live bindings/js
      
              * khtml/ecma: Removed. Moved all files to bindings/js.
      
              * bindings/js/JSDOMParser.cpp: Added.
              * bindings/js/JSDOMParser.h: Added.
              * bindings/js/JSXMLHttpRequest.cpp: Added.
              * bindings/js/JSXMLHttpRequest.h: Added.
              * bindings/js/JSXMLSerializer.cpp: Added.
              * bindings/js/JSXMLSerializer.h: Added.
              * bindings/js/JSXSLTProcessor.cpp: Added.
              * bindings/js/JSXSLTProcessor.h: Added.
              * bindings/js/kjs_binding.cpp: Added.
              * bindings/js/kjs_binding.h: Added.
              * bindings/js/kjs_css.cpp: Added.
              * bindings/js/kjs_css.h: Added.
              * bindings/js/kjs_dom.cpp: Added.
              * bindings/js/kjs_dom.h: Added.
              * bindings/js/kjs_events.cpp: Added.
              * bindings/js/kjs_events.h: Added.
              * bindings/js/kjs_html.cpp: Added.
              * bindings/js/kjs_html.h: Added.
              * bindings/js/kjs_navigator.cpp: Added.
              * bindings/js/kjs_navigator.h: Added.
              * bindings/js/kjs_proxy.cpp: Added.
              * bindings/js/kjs_proxy.h: Added.
              * bindings/js/kjs_traversal.cpp: Added.
              * bindings/js/kjs_traversal.h: Added.
              * bindings/js/kjs_views.cpp: Added.
              * bindings/js/kjs_views.h: Added.
              * bindings/js/kjs_window.cpp: Added.
              * bindings/js/kjs_window.h: Added.
      
              * DerivedSources.make: Removed khtml/ecma from directory list.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Moved files from
              khtml/ecma to bindings/js.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      17fa870f
  3. 23 Mar, 2006 1 commit
    • darin's avatar
      JavaScriptCore: · 2ec969bc
      darin authored
              Reviewed by Maciej.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7726
                REGRESSION: orbitz calendar fails (JavaScript function serialization/parsing)
      
              * kjs/object.h: Take function name, as well as source URL and line number, when
              using the special overloaded construct for making functions.
              * kjs/object.cpp: (KJS::JSObject::construct): Ditto.
              * kjs/function_object.h: Ditto.
              * kjs/function_object.cpp: (FunctionObjectImp::construct): Pass a name when
              constructing the function rather than null. Use "anonymous" when making a
              function using the default function constructor.
      
              * kjs/nodes2string.cpp: (FuncDeclNode::streamTo): Put a line break just before
              a function declaration.
      
              - unrelated fix
      
              * kxmlcore/HashMapPtrSpec.h: Add missing needed friend declaration.
      
      LayoutTests:
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7726
                REGRESSION: orbitz calendar fails (JavaScript function serialization/parsing)
      
              * fast/js/resources/function-names.js: Added.
              * fast/js/function-names.html: Generated.
              * fast/js/function-names-expected.txt: Generated.
      
      WebCore:
      
              Reviewed by Maciej.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7726
                REGRESSION: orbitz calendar fails (JavaScript function serialization/parsing)
      
              Test: fast/js/function-names.html
      
              * dom/Document.h: Add function name parameter to createHTMLEventListener.
              * dom/Document.cpp:
              (WebCore::Document::createHTMLEventListener): Pass function name when calling
              createHTMLEventHandler.
              (WebCore::Document::setHTMLWindowEventListener): Pass attribute name as function name
              when calling createHTMLEventListener.
      
              * html/HTMLElement.cpp: (WebCore::HTMLElement::setHTMLEventListener): Pass attribute
              name as function name when calling createHTMLEventListener.
      
              * khtml/ecma/kjs_events.h: Add a function name parameter to JSLazyEventListener.
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSLazyEventListener::JSLazyEventListener): Take and store a function name.
              (KJS::JSLazyEventListener::parseCode): Pass function name when constructing the function.
      
              * khtml/ecma/kjs_proxy.h: Add a function name parameter to createHTMLEventHandler and
              createSVGEventHandler.
              * khtml/ecma/kjs_proxy.cpp:
              (WebCore::KJSProxy::createHTMLEventHandler): Pass function name when creating
              a JSLazyEventListener.
              (WebCore::KJSProxy::createSVGEventHandler): Ditto.
      
              * ksvg2/events/JSSVGLazyEventListener.h: Add a function name parameter to
              JSSVGLazyEventListener.
              * ksvg2/events/JSSVGLazyEventListener.cpp:
              (WebCore::JSSVGLazyEventListener::JSSVGLazyEventListener): Pass the function name
              on to the base class constructor.
      
              * ksvg2/misc/SVGDocumentExtensions.h: Add function name parameter to createSVGEventListener.
              * ksvg2/misc/SVGDocumentExtensions.cpp:
              (WebCore::SVGDocumentExtensions::createSVGEventListener): Pass function name when
              calling createSVGEventHandler.
      
              * ksvg2/svg/SVGElement.cpp: (WebCore::SVGElement::addSVGEventListener):
              * ksvg2/svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::addSVGWindowEventListner):
              Pass attribute name as function name when calling createSVGEventListener.
      
              * WebCore.xcodeproj/project.pbxproj: Moved generation script to the top.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ec969bc
  4. 19 Mar, 2006 1 commit
  5. 23 Feb, 2006 1 commit
    • darin's avatar
      Reviewed by John Sullivan. · 947a31b6
      darin authored
              - moved QMouseEvent, QKeyEvent, QWheelEvent, and "Foundation extras"
                from kwq to platform directory
              - moved history function from kwq to bridge directory
              - eliminated QEvent, MousePressEvent, MouseDoubleClickEvent, MouseMoveEvent,
                MoveReleaseEvent, and DrawContents classes
              - merged NodeImpl::MouseEvent and the MouseEvent from khtml_events.h into
                a single class in the page directory
              - broke khtmllayout.h out into a file for the Length structure in the css
                directory and a file for the GapRects structure in the rendering directory
              - redid the Length structure to work more portably by not relying on bitfield
                layout and improve the names to no longer explicitly mention "width"
              - reduced use of QGuardedPtr and other uses of the QObject "destroyed" signal
      
              * ForwardingHeaders/kparts: Removed.
              * ForwardingHeaders/qevent.h: Removed.
              * khtml/khtml_events.cpp: Removed.
              * khtml/khtml_events.h: Removed.
              * khtml/misc/khtmllayout.h: Removed.
              * kwq/KWQEvent.h: Removed.
              * kwq/KWQEvent.mm: Removed.
              * kwq/KWQFoundationExtras.h: Removed.
              * kwq/KWQKHistoryProvider.mm: Removed.
              * kwq/KWQKPartsHistoryProvider.h: Removed.
      
              * bridge/History.h: Added.
              * bridge/mac/HistoryMac.mm: Added.
              * css/Length.h: Added.
              * page/MouseEventWithHitTestResults.h: Added.
              * platform/KeyEvent.h: Added.
              * platform/MouseEvent.h: Added.
              * platform/WheelEvent.h: Added.
              * platform/mac/FoundationExtras.h: Added.
              * platform/mac/KeyEventMac.mm: Added.
              * platform/mac/MouseEventMac.mm: Added.
              * platform/mac/WheelEventMac.mm: Added.
              * rendering/GapRects.h: Added.
      
              * WebCore.xcodeproj/project.pbxproj: Updated for above changes.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for above changes.
      
              * bridge/mac/MacFrame.h: Removed unused parameters from urlSelected functions.
              Replaced MouseEvent, MousePressEvent, MouseMoveEvent, and MouseReleaseEvent
              with MouseEventWithHitTestResults.
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::urlSelected): Removed unused parameters.
              (WebCore::MacFrame::wheelEvent): Changed to use WheelEvent.
              (WebCore::MacFrame::keyEvent): Changed to use KeyEvent.
              (WebCore::MacFrame::khtmlMousePressEvent): Changed parameter type.
              (WebCore::MacFrame::khtmlMouseMoveEvent): Ditto.
              (WebCore::MacFrame::khtmlMouseReleaseEvent): Ditto.
              (WebCore::MacFrame::passSubframeEventToSubframe): Ditto.
              (WebCore::MacFrame::mouseDown): Changed to use MouseEvent.
              (WebCore::MacFrame::mouseDragged): Ditto.
              (WebCore::MacFrame::mouseUp): Ditto.
              (WebCore::MacFrame::mouseMoved): Ditto.
              (WebCore::MacFrame::sendContextMenuEvent): Ditto.
      
              * css/csshelper.h: Removed a bunch of unused declarations.
      
              * dom/DocumentImpl.h:
              * dom/DocumentImpl.cpp:
              (WebCore::DocumentImpl::prepareMouseEvent): Changed to take a MouseEvent
              and return a MouseEventWithHitTestResults.
              (WebCore::DocumentImpl::defaultEventHandler): Changed to use KeyEvent.
      
              * dom/NodeImpl.h: Removed NodeImpl::MouseEvent and NodeImpl::MouseEventType.
              * dom/NodeImpl.cpp:
              (WebCore::NodeImpl::dispatchMouseEvent): Changed to always get the type and
              detail values from the caller, never from the event. Changed to use MouseEvent.
              (WebCore::NodeImpl::dispatchKeyEvent): Changed to use KeyEvent.
              (WebCore::NodeImpl::dispatchWheelEvent): Changed to use WheelEvent.
      
              * dom/dom2_eventsimpl.h:
              * dom/dom2_eventsimpl.cpp:
              (WebCore::KeyboardEventImpl::KeyboardEventImpl): Changed to use KeyEvent.
              (WebCore::KeyboardEventImpl::charCode): Ditto.
      
              * dom/dom_elementimpl.h: Removed unused mouseEventHandler function.
      
              * khtml/ecma/domparser.h: Use RefPtr instead of QGuardedPtr to hold the reference
              to the document.
      
              * khtml/ecma/kjs_proxy.h: (WebCore::KJSProxyImpl::haveInterpreter): Added. For
              use in the Frame destructor so we can get an existing KJS::Window object without
              creating a new interpreter and window object.
      
              * khtml/ecma/kjs_window.h: Merged WindowQObject into Window. Changed all the
              guarded pointers to Frame to use plain old pointers that are cleared by the
              Frame explicitly (by the function disconnectFrame). Made the pointers to all
              the sub-objects of KJS::Window be mutable so we don't have to const_cast in
              the functions to get (and lazily create) them.
              * khtml/ecma/kjs_window.cpp:
              (KJS::DOMWindowTimer::DOMWindowTimer): Use Window* instead of WindowQObject*.
              (KJS::History::disconnectFrame): Added. Clears m_frame.
              (KJS::FrameArray::disconnectFrame): Added. Clears m_frame.
              (KJS::Window::Window): Removed code to create a WindowQObject.
              (KJS::Window::~Window): Removed code to delete a WindowQObject.
              (KJS::Window::location): Remove now-unneeded const_cast.
              (KJS::Window::selection): Ditto.
              (KJS::Window::locationbar): Ditto.
              (KJS::Window::menubar): Ditto.
              (KJS::Window::personalbar): Ditto.
              (KJS::Window::statusbar): Ditto.
              (KJS::Window::toolbar): Ditto.
              (KJS::Window::scrollbars): Ditto.
              (KJS::Window::getValueProperty): Update since m_frame is now a raw pointer.
              (KJS::Window::getOwnPropertySlot): Ditto.
              (KJS::Window::toBoolean): Ditto.
              (KJS::Window::scheduleClose): Remove assert that WindowQObject* is not null.
              (KJS::Window::isSafeScript): Update since m_frame is now a raw pointer.
              (KJS::Window::clear): Remove code to delete a WindowQObject. Added a call
              to clearAllTimeouts instead.
              (KJS::Window::clearAllTimeouts): Added. Does equivalent of the WindowQObject
              destructor.
              (KJS::Window::installTimeout): Moved to Window from WindowQObject.
              (KJS::Window::pauseTimeouts): Ditto.
              (KJS::Window::resumeTimeouts): Ditto.
              (KJS::Window::clearTimeout): Ditto.
              (KJS::Window::timerFired): Ditto.
              (KJS::Window::disconnectFrame): Added. Sets all the frame pointers to 0.
              (KJS::FrameArray::getOwnPropertySlot): Update since m_frame is now a raw pointer.
              (KJS::Location::getOwnPropertySlot): Ditto.
              (KJS::Location::put): Ditto.
              (KJS::Selection::getOwnPropertySlot): Ditto.
              (KJS::BarInfo::getOwnPropertySlot): Ditto.
      
              * khtml/html/html_baseimpl.h: Forward-declare Length instead of including khtmllayout.h.
              * khtml/html/html_imageimpl.h: Ditto.
      
              * khtml/html/html_inlineimpl.cpp: (WebCore::HTMLAnchorElementImpl::defaultEventHandler):
              Changed to use KeyEvent and removed the code to extract the button and state from the
              DOM even to pass to urlSelected.
              * ksvg2/svg/SVGAElementImpl.cpp: (SVGAElementImpl::defaultEventHandler): Ditto.
      
              * khtml/html/htmltokenizer.cpp: (WebCore::HTMLTokenizer::timerFired): Change to use
              a RefPtr instead of a QGuardedPtr.
      
              * khtml/misc/helper.h:
              * khtml/misc/helper.cpp: Removed printpainter and setPrintPainter.
      
              * ksvg2/svg/SVGDocumentImpl.h:
              * ksvg2/svg/SVGDocumentImpl.cpp: (WebCore::SVGDocumentImpl::dispatchKeyEvent):
              Change to use KeyEvent.
      
              * kwq/KWQComboBox.mm:
              (-[KWQPopUpButton becomeFirstResponder]):
              (-[KWQPopUpButton resignFirstResponder]):
              * kwq/KWQFileButton.mm:
              (KWQFileButton::focusChanged):
              * kwq/KWQListBox.mm:
              (-[KWQTableView becomeFirstResponder]):
              (-[KWQTableView resignFirstResponder]):
              * kwq/KWQSlider.mm:
              (-[KWQSlider becomeFirstResponder]):
              (-[KWQSlider resignFirstResponder]):
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView becomeFirstResponder]):
              (-[KWQTextAreaTextView resignFirstResponder]):
              * kwq/KWQTextField.mm:
              (-[KWQTextFieldController setHasFocus:]):
              Updated to use new eventFilterFocusIn/Out instead of the general purpose
              eventFilter function. This allows us to remove QEvent and the focus events.
      
              * kwq/KWQNamespace.h: Removed ButtonState.
      
              * kwq/KWQObject.h:
              * kwq/KWQObject.cpp: Replaced eventFilter function with eventFilterFocusIn and
              eventFilterFocusOut, allowing us to remove QEvent. Removed event function.
      
              * kwq/KWQSlot.cpp:
              (KWQSlot::KWQSlot): Removed the parentDestroyed slot.
              (KWQSlot::call): Ditto.
      
              * page/Frame.h:
              * page/Frame.cpp:
              (WebCore::UserStyleSheetLoader::UserStyleSheetLoader): Renamed from
              PartStyleSheetLoader. Removed a lot of unneeded null checks. Use a
              raw Frame pointer instead of a QGuardedPtr, and count on the Frame
              to delete us when it's being deleted.
              (WebCore::UserStyleSheetLoader::~UserStyleSheetLoader): No longer
              a virtual function. This is not a polymorphic class.
              (WebCore::UserStyleSheetLoader::setStyleSheet): Remove code to delete
              ourselves -- that's now the frame's responsibility.
              (WebCore::Frame::~Frame): Call disconnectFrame on the KJS::Window and
              delete m_userStyleSheetLoader.
              (WebCore::Frame::changeLocation): Update since urlSelected no longer takes
              button and state parameters.
              (WebCore::Frame::setUserStyleSheet): Delete existing loader to stop a load
              in progress before starting a new load. Store reference to loader.
              (WebCore::Frame::urlSelected): Remove button and state parameters and unused
              local variable hasTarget.
              (WebCore::Frame::selectClosestWordFromMouseEvent): Change from QMouseEvent
              to MouseEvent.
              (WebCore::Frame::handleMousePressEventDoubleClick): Change from MousePressEvent
              to MouseEventWithHitTestResults.
              (WebCore::Frame::handleMousePressEventTripleClick): Ditto.
              (WebCore::Frame::handleMousePressEventSingleClick): Ditto.
              (WebCore::Frame::khtmlMousePressEvent): Ditto.
              (WebCore::Frame::handleMouseMoveEventSelection): Change from MouseMoveEvent
              to MouseEventWithHitTestResults.
              (WebCore::Frame::khtmlMouseMoveEvent): Ditto.
              (WebCore::Frame::khtmlMouseReleaseEvent): Change from MouseReleaseEvent
              to MouseEventWithHitTestResults.
              (WebCore::Frame::khtmlMouseDoubleClickEvent): Change from
              MouseReleaseDoubleClickEvent to MouseEventWithHitTestResults.
              (WebCore::Frame::passWidgetMouseDownEventToWidget): Change from
              NodeImpl::MouseEvent to MouseEventWithHitTestResults.
      
              * page/FramePrivate.h: Added m_userStyleSheetLoader.
      
              * page/FrameView.h:
              * page/FrameView.cpp:
              (WebCore::FrameView::viewportMousePressEvent): Change from QMouseEvent to
              MouseEvent and from NodeImpl::MouseEvent to MouseEventWithHitTestResults.
              (WebCore::FrameView::viewportMouseDoubleClickEvent): Ditto.
              (WebCore::selectCursor): Ditto.
              (WebCore::FrameView::viewportMouseMoveEvent): Ditto.
              (WebCore::FrameView::viewportMouseReleaseEvent): Ditto.
              (WebCore::FrameView::keyPressEvent): Change from QKeyEvent to KeyEvent.
              (WebCore::FrameView::dispatchMouseEvent): Change from QMouseEvent to
              MouseEvent and from NodeImpl::MouseEvent to MouseEventWithHitTestResults.
              (WebCore::FrameView::viewportWheelEvent): Change from QWheelEvent to
              WheelEvent.
              (WebCore::FrameView::hoverTimerFired): Update for change to prepareMouseEvent
              parameters.
      
              * platform/Widget.h:
              * platform/Widget.cpp: Removed event function.
      
              * rendering/render_form.h: Removed LineEditWidget, ComboBoxWidget, TextAreaWidget.
              * rendering/render_form.cpp:
              (WebCore::RenderFormElement::slotClicked): Changed from QMouseEvent to MouseEvent.
              (WebCore::RenderFormElement::addIntrinsicMarginsIfAllowed): Updated for changes
              to the Length class.
              (WebCore::RenderSelect::setWidgetWritingDirection): Updated for removal of
              ComboBoxWidget.
              (WebCore::RenderSelect::slotSelected): Ditto.
              (WebCore::RenderSelect::createComboBox): Ditto.
      
              * rendering/render_replaced.h:
              * rendering/render_replaced.cpp:
              (WebCore::RenderWidget::destroy): Updated since removeEventFilter no longer takes
              a parameter.
              (WebCore::RenderWidget::setQWidget): Ditto.
              (WebCore::RenderWidget::eventFilterFocusIn): Added. Replaces eventFilter.
              (WebCore::RenderWidget::eventFilterFocusOut): Ditto.
      
              * css/css_computedstyle.cpp:
              (WebCore::valueForLength):
              (WebCore::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
              * css/cssstyleselector.cpp:
              (WebCore::checkPseudoState):
              (WebCore::CSSStyleSelector::applyProperty):
              (WebCore::CSSStyleSelector::getComputedSizeFromSpecifiedSize):
              * khtml/html/html_imageimpl.cpp:
              (WebCore::HTMLAreaElementImpl::getRegion):
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::MarginInfo::MarginInfo):
              (WebCore::RenderBlock::isSelfCollapsingBlock):
              (WebCore::RenderBlock::layoutBlock):
              (WebCore::RenderBlock::determineHorizontalPosition):
              (WebCore::RenderBlock::leftRelOffset):
              (WebCore::RenderBlock::rightRelOffset):
              (WebCore::RenderBlock::calcMinMaxWidth):
              (WebCore::getBPMWidth):
              (WebCore::RenderBlock::calcInlineMinMaxWidth):
              (WebCore::RenderBlock::calcBlockMinMaxWidth):
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::calcWidth):
              (WebCore::RenderTable::layout):
              * rendering/RenderTableCell.cpp:
              (WebCore::RenderTableCell::calcMinMaxWidth):
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::addChild):
              (WebCore::RenderTableSection::addCell):
              (WebCore::RenderTableSection::calcRowHeight):
              (WebCore::RenderTableSection::layoutRows):
              * rendering/RenderText.h:
              (khtml::RenderText::marginLeft):
              (khtml::RenderText::marginRight):
              * rendering/bidi.cpp:
              (khtml::getBPMWidth):
              * rendering/render_applet.cpp:
              (WebCore::RenderApplet::createWidgetIfNecessary):
              * rendering/render_box.cpp:
              (WebCore::RenderBox::paintBackgroundExtended):
              (WebCore::RenderBox::getClipRect):
              (WebCore::RenderBox::relativePositionOffset):
              (WebCore::RenderBox::calcWidth):
              (WebCore::RenderBox::calcWidthUsing):
              (WebCore::RenderBox::sizesToIntrinsicWidth):
              (WebCore::RenderBox::calcHorizontalMargins):
              (WebCore::RenderBox::calcHeight):
              (WebCore::RenderBox::calcHeightUsing):
              (WebCore::RenderBox::calcPercentageHeight):
              (WebCore::RenderBox::calcReplacedWidth):
              (WebCore::RenderBox::calcReplacedWidthUsing):
              (WebCore::RenderBox::calcReplacedHeight):
              (WebCore::RenderBox::calcReplacedHeightUsing):
              (WebCore::RenderBox::availableHeightUsing):
              (WebCore::RenderBox::calcVerticalMargins):
              (WebCore::RenderBox::calcAbsoluteHorizontal):
              (WebCore::RenderBox::calcAbsoluteHorizontalValues):
              (WebCore::RenderBox::calcAbsoluteVertical):
              (WebCore::RenderBox::calcAbsoluteVerticalValues):
              * rendering/render_br.cpp:
              (WebCore::RenderBR::lineHeight):
              * rendering/render_flexbox.cpp:
              (khtml::RenderFlexibleBox::calcHorizontalMinMaxWidth):
              (khtml::RenderFlexibleBox::calcVerticalMinMaxWidth):
              (khtml::RenderFlexibleBox::calcMinMaxWidth):
              (khtml::RenderFlexibleBox::allowedChildFlex):
              * rendering/render_flow.cpp:
              (WebCore::RenderFlow::lineHeight):
              * rendering/render_frames.cpp:
              (WebCore::RenderFrameSet::layout):
              * rendering/render_image.cpp:
              (WebCore::RenderImage::isWidthSpecified):
              (WebCore::RenderImage::isHeightSpecified):
              * rendering/render_layer.cpp:
              (WebCore::Marquee::direction):
              (WebCore::Marquee::start):
              (WebCore::Marquee::updateMarqueeStyle):
              (WebCore::Marquee::timerFired):
              * rendering/render_line.cpp:
              (WebCore::InlineFlowBox::marginLeft):
              (WebCore::InlineFlowBox::marginRight):
              * rendering/render_object.cpp:
              (WebCore::RenderObject::mustRepaintBackgroundOrBorder):
              (WebCore::RenderObject::paintBorderImage):
              (WebCore::RenderObject::paddingTop):
              (WebCore::RenderObject::paddingBottom):
              (WebCore::RenderObject::paddingLeft):
              (WebCore::RenderObject::paddingRight):
              (WebCore::RenderObject::getVerticalPosition):
              (WebCore::RenderObject::lineHeight):
              (WebCore::RenderObject::addDashboardRegions):
              * rendering/render_style.h:
              * rendering/render_theme_mac.mm:
              (WebCore::RenderThemeMac::addIntrinsicMargins):
              * rendering/table_layout.cpp:
              (WebCore::FixedTableLayout::calcWidthArray):
              (WebCore::FixedTableLayout::calcMinMaxWidth):
              (WebCore::FixedTableLayout::layout):
              (WebCore::AutoTableLayout::recalcColumn):
              (WebCore::AutoTableLayout::fullRecalc):
              (WebCore::AutoTableLayout::calcMinMaxWidth):
              (WebCore::AutoTableLayout::calcEffectiveWidth):
              (WebCore::AutoTableLayout::layout):
              (WebCore::AutoTableLayout::calcPercentages):
              Updated for changes to the Length class.
              Also removed a check of the printpainter global, never used in WebCore.
      
              * bindings/objc/DOM.mm:
              * bindings/objc/DOMCSS.mm:
              * bindings/objc/DOMHTML.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * css/csshelper.cpp:
              * editing/SelectionController.cpp:
              * khtml/ecma/kjs_html.h:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQClipboard.mm:
              * kwq/KWQFont.mm:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQKJobClasses.mm:
              * kwq/KWQKURL.mm:
              * kwq/KWQLoader.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQPainter.mm:
              * kwq/WebCoreSettings.mm:
              * platform/StringImpl.cpp:
              * platform/mac/CursorMac.mm:
              * platform/mac/WidgetMac.mm:
              * rendering/RenderBlock.h:
              * rendering/render_canvas.cpp:
              * rendering/render_line.h:
              * rendering/render_style.cpp:
              * rendering/table_layout.h:
              Updated includes.
      
              * bindings/js/JSDOMCore.cpp: Touched, because I got strange failures if this
              didn't rebuild.
              * bindings/js/JSDOMEvents.cpp: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      947a31b6
  6. 02 Feb, 2006 1 commit
    • ggaren's avatar
      Reviewed by mjs. · 4fcce128
      ggaren authored
              Cleaned up some stuff I came across when working with JS enabled/
              disabled code:
      
              (1) Renamed initScript to initScriptIfNeeded, because that's what it
                  does
              (2) Removed dead or otherwise irrelevent code
              (3) Fixed up comments
              (4) Removed NULL checks for interpreter() since it never returns NULL,
                  replaced with single assert().
      
              No test case because there's no change in behavior.
      
              * khtml/ecma/kjs_proxy.cpp:
              (WebCore::KJSProxyImpl::evaluate): 1
              (WebCore::KJSProxyImpl::createHTMLEventHandler): 1
              (WebCore::KJSProxyImpl::createSVGEventHandler): 1
              (WebCore::KJSProxyImpl::interpreter): 4
              (WebCore::KJSProxyImpl::initScriptIfNeeded): 1
              * khtml/ecma/kjs_proxy.h: 1
              * page/Frame.cpp:
              (Frame::didOpenURL): 2, 3
              (Frame::stopLoading): 2
              (Frame::jScriptEnabled): 2
              (Frame::jScript): changed method call to data member access to match
                                style of rest of class
              (Frame::javaEnabled): 2
              (Frame::pluginsEnabled): 2
              (Frame::begin): 3
              (Frame::userGestureHint): 4
              (Frame::pauseTimeouts): collapsed a line
              (Frame::resumeTimeouts): ditto
              (Frame::saveInterpreterBuiltins): 4
              (Frame::restoreInterpreterBuiltins): 4
              * page/Frame.h: 2
              * page/FramePrivate.h: 2
              (FramePrivate::FramePrivate): 2
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4fcce128
  7. 31 Jan, 2006 1 commit
    • darin's avatar
      WebCore: · ffd93c32
      darin authored
              Reviewed by Hyatt.
      
              - added a Timer class
              - used the Timer class for the redirection timer
              - moved Frame, FrameView, MacFrame, and FrameNodeTree into WebCore namespace
              - removed more KWQ
      
              * ForwardingHeaders/khtml_factory.h: Removed.
              * kwq/KWQKHTMLFactory.cpp: Removed.
              * kwq/KWQKHTMLFactory.h: Removed.
      
              * platform/Timer.h: Added.
              * platform/mac/Timer.cpp: Added.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for added and removed files.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * page/Frame.h:
              * page/Frame.cpp:
              (WebCore::Frame::init): Remove code to set up slotRedirect.
              (WebCore::Frame::checkCompleted): Call start/stopRedirectionTimer instead of using
              the redirection timer directly.
              (WebCore::Frame::scheduleRedirection): Ditto.
              (WebCore::Frame::scheduleLocationChange): Ditto.
              (WebCore::Frame::scheduleHistoryNavigation): Ditto.
              (WebCore::Frame::cancelRedirection): Ditto.
              (WebCore::Frame::redirectionTimerFired): Renamed from slotRedirect.
              (WebCore::Frame::slotParentCompleted): More startRedirectionTimer.
              (WebCore::Frame::startRedirectionTimer): Added. Virtual bottleneck to start the
              redirection timer.
              (WebCore::Frame::stopRedirectionTimer): Added. Virtual bottleneck to stop the
              redirection timer.
      
              * page/FramePrivate.h: Changed m_redirectionTimer from a QTimer to a Timer.
      
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::startRedirectionTimer): Added. Avoids the need for the QTimer
              "monitor" feature that I had added a while back to implement the client-redirected
              callback.
              (WebCore::MacFrame::stopRedirectionTimer): Ditto.
      
              * kwq/KWQSlot.cpp: Removed slotRedirected.
      
              * ForwardingHeaders/ksvg2/KSVGPart.h: Removed using to put Frame into various
              namespaces (all of which are WebCore now anyway).
      
              * bindings/objc/DOMInternal.mm:
              * bridge/mac/BrowserExtensionMac.h:
              * bridge/mac/KWQKHTMLView.cpp:
              * bridge/mac/MacFrame.h:
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              * bridge/mac/WebCorePageBridge.h:
              * bridge/mac/WebCorePageBridge.mm:
              * css/cssstyleselector.cpp:
              * css/cssstyleselector.h:
              * khtml/ecma/kjs_binding.cpp:
              * khtml/ecma/kjs_binding.h:
              * khtml/ecma/kjs_navigator.cpp:
              * khtml/ecma/kjs_navigator.h:
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_window.h:
              * khtml/editing/SelectionController.h:
              * khtml/editing/jsediting.h:
              * khtml/html/html_baseimpl.h:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_documentimpl.h:
              * khtml/html/html_headimpl.h:
              * khtml/html/htmlparser.h:
              * khtml/html/htmltokenizer.h:
              * khtml/xml/DOMImplementationImpl.h:
              * khtml/xml/DocumentImpl.h:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/xml_tokenizer.h:
              * khtml/xsl/xslt_processorimpl.h:
              * ksvg2/svg/SVGDocumentImpl.cpp:
              * kwq/KWQClipboard.h:
              * kwq/KWQComboBox.mm:
              * kwq/KWQFileButton.h:
              * kwq/KWQFrame.mm:
              * kwq/KWQKJavaAppletWidget.h:
              * kwq/KWQListBox.mm:
              * kwq/KWQSignalStubs.cpp:
              * kwq/KWQSlider.mm:
              * kwq/KWQTextField.mm:
              * kwq/KWQWidget.mm:
              * kwq/WebCoreSettings.mm:
              * kwq/WebCoreTextRendererFactory.mm:
              * loader/DocLoader.h:
              * page/FrameTreeNode.cpp:
              * page/FrameTreeNode.h:
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/Page.cpp:
              * page/Page.h:
              * rendering/InlineTextBox.h:
              * rendering/font.cpp:
              * rendering/render_canvas.h:
              * rendering/render_frames.h:
              * rendering/render_object.h:
              * rendering/render_replaced.h:
              Updated for namespace and header changes.
      
      WebKit:
      
              Reviewed by Hyatt.
      
              * WebCoreSupport.subproj/WebFrameBridge.m:
              (-[WebFrameBridge createChildFrameNamed:withURL:referrer:renderPart:allowsScrolling:marginWidth:marginHeight:]):
              Updated for name change.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ffd93c32
  8. 30 Jan, 2006 1 commit
    • darin's avatar
      Reviewed by Maciej. · 5630e07f
      darin authored
              - killed more KWQ, KWinModule and QVariant
      
              * ForwardingHeaders/kwinmodule.h: Removed.
              * ForwardingHeaders/qvariant.h: Removed.
      
              * kwq/KWQKWinModule.h: Removed.
              * kwq/KWQKWinModule.mm: Removed.
              * kwq/KWQVariant.cpp: Removed.
              * kwq/KWQVariant.h: Removed.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for removal.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
      
              * khtml/ecma/kjs_binding.h:
              * khtml/ecma/kjs_binding.cpp: Remove QVariant stuff.
      
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
              * khtml/ecma/kjs_events.cpp: (KJS::JSAbstractEventListener::handleEvent):
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_proxy.cpp: (WebCore::KJSProxyImpl::evaluate):
              * page/Frame.h:
              * page/Frame.cpp:
              (getString):
              (Frame::replaceContentsWithScriptResult):
              (Frame::executeScript):
              (Frame::executeScheduledScript):
              (Frame::changeLocation):
              (Frame::urlSelected):
              (Frame::submitForm):
              Changed to use JSValue instead of QVariant for result of executing JavaScript.
      
              * kwq/KWQObject.h: Removed a bunch of unneeded includes and forward declarations.
      
              * bridge/mac/MacFrame.mm:
              * khtml/ecma/kjs_window.h:
              * khtml/ecma/kjs_window.cpp:
              * khtml/html/html_inlineimpl.cpp:
              * khtml/html/htmltokenizer.cpp:
              * khtml/xml/DocumentImpl.cpp:
              * khtml/xml/NodeImpl.cpp:
              * khtml/xml/dom2_eventsimpl.cpp:
              * khtml/xml/xml_tokenizer.cpp:
              * kwq/KWQComboBox.mm:
              * kwq/KWQFileButton.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQObject.cpp:
              * kwq/KWQSlider.mm:
              * kwq/KWQTextArea.mm:
              * kwq/KWQTextField.mm:
              * loader/CachedImage.h:
              * page/FrameView.h:
              * page/FrameView.cpp:
              * rendering/render_form.cpp:
              Updated includes, since KWQObject.h now includes less.
              Also updated callers to executeScript since one overload was removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5630e07f
  9. 22 Jan, 2006 1 commit
    • eseidel's avatar
      2006-01-22 Eric Seidel <eseidel@apple.com> · 1baa4444
      eseidel authored
              Reviewed by darin.
      
              SVG needs to support "evt" instead of "event" in event handlers.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5874
      
              * WebCore.xcodeproj/project.pbxproj: added new classes
              * khtml/ecma/kjs_events.cpp:
              * khtml/ecma/kjs_events.h:
              * khtml/ecma/kjs_proxy.cpp:
              (WebCore::KJSProxyImpl::createHTMLEventHandler): simplified
              (WebCore::KJSProxyImpl::createSVGEventHandler): new
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/kjs_window.h:
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::createHTMLEventListener): simplified
              (WebCore::DocumentImpl::createSVGEventListener): new
              * khtml/xml/DocumentImpl.h:
              * khtml/xml/NodeImpl.cpp:
              (WebCore::NodeImpl::dispatchEvent): use RefPtr
              * ksvg2/events/JSSVGLazyEventListener.cpp: Added.
              (WebCore::JSSVGLazyEventListener::JSSVGLazyEventListener): added.
              (WebCore::JSSVGLazyEventListener::eventParameterName): added.
              * ksvg2/events/JSSVGLazyEventListener.h: Added.
              * ksvg2/svg/SVGElementImpl.cpp:
              (SVGElementImpl::parseMappedAttribute): use new SVG event handler
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              (SVGSVGElementImpl::parseMappedAttribute): use new SVG event handler
              * page/Frame.cpp: updated KJSProxyImpl namespace
              * page/Frame.h: updated KJSProxyImpl namespace
              * page/FramePrivate.h: updated KJSProxyImpl namespace
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1baa4444
  10. 09 Jan, 2006 1 commit
    • 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
  11. 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
  12. 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
  13. 12 May, 2005 1 commit
    • darin's avatar
      Reviewed by Maciej (except for some parts outside the ECMA directory). · 37da08c4
      darin authored
              - switch KJS wrappers over to using the DOM impl. classes rather than using
                the DOM wrappers; will allow us to not even compile the DOM wrappers and
                make the code smaller
      
              * khtml/css/css_valueimpl.h: Added CSSStyleDeclarationImpl::isPropertyName,
              removed CSSStyleDeclarationImpl::propertyID.
              * khtml/css/css_valueimpl.cpp:
              (DOM::propertyID): Added. Gets property ID given a DOM string. Replaces the
              previous version that had hacks that we want to leave in the JS wrapper for now.
              (DOM::CSSStyleDeclarationImpl::isPropertyName): Added.
      
              * khtml/css/cssproperties.in: Fixed up comments.
      
              * khtml/css/makeprop: Added new maxCSSPropertyNameLength constant, used for
              buffer size in the propertyID function.
      
              * khtml/dom/dom2_events.h: Added handleEventImpl, making it easier to call
              handleEvent in a way that works either with or without the C++ DOM wrappers.
              * khtml/dom/dom2_events.cpp: (EventListener::handleEventImpl): Added.
      
              * khtml/dom/dom2_views.cpp: Added now-needed include.
              * khtml/dom/dom_doc.cpp: Added now-needed include.
              * khtml/dom/dom_element.cpp: Tweaked includes.
      
              * khtml/editing/htmlediting.cpp: Removed now-unneeded include.
              * khtml/html/html_baseimpl.cpp: Ditto.
              * khtml/html/html_formimpl.h: Ditto.
              * khtml/rendering/render_form.h: Ditto.
              * khtml/rendering/render_style.h: Ditto.
              * khtml/xml/dom2_eventsimpl.cpp: Ditto.
              * khtml/xml/dom2_viewsimpl.h: Ditto.
              * khtml/xml/dom_elementimpl.h: Ditto.
              * khtml/xml/dom_stringimpl.h: Ditto.
              * kwq/DOM.mm: Ditto.
              * kwq/DOMHTML.mm: Ditto.
      
              * khtml/khtml_part.cpp: Tweaked incluudes.
              * khtml/khtmlpart_p.h: Ditto.
      
              * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::canCachePage): Change to use DOM impl. rather
              than C++ DOM.
      
              * khtml/xml/dom_docimpl.cpp:
              (DOMImplementationImpl::createDocumentType): Disabled the calls to the not-implemented
              name checks in the C++ DOM wrappers. If we add name changes, we'll want them inside the
              impl, not in the wrappers.
              (DOMImplementationImpl::createDocument): Ditto.
              * khtml/xml/dom_nodeimpl.cpp: (NodeImpl::checkSetPrefix): Ditto.
      
              * khtml/ecma/kjs_binding.cpp:
              (KJS::ScriptInterpreter::wasRunByUserGesture):
              (KJS::KJS::ValueToVariant):
              (KJS::setDOMException):
              * khtml/ecma/kjs_binding.h:
              (KJS::ScriptInterpreter::setCurrentEvent):
              (KJS::ScriptInterpreter::getCurrentEvent):
              (KJS::cacheDOMObject):
              (KJS::DOMExceptionTranslator::DOMExceptionTranslator):
              (KJS::DOMExceptionTranslator::~DOMExceptionTranslator):
              (KJS::DOMExceptionTranslator::operator int &):
              (KJS::cacheGlobalObject):
              * khtml/ecma/kjs_css.cpp:
              (KJS::cssPropertyName):
              (KJS::isCSSPropertyName):
              (KJS::DOMCSSStyleDeclaration::DOMCSSStyleDeclaration):
              (KJS::DOMCSSStyleDeclaration::~DOMCSSStyleDeclaration):
              (KJS::DOMCSSStyleDeclaration::hasProperty):
              (KJS::DOMCSSStyleDeclaration::tryGet):
              (KJS::DOMCSSStyleDeclaration::tryPut):
              (KJS::DOMCSSStyleDeclarationProtoFunc::tryCall):
              (KJS::getDOMCSSStyleDeclaration):
              (KJS::DOMStyleSheet::~DOMStyleSheet):
              (KJS::DOMStyleSheet::getValueProperty):
              (KJS::DOMStyleSheet::tryPut):
              (KJS::getDOMStyleSheet):
              (KJS::DOMStyleSheetList::~DOMStyleSheetList):
              (KJS::DOMStyleSheetList::tryGet):
              (KJS::getDOMStyleSheetList):
              (KJS::DOMStyleSheetListFunc::tryCall):
              (KJS::DOMMediaList::DOMMediaList):
              (KJS::DOMMediaList::~DOMMediaList):
              (KJS::DOMMediaList::tryGet):
              (KJS::DOMMediaList::tryPut):
              (KJS::getDOMMediaList):
              (KJS::KJS::DOMMediaListProtoFunc::tryCall):
              (KJS::DOMCSSStyleSheet::DOMCSSStyleSheet):
              (KJS::DOMCSSStyleSheet::tryGet):
              (KJS::DOMCSSStyleSheetProtoFunc::tryCall):
              (KJS::DOMCSSRuleList::~DOMCSSRuleList):
              (KJS::DOMCSSRuleList::tryGet):
              (KJS::DOMCSSRuleListFunc::tryCall):
              (KJS::getDOMCSSRuleList):
              (KJS::DOMCSSRule::~DOMCSSRule):
              (KJS::DOMCSSRule::classInfo):
              (KJS::DOMCSSRule::tryGet):
              (KJS::DOMCSSRule::getValueProperty):
              (KJS::DOMCSSRule::putValue):
              (KJS::DOMCSSRuleFunc::tryCall):
              (KJS::getDOMCSSRule):
              (KJS::DOMCSSValue::~DOMCSSValue):
              (KJS::DOMCSSValue::tryGet):
              (KJS::DOMCSSValue::tryPut):
              (KJS::getDOMCSSValue):
              (KJS::DOMCSSPrimitiveValue::DOMCSSPrimitiveValue):
              (KJS::DOMCSSPrimitiveValue::tryGet):
              (KJS::DOMCSSPrimitiveValueProtoFunc::tryCall):
              (KJS::DOMCSSValueList::DOMCSSValueList):
              (KJS::DOMCSSValueList::tryGet):
              (KJS::DOMCSSValueListFunc::tryCall):
              (KJS::DOMRGBColor::getValueProperty):
              (KJS::getDOMRGBColor):
              (KJS::DOMRect::~DOMRect):
              (KJS::DOMRect::getValueProperty):
              (KJS::getDOMRect):
              (KJS::DOMCounter::~DOMCounter):
              (KJS::DOMCounter::getValueProperty):
              (KJS::getDOMCounter):
              * khtml/ecma/kjs_css.h:
              (KJS::DOMCSSStyleDeclaration::impl):
              (KJS::DOMStyleSheet::DOMStyleSheet):
              (KJS::DOMStyleSheet::impl):
              (KJS::DOMStyleSheetList::DOMStyleSheetList):
              (KJS::DOMStyleSheetList::impl):
              (KJS::DOMMediaList::impl):
              (KJS::DOMCSSStyleSheet::):
              (KJS::DOMCSSRuleList::DOMCSSRuleList):
              (KJS::DOMCSSRuleList::impl):
              (KJS::DOMCSSRule::DOMCSSRule):
              (KJS::DOMCSSRule::impl):
              (KJS::DOMCSSValue::DOMCSSValue):
              (KJS::DOMCSSValue::impl):
              (KJS::DOMCSSValueList::):
              (KJS::DOMRGBColor::DOMRGBColor):
              (KJS::DOMRect::DOMRect):
              (KJS::DOMCounter::DOMCounter):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNodeListFunc::):
              (KJS::DOMNode::DOMNode):
              (KJS::DOMNode::toBoolean):
              (KJS::DOMNode::getValueProperty):
              (KJS::DOMNode::putValue):
              (KJS::DOMNode::toPrimitive):
              (KJS::DOMNode::toString):
              (KJS::DOMNode::setListener):
              (KJS::DOMNode::getListener):
              (KJS::DOMNodeProtoFunc::tryCall):
              (KJS::toNode):
              (KJS::DOMNodeList::~DOMNodeList):
              (KJS::DOMNodeList::toPrimitive):
              (KJS::DOMNodeList::tryGet):
              (KJS::DOMNodeList::tryCall):
              (KJS::DOMNodeListFunc::tryCall):
              (KJS::DOMAttr::DOMAttr):
              (KJS::DOMAttr::getValueProperty):
              (KJS::DOMAttr::putValue):
              (KJS::toAttr):
              (KJS::DOMDocument::DOMDocument):
              (KJS::DOMDocument::~DOMDocument):
              (KJS::DOMDocument::getValueProperty):
              (KJS::DOMDocument::putValue):
              (KJS::DOMDocumentProtoFunc::tryCall):
              (KJS::DOMElement::DOMElement):
              (KJS::DOMElement::tryGet):
              (KJS::DOMElementProtoFunc::tryCall):
              (KJS::toElement):
              (KJS::DOMDOMImplementation::DOMDOMImplementation):
              (KJS::DOMDOMImplementation::~DOMDOMImplementation):
              (KJS::DOMDOMImplementationProtoFunc::tryCall):
              (KJS::DOMDocumentType::DOMDocumentType):
              (KJS::DOMDocumentType::getValueProperty):
              (KJS::toDocumentType):
              (KJS::DOMNamedNodeMap::DOMNamedNodeMap):
              (KJS::DOMNamedNodeMap::~DOMNamedNodeMap):
              (KJS::DOMNamedNodeMap::tryGet):
              (KJS::DOMNamedNodeMapProtoFunc::tryCall):
              (KJS::DOMProcessingInstruction::DOMProcessingInstruction):
              (KJS::DOMProcessingInstruction::getValueProperty):
              (KJS::DOMProcessingInstruction::tryPut):
              (KJS::DOMNotation::DOMNotation):
              (KJS::DOMNotation::getValueProperty):
              (KJS::DOMEntity::DOMEntity):
              (KJS::DOMEntity::getValueProperty):
              (KJS::getDOMDocumentNode):
              (KJS::checkNodeSecurity):
              (KJS::getDOMNode):
              (KJS::getDOMNamedNodeMap):
              (KJS::getRuntimeObject):
              (KJS::getDOMNodeList):
              (KJS::getDOMDOMImplementation):
              (KJS::getNodeConstructor):
              (KJS::getDOMExceptionConstructor):
              (KJS::DOMNamedNodesCollection::DOMNamedNodesCollection):
              (KJS::DOMNamedNodesCollection::tryGet):
              (KJS::DOMCharacterData::DOMCharacterData):
              (KJS::DOMCharacterData::getValueProperty):
              (KJS::DOMCharacterData::tryPut):
              (KJS::DOMCharacterDataProtoFunc::tryCall):
              (KJS::DOMText::DOMText):
              (KJS::DOMTextProtoFunc::tryCall):
              * khtml/ecma/kjs_dom.h:
              (KJS::DOMNode::impl):
              (KJS::DOMNodeList::DOMNodeList):
              (KJS::DOMNodeList::impl):
              (KJS::DOMDOMImplementation::impl):
              (KJS::DOMNamedNodeMap::impl):
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              (KJS::JSLazyEventListener::handleEvent):
              (KJS::getNodeEventListener):
              (KJS::DOMEvent::DOMEvent):
              (KJS::DOMEvent::~DOMEvent):
              (KJS::DOMEvent::getValueProperty):
              (KJS::DOMEvent::putValue):
              (KJS::DOMEventProtoFunc::tryCall):
              (KJS::getDOMEvent):
              (KJS::toEvent):
              (KJS::DOMUIEvent::DOMUIEvent):
              (KJS::DOMUIEvent::getValueProperty):
              (KJS::DOMUIEventProtoFunc::tryCall):
              (KJS::DOMMouseEvent::DOMMouseEvent):
              (KJS::DOMMouseEvent::getValueProperty):
              (KJS::DOMMouseEventProtoFunc::tryCall):
              (KJS::DOMKeyboardEvent::DOMKeyboardEvent):
              (KJS::DOMKeyboardEvent::getValueProperty):
              (KJS::DOMKeyboardEventProtoFunc::tryCall):
              (KJS::DOMMutationEvent::DOMMutationEvent):
              (KJS::DOMMutationEvent::getValueProperty):
              (KJS::DOMMutationEventProtoFunc::tryCall):
              (KJS::DOMWheelEvent::DOMWheelEvent):
              (KJS::DOMWheelEvent::getValueProperty):
              (KJS::ClipboardProtoFunc::tryCall):
              * khtml/ecma/kjs_events.h:
              (KJS::DOMEvent::impl):
              (KJS::DOMUIEvent::):
              (KJS::DOMMouseEvent::):
              (KJS::DOMKeyboardEvent::):
              (KJS::DOMMutationEvent::):
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::HTMLDocFunction::tryCall):
              (KJS::HTMLDocument::HTMLDocument):
              (KJS::HTMLDocument::hasProperty):
              (KJS::HTMLDocument::tryGet):
              (KJS::KJS::HTMLDocument::putValue):
              (KJS::KJS::HTMLElement::classInfo):
              (KJS::HTMLElement::HTMLElement):
              (KJS::KJS::HTMLElement::tryGet):
              (KJS::KJS::HTMLElement::implementsCall):
              (KJS::KJS::HTMLElement::call):
              (KJS::KJS::HTMLElement::getValueProperty):
              (KJS::KJS::HTMLElement::hasProperty):
              (KJS::KJS::HTMLElement::toString):
              (KJS::getForm):
              (KJS::KJS::HTMLElement::pushEventHandlerScope):
              (KJS::KJS::HTMLElementFunction::tryCall):
              (KJS::KJS::HTMLElement::tryPut):
              (KJS::HTMLElement::putValue):
              (KJS::toHTMLElement):
              (KJS::toHTMLTableCaptionElement):
              (KJS::toHTMLTableSectionElement):
              (KJS::HTMLCollection::HTMLCollection):
              (KJS::HTMLCollection::~HTMLCollection):
              (KJS::KJS::HTMLCollection::tryGet):
              (KJS::KJS::HTMLCollection::tryCall):
              (KJS::KJS::HTMLCollection::getNamedItems):
              (KJS::KJS::HTMLCollectionProtoFunc::tryCall):
              (KJS::HTMLSelectCollection::HTMLSelectCollection):
              (KJS::KJS::HTMLSelectCollection::tryGet):
              (KJS::KJS::HTMLSelectCollection::tryPut):
              (KJS::OptionConstructorImp::OptionConstructorImp):
              (KJS::OptionConstructorImp::construct):
              (KJS::ImageConstructorImp::ImageConstructorImp):
              (KJS::ImageConstructorImp::construct):
              (KJS::Image::notifyFinished):
              (KJS::Image::Image):
              (KJS::KJS::Context2DFunction::tryCall):
              (KJS::):
              (KJS::colorRefFromValue):
              (KJS::colorFromValue):
              (KJS::Context2D::putValue):
              (KJS::Context2D::Context2D):
              (KJS::Context2D::mark):
              (KJS::GradientFunction::tryCall):
              (KJS::ImagePattern::tryGet):
              (KJS::getHTMLCollection):
              (KJS::getSelectHTMLCollection):
              * khtml/ecma/kjs_html.h:
              (KJS::HTMLDocument::):
              (KJS::HTMLElement::):
              (KJS::HTMLCollection::impl):
              * khtml/ecma/kjs_navigator.cpp:
              * khtml/ecma/kjs_proxy.cpp:
              (KJSProxyImpl::evaluate):
              (KJSProxyImpl::finishedWithEvent):
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_range.cpp:
              (KJS::DOMRange::DOMRange):
              (KJS::DOMRange::~DOMRange):
              (KJS::DOMRange::tryGet):
              (KJS::DOMRange::getValueProperty):
              (KJS::DOMRangeProtoFunc::tryCall):
              (KJS::getDOMRange):
              (KJS::RangeConstructor::tryGet):
              (KJS::getRangeConstructor):
              (KJS::toRange):
              * khtml/ecma/kjs_range.h:
              (KJS::DOMRange::impl):
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::DOMNodeIterator::DOMNodeIterator):
              (KJS::DOMNodeIterator::~DOMNodeIterator):
              (KJS::DOMNodeIterator::getValueProperty):
              (KJS::DOMNodeIteratorProtoFunc::tryCall):
              (KJS::getDOMNodeIterator):
              (KJS::DOMNodeFilter::DOMNodeFilter):
              (KJS::DOMNodeFilter::~DOMNodeFilter):
              (KJS::DOMNodeFilterProtoFunc::tryCall):
              (KJS::getDOMNodeFilter):
              (KJS::toNodeFilter):
              (KJS::DOMTreeWalker::DOMTreeWalker):
              (KJS::DOMTreeWalker::~DOMTreeWalker):
              (KJS::DOMTreeWalker::getValueProperty):
              (KJS::DOMTreeWalker::tryPut):
              (KJS::DOMTreeWalkerProtoFunc::tryCall):
              (KJS::getDOMTreeWalker):
              (KJS::JSNodeFilterCondition::acceptNode):
              * khtml/ecma/kjs_traversal.h:
              (KJS::DOMNodeIterator::impl):
              (KJS::DOMNodeFilter::impl):
              (KJS::DOMTreeWalker::impl):
              * khtml/ecma/kjs_views.cpp:
              (KJS::DOMAbstractView::~DOMAbstractView):
              (KJS::DOMAbstractView::tryGet):
              (KJS::DOMAbstractViewFunc::tryCall):
              (KJS::getDOMAbstractView):
              (KJS::toAbstractView):
              * khtml/ecma/kjs_views.h:
              (KJS::DOMAbstractView::DOMAbstractView):
              (KJS::DOMAbstractView::impl):
              * khtml/ecma/kjs_window.cpp:
              (KJS::Window::get):
              (KJS::Window::hasProperty):
              (KJS::Window::put):
              (KJS::Window::setListener):
              (KJS::Window::getListener):
              (KJS::Window::setCurrentEvent):
              (KJS::WindowFunc::tryCall):
              (KJS::Location::put):
              (KJS::LocationFunc::tryCall):
              (KJS::Selection::get):
              (KJS::SelectionFunc::tryCall):
              * khtml/ecma/kjs_window.h:
              * khtml/ecma/xmlhttprequest.cpp:
              (KJS::XMLHttpRequestConstructorImp::XMLHttpRequestConstructorImp):
              (KJS::XMLHttpRequestConstructorImp::~XMLHttpRequestConstructorImp):
              (KJS::XMLHttpRequestConstructorImp::construct):
              (KJS::XMLHttpRequest::getValueProperty):
              (KJS::XMLHttpRequest::XMLHttpRequest):
              (KJS::XMLHttpRequest::changeState):
              (KJS::XMLHttpRequest::open):
              (KJS::XMLHttpRequestProtoFunc::tryCall):
              * khtml/ecma/xmlhttprequest.h:
              * khtml/ecma/xmlserializer.cpp:
              (KJS::XMLSerializerProtoFunc::tryCall):
              * khtml/ecma/xmlserializer.h:
              * kwq/DOMInternal.mm:
              (-[WebScriptObject _initializeScriptDOMNodeImp]):
              * kwq/DOMUtility.mm:
              (KJS::ScriptInterpreter::createObjcInstanceForValue):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37da08c4
  14. 01 Mar, 2005 1 commit
    • mjs's avatar
      Reviewed by Vicki. · 55febf44
      mjs authored
      	<rdar://problem/4003774> REGRESSION(125-181): JavaScript problems @ Yankee/Dixie quiz
      
      	Reworked how scopes are set up for event handlers to match other
      	browser. This includes the following changes:
      
      	- Special scope entries are set up at the time the event handler
      	is created, not at the time it fires.
      
      	- Special scope is only set up for event handlers set in the html
      	source through an html attribute, not for handlers set using
      	addEventHandler or setting JS properties like onclick through
      	JavaScript.
      
      	- Special scope is based on the DOM node on which the handler is
      	an attribute, not the event target.
      
      	This fixes the regression while allowing the fix to
      	<rdar://problem/3798453> (DIG: getting variable with same name as
      	DOM element attribute gets attribute value instead) to keep
      	working correctly.
      
      	* khtml/ecma/kjs_events.cpp:
              (JSEventListener::handleEvent):
              (JSLazyEventListener::JSLazyEventListener):
              (JSLazyEventListener::parseCode):
              * khtml/ecma/kjs_events.h:
              * khtml/ecma/kjs_proxy.cpp:
              (KJSProxyImpl::createHTMLEventHandler):
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_window.cpp:
              (Window::getJSLazyEventListener):
              * khtml/ecma/kjs_window.h:
              * khtml/html/html_baseimpl.cpp:
              (HTMLBodyElementImpl::parseHTMLAttribute):
              (HTMLFrameElementImpl::parseHTMLAttribute):
              (HTMLFrameSetElementImpl::parseHTMLAttribute):
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::parseHTMLAttribute):
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::parseHTMLAttribute):
              (DOM::HTMLButtonElementImpl::parseHTMLAttribute):
              (DOM::HTMLInputElementImpl::parseHTMLAttribute):
              (DOM::HTMLLabelElementImpl::parseHTMLAttribute):
              (DOM::HTMLSelectElementImpl::parseHTMLAttribute):
              (DOM::HTMLTextAreaElementImpl::parseHTMLAttribute):
              * khtml/html/html_imageimpl.cpp:
              (HTMLImageElementImpl::parseHTMLAttribute):
              * khtml/html/html_objectimpl.cpp:
              (HTMLObjectElementImpl::parseHTMLAttribute):
              * khtml/khtml_part.cpp:
              (KHTMLPart::createHTMLEventListener):
              * khtml/khtml_part.h:
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::createHTMLEventListener):
              * khtml/xml/dom_docimpl.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@8731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55febf44
  15. 21 Mar, 2002 1 commit
  16. 24 Aug, 2001 1 commit