Commit 7811b780 authored by eseidel's avatar eseidel

Bug #: 5711

Submitted by: eseidel
Reviewed by: mjs
        Remove #if !APPLE_CHANGES and #if 0 blocks.  No functional changes.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=5711

        * khtml/css/css_computedstyle.cpp:
        (DOM::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
        * khtml/css/css_valueimpl.cpp:
        (DOM::CSSMutableStyleDeclarationImpl::setProperty):
        (DOM::CSSPrimitiveValueImpl::computeLength):
        (DOM::CSSPrimitiveValueImpl::computeLengthFloat):
        (DOM::CSSPrimitiveValueImpl::cssText):
        (DOM::FontFamilyValueImpl::FontFamilyValueImpl):
        * khtml/css/css_valueimpl.h:
        * khtml/css/cssparser.cpp:
        (qFatal):
        (CSSParser::parseValue):
        (CSSParser::parseDashboardRegions):
        * khtml/css/cssstyleselector.cpp:
        (khtml::):
        (khtml::colorForCSSValue):
        (khtml::CSSStyleSelector::applyDeclarations):
        (khtml::CSSStyleSelector::applyProperty):
        (khtml::CSSStyleSelector::checkForTextSizeAdjust):
        * khtml/css/cssstyleselector.h:
        * khtml/dom/dom_node.h:
        * khtml/ecma/kjs_binding.cpp:
        * khtml/ecma/kjs_binding.h:
        * khtml/ecma/kjs_css.cpp:
        (KJS::DOMStyleSheetList::getOwnPropertySlot):
        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMNode::getValueProperty):
        (KJS::NodeConstructor::getValueProperty):
        (KJS::DOMExceptionConstructor::getValueProperty):
        * khtml/ecma/kjs_html.cpp:
        (KJS::HTMLElement::getOwnPropertySlot):
        (KJS::KJS::HTMLElementFunction::callAsFunction):
        (KJS::KJS::HTMLElement::put):
        * khtml/ecma/kjs_html.h:
        * khtml/ecma/kjs_navigator.cpp:
        (KJS::Navigator::getValueProperty):
        (KJS::PluginBase::refresh):
        * khtml/ecma/kjs_proxy.cpp:
        (KJSProxyImpl::evaluate):
        (KJSProxyImpl::initScript):
        * khtml/ecma/kjs_window.cpp:
        (KJS::allowPopUp):
        (KJS::Window::getValueProperty):
        (KJS::Window::put):
        (KJS::Window::resumeTimeouts):
        (KJS::Window::scheduleClose):
        (KJS::Window::isSafeScript):
        (KJS::WindowFunc::callAsFunction):
        (KJS::WindowQObject::hasTimeouts):
        (KJS::Location::put):
        (KJS::LocationFunc::callAsFunction):
        (KJS::BarInfo::getValueProperty):
        * khtml/ecma/kjs_window.h:
        * khtml/ecma/xmlhttprequest.cpp:
        (KJS::XMLHttpRequestQObject::slotData):
        (KJS::XMLHttpRequest::send):
        (KJS::XMLHttpRequest::processSyncLoadResults):
        (KJS::XMLHttpRequest::slotData):
        * khtml/ecma/xmlhttprequest.h:
        * khtml/editing/SelectionController.cpp:
        (khtml::SelectionController::debugPosition):
        * khtml/editing/append_node_command.cpp:
        * khtml/editing/apply_style_command.cpp:
        * khtml/editing/break_blockquote_command.cpp:
        * khtml/editing/composite_edit_command.cpp:
        * khtml/editing/delete_from_text_node_command.cpp:
        * khtml/editing/delete_selection_command.cpp:
        * khtml/editing/edit_command.cpp:
        * khtml/editing/htmlediting.cpp:
        * khtml/editing/insert_into_text_node_command.cpp:
        * khtml/editing/insert_line_break_command.cpp:
        * khtml/editing/insert_node_before_command.cpp:
        * khtml/editing/insert_paragraph_separator_command.cpp:
        * khtml/editing/insert_text_command.cpp:
        * khtml/editing/join_text_nodes_command.cpp:
        * khtml/editing/jsediting.cpp:
        * khtml/editing/markup.cpp:
        * khtml/editing/merge_identical_elements_command.cpp:
        * khtml/editing/move_selection_command.cpp:
        * khtml/editing/rebalance_whitespace_command.cpp:
        * khtml/editing/remove_css_property_command.cpp:
        * khtml/editing/remove_node_attribute_command.cpp:
        * khtml/editing/remove_node_command.cpp:
        * khtml/editing/remove_node_preserving_children_command.cpp:
        * khtml/editing/replace_selection_command.cpp:
        * khtml/editing/set_node_attribute_command.cpp:
        * khtml/editing/split_element_command.cpp:
        * khtml/editing/split_text_node_command.cpp:
        * khtml/editing/split_text_node_containing_element.cpp:
        * khtml/editing/typing_command.cpp:
        * khtml/editing/visible_position.cpp:
        * khtml/editing/wrap_contents_in_dummy_span_command.cpp:
        * khtml/html/html_documentimpl.cpp:
        (DOM::HTMLDocumentImpl::referrer):
        (DOM::HTMLDocumentImpl::cookie):
        (DOM::HTMLDocumentImpl::setCookie):
        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLFormElementImpl::attach):
        (DOM::HTMLFormElementImpl::formData):
        (DOM::HTMLFormElementImpl::submit):
        (DOM::HTMLFormElementImpl::parseMappedAttribute):
        (DOM::HTMLGenericFormElementImpl::isMouseFocusable):
        (DOM::HTMLGenericFormElementImpl::defaultEventHandler):
        (DOM::HTMLInputElementImpl::setInputType):
        (DOM::HTMLInputElementImpl::type):
        (DOM::HTMLInputElementImpl::canHaveSelection):
        (DOM::HTMLInputElementImpl::selectionStart):
        (DOM::HTMLInputElementImpl::selectionEnd):
        (DOM::HTMLInputElementImpl::setSelectionStart):
        (DOM::HTMLInputElementImpl::setSelectionEnd):
        (DOM::HTMLInputElementImpl::select):
        (DOM::HTMLInputElementImpl::setSelectionRange):
        (DOM::HTMLInputElementImpl::click):
        (DOM::HTMLInputElementImpl::accessKeyAction):
        (DOM::HTMLInputElementImpl::rendererIsNeeded):
        (DOM::HTMLInputElementImpl::createRenderer):
        (DOM::HTMLInputElementImpl::attach):
        (DOM::HTMLInputElementImpl::altText):
        (DOM::HTMLInputElementImpl::appendFormData):
        (DOM::HTMLInputElementImpl::valueWithDefault):
        (DOM::HTMLInputElementImpl::storesValueSeparateFromAttribute):
        (DOM::HTMLInputElementImpl::defaultEventHandler):
        (DOM::HTMLSelectElementImpl::state):
        (DOM::HTMLSelectElementImpl::restoreState):
        (DOM::HTMLKeygenElementImpl::appendFormData):
        * khtml/html/html_formimpl.h:
        (DOM::HTMLInputElementImpl::):
        * khtml/html/html_imageimpl.cpp:
        (HTMLImageLoader::updateFromElement):
        (HTMLImageElementImpl::parseMappedAttribute):
        * khtml/html/html_inlineimpl.cpp:
        (DOM::HTMLAnchorElementImpl::isMouseFocusable):
        * khtml/html/html_objectimpl.cpp:
        (DOM::HTMLAppletElementImpl::getMember):
        (DOM::HTMLAppletElementImpl::callMember):
        (DOM::HTMLAppletElementImpl::allParamsAvailable):
        (DOM::HTMLEmbedElementImpl::getEmbedInstance):
        (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
        (DOM::HTMLObjectElementImpl::getObjectInstance):
        (DOM::HTMLObjectElementImpl::rendererIsNeeded):
        * khtml/html/html_objectimpl.h:
        (DOM::HTMLObjectElementImpl::isDocNamedItem):
        * khtml/html/html_tableimpl.cpp:
        (DOM::HTMLTableElementImpl::HTMLTableElementImpl):
        (DOM::HTMLTableElementImpl::parseMappedAttribute):
        * khtml/html/htmlparser.cpp:
        (HTMLParser::handleIsindex):
        * khtml/html/htmltokenizer.cpp:
        (khtml::HTMLTokenizer::scriptExecution):
        * khtml/html/htmltokenizer.h:
        * khtml/khtml_part.cpp:
        (KHTMLPart::KHTMLPart):
        (KHTMLPart::init):
        (KHTMLPart::~KHTMLPart):
        (KHTMLPart::restoreURL):
        (KHTMLPart::didOpenURL):
        (KHTMLPart::stopLoading):
        (KHTMLPart::createJavaContext):
        (KHTMLPart::setAutoloadImages):
        (KHTMLPart::clear):
        (KHTMLPart::receivedFirstData):
        (KHTMLPart::slotFinished):
        (KHTMLPart::childBegin):
        (KHTMLPart::begin):
        (KHTMLPart::write):
        (KHTMLPart::gotoAnchor):
        (KHTMLPart::slotLoaderRequestStarted):
        (KHTMLPart::slotLoaderRequestDone):
        (KHTMLPart::checkCompleted):
        (KHTMLPart::completeURL):
        (KHTMLPart::scheduleHistoryNavigation):
        (KHTMLPart::urlCursor):
        (KHTMLPart::text):
        (KHTMLPart::selectedText):
        (KHTMLPart::hasSelection):
        (KHTMLPart::setSelection):
        (KHTMLPart::urlSelected):
        (KHTMLPart::requestFrameName):
        (KHTMLPart::requestObject):
        (KHTMLPart::processObjectRequest):
        (KHTMLPart::submitForm):
        (KHTMLPart::slotChildStarted):
        (KHTMLPart::slotChildCompleted):
        (KHTMLPart::childFrame):
        (KHTMLPart::findFrame):
        (KHTMLPart::frameExists):
        (KHTMLPart::parentPart):
        (KHTMLPart::emitSelectionChanged):
        (KHTMLPart::setZoomFactor):
        (KHTMLPart::reparseConfiguration):
        (KHTMLPart::khtmlMousePressEvent):
        (KHTMLPart::khtmlMouseMoveEvent):
        (KHTMLPart::startAutoScroll):
        (KHTMLPart::stopAutoScroll):
        (KHTMLPart::shouldChangeSelection):
        (KHTMLPart::appliedEditing):
        (KHTMLPart::unappliedEditing):
        (KHTMLPart::reappliedEditing):
        (KHTMLPart::copyToPasteboard):
        (KHTMLPart::cutToPasteboard):
        (KHTMLPart::pasteFromPasteboard):
        (KHTMLPart::pasteAndMatchStyle):
        (KHTMLPart::transpose):
        (KHTMLPart::redo):
        (KHTMLPart::undo):
        * khtml/khtml_part.h:
        (KHTMLPart::didFirstLayout):
        * khtml/khtmlpart_p.h:
        (KHTMLPartPrivate::KHTMLPartPrivate):
        (KHTMLPartPrivate::~KHTMLPartPrivate):
        * khtml/khtmlview.cpp:
        (KHTMLViewPrivate::KHTMLViewPrivate):
        (KHTMLViewPrivate::~KHTMLViewPrivate):
        (KHTMLViewPrivate::reset):
        (KHTMLView::KHTMLView):
        (KHTMLView::~KHTMLView):
        (KHTMLView::resetScrollBars):
        (KHTMLView::init):
        (KHTMLView::clear):
        (KHTMLView::resizeEvent):
        (KHTMLView::initScrollBars):
        (KHTMLView::layout):
        (KHTMLView::updateDashboardRegions):
        (KHTMLView::viewportMousePressEvent):
        (KHTMLView::viewportMouseDoubleClickEvent):
        (KHTMLView::viewportMouseMoveEvent):
        (KHTMLView::viewportMouseReleaseEvent):
        (KHTMLView::keyPressEvent):
        (KHTMLView::contentsContextMenuEvent):
        (KHTMLView::dispatchDragEvent):
        (KHTMLView::focusNextPrevNode):
        (KHTMLView::mediaType):
        (KHTMLView::setScrollBarsMode):
        (KHTMLView::restoreScrollBar):
        (KHTMLView::viewportWheelEvent):
        * khtml/khtmlview.h:
        * khtml/misc/decoder.cpp:
        (Decoder::setEncoding):
        (Decoder::decode):
        (Decoder::flush):
        * khtml/misc/decoder.h:
        * khtml/misc/helper.cpp:
        (khtml::findWordBoundary):
        (khtml::nextWordFromIndex):
        (khtml::findSentenceBoundary):
        (khtml::nextSentenceFromIndex):
        * khtml/misc/helper.h:
        * khtml/misc/loader.cpp:
        (CachedObject::~CachedObject):
        (CachedImageCallback::clear):
        (CachedImage::CachedImage):
        (CachedImage::tiled_pixmap):
        (CachedImage::pixmap):
        (CachedImage::setShowAnimations):
        (CachedImage::clear):
        (CachedImage::data):
        (CachedImage::error):
        (DocLoader::DocLoader):
        (DocLoader::requestImage):
        (DocLoader::requestStyleSheet):
        (DocLoader::requestScript):
        (DocLoader::requestXSLStyleSheet):
        (DocLoader::requestXBLDocument):
        (Loader::Loader):
        (Loader::~Loader):
        (Loader::servePendingRequests):
        (Loader::slotFinished):
        (Loader::slotData):
        (Loader::numRequests):
        (Loader::cancelRequests):
        (Loader::removeBackgroundDecodingRequest):
        (Cache::init):
        (Cache::requestImage):
        (Cache::requestStyleSheet):
        (Cache::requestScript):
        (Cache::requestXSLStyleSheet):
        (Cache::requestXBLDocument):
        * khtml/misc/loader.h:
        (khtml::CachedObject::CachedObject):
        * khtml/misc/stringit.h:
        (khtml::TokenizerSubstring::TokenizerSubstring):
        * khtml/rendering/render_applet.cpp:
        (RenderApplet::RenderApplet):
        (RenderApplet::layout):
        (RenderEmptyApplet::RenderEmptyApplet):
        (RenderEmptyApplet::layout):
        * khtml/rendering/render_applet.h:
        * khtml/rendering/render_canvas.cpp:
        (RenderCanvas::setBestTruncatedAt):
        * khtml/rendering/render_canvas.h:
        (khtml::RenderCanvas::printImages):
        * khtml/rendering/render_container.cpp:
        (RenderContainer::addChild):
        (RenderContainer::removeChildNode):
        (RenderContainer::appendChildNode):
        (RenderContainer::insertChildNode):
        * khtml/rendering/render_flexbox.cpp:
        (khtml::RenderFlexibleBox::layoutVerticalBox):
        * khtml/rendering/render_flow.cpp:
        (RenderFlow::paintLines):
        (RenderFlow::paintFocusRing):
        * khtml/rendering/render_flow.h:
        * khtml/rendering/render_form.cpp:
        (RenderFormElement::baselinePosition):
        (RenderFormElement::setStyle):
        (RenderFormElement::updateFromElement):
        (RenderFormElement::layout):
        (RenderLineEdit::RenderLineEdit):
        (RenderLineEdit::slotReturnPressed):
        (RenderLineEdit::addSearchResult):
        (RenderLineEdit::calcMinMaxWidth):
        (RenderLineEdit::setStyle):
        (RenderLineEdit::updateFromElement):
        (RenderFileButton::RenderFileButton):
        (RenderFileButton::calcMinMaxWidth):
        (RenderFileButton::slotClicked):
        (RenderFileButton::updateFromElement):
        (RenderFileButton::select):
        (ComboBoxWidget::event):
        (ComboBoxWidget::eventFilter):
        (RenderSelect::updateFromElement):
        (RenderSelect::layout):
        (RenderTextArea::RenderTextArea):
        (RenderTextArea::calcMinMaxWidth):
        (RenderTextArea::setStyle):
        (RenderTextArea::updateFromElement):
        (RenderTextArea::text):
        (RenderTextArea::selectionStart):
        (RenderTextArea::selectionEnd):
        (RenderTextArea::setSelectionStart):
        (RenderTextArea::setSelectionEnd):
        (RenderTextArea::setSelectionRange):
        * khtml/rendering/render_form.h:
        (khtml::RenderFormElement::intrinsicMargin):
        (khtml::RenderLineEdit::canHaveIntrinsicMargins):
        (khtml::RenderSelect::canHaveIntrinsicMargins):
        (khtml::RenderTextArea::canHaveIntrinsicMargins):
        * khtml/rendering/render_frames.cpp:
        (RenderFrameSet::userResize):
        (RenderFrame::slotViewCleared):
        (RenderPartObject::layout):
        (RenderPartObject::slotViewCleared):
        * khtml/rendering/render_image.cpp:
        (RenderImage::setPixmap):
        (RenderImage::resetAnimation):
        (RenderImage::paint):
        (RenderImage::layout):
        * khtml/rendering/render_image.h:
        * khtml/rendering/render_layer.cpp:
        (khtml::RenderLayer::scrollToOffset):
        (khtml::RenderLayer::updateScrollInfoAfterLayout):
        (khtml::RenderLayer::paintScrollbars):
        (khtml::setClip):
        (khtml::RenderLayer::paintLayer):
        (khtml::RenderLayer::hitTest):
        * khtml/rendering/render_layer.h:
        * khtml/rendering/render_line.cpp:
        (khtml::InlineFlowBox::paintDecorations):
        * khtml/rendering/render_list.cpp:
        (RenderListMarker::paint):
        * khtml/rendering/render_list.h:
        (khtml::RenderListItem::markerStringValue):
        * khtml/rendering/render_object.cpp:
        (RenderObject::addFocusRingRects):
        (RenderObject::paintOutline):
        (RenderObject::setStyle):
        (RenderObject::removeFromObjectLists):
        (RenderObject::remove):
        (RenderObject::backslashAsCurrencySymbol):
        * khtml/rendering/render_object.h:
        * khtml/rendering/render_replaced.cpp:
        (RenderWidget::resizeWidget):
        (RenderWidget::sendConsumedMouseUp):
        (RenderWidget::setStyle):
        * khtml/rendering/render_replaced.h:
        * khtml/rendering/render_style.cpp:
        (StyleVisualData::StyleVisualData):
        (StyleCSS3NonInheritedData::operator==):
        (textSizeAdjust):
        (StyleCSS3InheritedData):
        (StyleCSS3InheritedData::operator==):
        (RenderStyle::diff):
        * khtml/rendering/render_style.h:
        (khtml::StyleVisualData::operator==):
        (khtml::RenderStyle::textSizeAdjust):
        (khtml::RenderStyle::setDashboardRegion):
        (khtml::RenderStyle::setTextSizeAdjust):
        * khtml/rendering/render_text.h:
        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::DocumentImpl):
        (DocumentImpl::~DocumentImpl):
        (DocumentImpl::updateTitle):
        (DocumentImpl::recalcStyle):
        (DocumentImpl::updateRendering):
        (DocumentImpl::attach):
        (DocumentImpl::detach):
        (DocumentImpl::getAccObjectCache):
        (DocumentImpl::updateSelection):
        (DocumentImpl::implicitClose):
        (DocumentImpl::processHttpEquiv):
        (DocumentImpl::updateStyleSelector):
        (DocumentImpl::setFocusNode):
        * khtml/xml/dom_docimpl.h:
        * khtml/xml/dom_elementimpl.cpp:
        (ElementImpl::recalcStyle):
        * khtml/xml/dom_elementimpl.h:
        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::dispatchKeyEvent):
        (DOM::NodeImpl::createRendererIfNeeded):
        * khtml/xml/dom_position.cpp:
        * khtml/xml/dom_textimpl.h:
        * khtml/xml/dom_xmlimpl.h:
        * khtml/xml/xml_tokenizer.cpp:
        (khtml::Tokenizer::Tokenizer):
        (khtml::Tokenizer::finishedParsing):
        (khtml::XMLTokenizer::error):
        * khtml/xml/xml_tokenizer.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9af86cac
2005-11-20 eseidel <eseidel@apple.com>
Reviewed by mjs.
Remove #if !APPLE_CHANGES and #if 0 blocks. No functional changes.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5711
* khtml/css/css_computedstyle.cpp:
(DOM::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
* khtml/css/css_valueimpl.cpp:
(DOM::CSSMutableStyleDeclarationImpl::setProperty):
(DOM::CSSPrimitiveValueImpl::computeLength):
(DOM::CSSPrimitiveValueImpl::computeLengthFloat):
(DOM::CSSPrimitiveValueImpl::cssText):
(DOM::FontFamilyValueImpl::FontFamilyValueImpl):
* khtml/css/css_valueimpl.h:
* khtml/css/cssparser.cpp:
(qFatal):
(CSSParser::parseValue):
(CSSParser::parseDashboardRegions):
* khtml/css/cssstyleselector.cpp:
(khtml::):
(khtml::colorForCSSValue):
(khtml::CSSStyleSelector::applyDeclarations):
(khtml::CSSStyleSelector::applyProperty):
(khtml::CSSStyleSelector::checkForTextSizeAdjust):
* khtml/css/cssstyleselector.h:
* khtml/dom/dom_node.h:
* khtml/ecma/kjs_binding.cpp:
* khtml/ecma/kjs_binding.h:
* khtml/ecma/kjs_css.cpp:
(KJS::DOMStyleSheetList::getOwnPropertySlot):
* khtml/ecma/kjs_dom.cpp:
(KJS::DOMNode::getValueProperty):
(KJS::NodeConstructor::getValueProperty):
(KJS::DOMExceptionConstructor::getValueProperty):
* khtml/ecma/kjs_html.cpp:
(KJS::HTMLElement::getOwnPropertySlot):
(KJS::KJS::HTMLElementFunction::callAsFunction):
(KJS::KJS::HTMLElement::put):
* khtml/ecma/kjs_html.h:
* khtml/ecma/kjs_navigator.cpp:
(KJS::Navigator::getValueProperty):
(KJS::PluginBase::refresh):
* khtml/ecma/kjs_proxy.cpp:
(KJSProxyImpl::evaluate):
(KJSProxyImpl::initScript):
* khtml/ecma/kjs_window.cpp:
(KJS::allowPopUp):
(KJS::Window::getValueProperty):
(KJS::Window::put):
(KJS::Window::resumeTimeouts):
(KJS::Window::scheduleClose):
(KJS::Window::isSafeScript):
(KJS::WindowFunc::callAsFunction):
(KJS::WindowQObject::hasTimeouts):
(KJS::Location::put):
(KJS::LocationFunc::callAsFunction):
(KJS::BarInfo::getValueProperty):
* khtml/ecma/kjs_window.h:
* khtml/ecma/xmlhttprequest.cpp:
(KJS::XMLHttpRequestQObject::slotData):
(KJS::XMLHttpRequest::send):
(KJS::XMLHttpRequest::processSyncLoadResults):
(KJS::XMLHttpRequest::slotData):
* khtml/ecma/xmlhttprequest.h:
* khtml/editing/SelectionController.cpp:
(khtml::SelectionController::debugPosition):
* khtml/editing/append_node_command.cpp:
* khtml/editing/apply_style_command.cpp:
* khtml/editing/break_blockquote_command.cpp:
* khtml/editing/composite_edit_command.cpp:
* khtml/editing/delete_from_text_node_command.cpp:
* khtml/editing/delete_selection_command.cpp:
* khtml/editing/edit_command.cpp:
* khtml/editing/htmlediting.cpp:
* khtml/editing/insert_into_text_node_command.cpp:
* khtml/editing/insert_line_break_command.cpp:
* khtml/editing/insert_node_before_command.cpp:
* khtml/editing/insert_paragraph_separator_command.cpp:
* khtml/editing/insert_text_command.cpp:
* khtml/editing/join_text_nodes_command.cpp:
* khtml/editing/jsediting.cpp:
* khtml/editing/markup.cpp:
* khtml/editing/merge_identical_elements_command.cpp:
* khtml/editing/move_selection_command.cpp:
* khtml/editing/rebalance_whitespace_command.cpp:
* khtml/editing/remove_css_property_command.cpp:
* khtml/editing/remove_node_attribute_command.cpp:
* khtml/editing/remove_node_command.cpp:
* khtml/editing/remove_node_preserving_children_command.cpp:
* khtml/editing/replace_selection_command.cpp:
* khtml/editing/set_node_attribute_command.cpp:
* khtml/editing/split_element_command.cpp:
* khtml/editing/split_text_node_command.cpp:
* khtml/editing/split_text_node_containing_element.cpp:
* khtml/editing/typing_command.cpp:
* khtml/editing/visible_position.cpp:
* khtml/editing/wrap_contents_in_dummy_span_command.cpp:
* khtml/html/html_documentimpl.cpp:
(DOM::HTMLDocumentImpl::referrer):
(DOM::HTMLDocumentImpl::cookie):
(DOM::HTMLDocumentImpl::setCookie):
* khtml/html/html_formimpl.cpp:
(DOM::HTMLFormElementImpl::attach):
(DOM::HTMLFormElementImpl::formData):
(DOM::HTMLFormElementImpl::submit):
(DOM::HTMLFormElementImpl::parseMappedAttribute):
(DOM::HTMLGenericFormElementImpl::isMouseFocusable):
(DOM::HTMLGenericFormElementImpl::defaultEventHandler):
(DOM::HTMLInputElementImpl::setInputType):
(DOM::HTMLInputElementImpl::type):
(DOM::HTMLInputElementImpl::canHaveSelection):
(DOM::HTMLInputElementImpl::selectionStart):
(DOM::HTMLInputElementImpl::selectionEnd):
(DOM::HTMLInputElementImpl::setSelectionStart):
(DOM::HTMLInputElementImpl::setSelectionEnd):
(DOM::HTMLInputElementImpl::select):
(DOM::HTMLInputElementImpl::setSelectionRange):
(DOM::HTMLInputElementImpl::click):
(DOM::HTMLInputElementImpl::accessKeyAction):
(DOM::HTMLInputElementImpl::rendererIsNeeded):
(DOM::HTMLInputElementImpl::createRenderer):
(DOM::HTMLInputElementImpl::attach):
(DOM::HTMLInputElementImpl::altText):
(DOM::HTMLInputElementImpl::appendFormData):
(DOM::HTMLInputElementImpl::valueWithDefault):
(DOM::HTMLInputElementImpl::storesValueSeparateFromAttribute):
(DOM::HTMLInputElementImpl::defaultEventHandler):
(DOM::HTMLSelectElementImpl::state):
(DOM::HTMLSelectElementImpl::restoreState):
(DOM::HTMLKeygenElementImpl::appendFormData):
* khtml/html/html_formimpl.h:
(DOM::HTMLInputElementImpl::):
* khtml/html/html_imageimpl.cpp:
(HTMLImageLoader::updateFromElement):
(HTMLImageElementImpl::parseMappedAttribute):
* khtml/html/html_inlineimpl.cpp:
(DOM::HTMLAnchorElementImpl::isMouseFocusable):
* khtml/html/html_objectimpl.cpp:
(DOM::HTMLAppletElementImpl::getMember):
(DOM::HTMLAppletElementImpl::callMember):
(DOM::HTMLAppletElementImpl::allParamsAvailable):
(DOM::HTMLEmbedElementImpl::getEmbedInstance):
(DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
(DOM::HTMLObjectElementImpl::getObjectInstance):
(DOM::HTMLObjectElementImpl::rendererIsNeeded):
* khtml/html/html_objectimpl.h:
(DOM::HTMLObjectElementImpl::isDocNamedItem):
* khtml/html/html_tableimpl.cpp:
(DOM::HTMLTableElementImpl::HTMLTableElementImpl):
(DOM::HTMLTableElementImpl::parseMappedAttribute):
* khtml/html/htmlparser.cpp:
(HTMLParser::handleIsindex):
* khtml/html/htmltokenizer.cpp:
(khtml::HTMLTokenizer::scriptExecution):
* khtml/html/htmltokenizer.h:
* khtml/khtml_part.cpp:
(KHTMLPart::KHTMLPart):
(KHTMLPart::init):
(KHTMLPart::~KHTMLPart):
(KHTMLPart::restoreURL):
(KHTMLPart::didOpenURL):
(KHTMLPart::stopLoading):
(KHTMLPart::createJavaContext):
(KHTMLPart::setAutoloadImages):
(KHTMLPart::clear):
(KHTMLPart::receivedFirstData):
(KHTMLPart::slotFinished):
(KHTMLPart::childBegin):
(KHTMLPart::begin):
(KHTMLPart::write):
(KHTMLPart::gotoAnchor):
(KHTMLPart::slotLoaderRequestStarted):
(KHTMLPart::slotLoaderRequestDone):
(KHTMLPart::checkCompleted):
(KHTMLPart::completeURL):
(KHTMLPart::scheduleHistoryNavigation):
(KHTMLPart::urlCursor):
(KHTMLPart::text):
(KHTMLPart::selectedText):
(KHTMLPart::hasSelection):
(KHTMLPart::setSelection):
(KHTMLPart::urlSelected):
(KHTMLPart::requestFrameName):
(KHTMLPart::requestObject):
(KHTMLPart::processObjectRequest):
(KHTMLPart::submitForm):
(KHTMLPart::slotChildStarted):
(KHTMLPart::slotChildCompleted):
(KHTMLPart::childFrame):
(KHTMLPart::findFrame):
(KHTMLPart::frameExists):
(KHTMLPart::parentPart):
(KHTMLPart::emitSelectionChanged):
(KHTMLPart::setZoomFactor):
(KHTMLPart::reparseConfiguration):
(KHTMLPart::khtmlMousePressEvent):
(KHTMLPart::khtmlMouseMoveEvent):
(KHTMLPart::startAutoScroll):
(KHTMLPart::stopAutoScroll):
(KHTMLPart::shouldChangeSelection):
(KHTMLPart::appliedEditing):
(KHTMLPart::unappliedEditing):
(KHTMLPart::reappliedEditing):
(KHTMLPart::copyToPasteboard):
(KHTMLPart::cutToPasteboard):
(KHTMLPart::pasteFromPasteboard):
(KHTMLPart::pasteAndMatchStyle):
(KHTMLPart::transpose):
(KHTMLPart::redo):
(KHTMLPart::undo):
* khtml/khtml_part.h:
(KHTMLPart::didFirstLayout):
* khtml/khtmlpart_p.h:
(KHTMLPartPrivate::KHTMLPartPrivate):
(KHTMLPartPrivate::~KHTMLPartPrivate):
* khtml/khtmlview.cpp:
(KHTMLViewPrivate::KHTMLViewPrivate):
(KHTMLViewPrivate::~KHTMLViewPrivate):
(KHTMLViewPrivate::reset):
(KHTMLView::KHTMLView):
(KHTMLView::~KHTMLView):
(KHTMLView::resetScrollBars):
(KHTMLView::init):
(KHTMLView::clear):
(KHTMLView::resizeEvent):
(KHTMLView::initScrollBars):
(KHTMLView::layout):
(KHTMLView::updateDashboardRegions):
(KHTMLView::viewportMousePressEvent):
(KHTMLView::viewportMouseDoubleClickEvent):
(KHTMLView::viewportMouseMoveEvent):
(KHTMLView::viewportMouseReleaseEvent):
(KHTMLView::keyPressEvent):
(KHTMLView::contentsContextMenuEvent):
(KHTMLView::dispatchDragEvent):
(KHTMLView::focusNextPrevNode):
(KHTMLView::mediaType):
(KHTMLView::setScrollBarsMode):
(KHTMLView::restoreScrollBar):
(KHTMLView::viewportWheelEvent):
* khtml/khtmlview.h:
* khtml/misc/decoder.cpp:
(Decoder::setEncoding):
(Decoder::decode):
(Decoder::flush):
* khtml/misc/decoder.h:
* khtml/misc/helper.cpp:
(khtml::findWordBoundary):
(khtml::nextWordFromIndex):
(khtml::findSentenceBoundary):
(khtml::nextSentenceFromIndex):
* khtml/misc/helper.h:
* khtml/misc/loader.cpp:
(CachedObject::~CachedObject):
(CachedImageCallback::clear):
(CachedImage::CachedImage):
(CachedImage::tiled_pixmap):
(CachedImage::pixmap):
(CachedImage::setShowAnimations):
(CachedImage::clear):
(CachedImage::data):
(CachedImage::error):
(DocLoader::DocLoader):
(DocLoader::requestImage):
(DocLoader::requestStyleSheet):
(DocLoader::requestScript):
(DocLoader::requestXSLStyleSheet):
(DocLoader::requestXBLDocument):
(Loader::Loader):
(Loader::~Loader):
(Loader::servePendingRequests):
(Loader::slotFinished):
(Loader::slotData):
(Loader::numRequests):
(Loader::cancelRequests):
(Loader::removeBackgroundDecodingRequest):
(Cache::init):
(Cache::requestImage):
(Cache::requestStyleSheet):
(Cache::requestScript):
(Cache::requestXSLStyleSheet):
(Cache::requestXBLDocument):
* khtml/misc/loader.h:
(khtml::CachedObject::CachedObject):
* khtml/misc/stringit.h:
(khtml::TokenizerSubstring::TokenizerSubstring):
* khtml/rendering/render_applet.cpp:
(RenderApplet::RenderApplet):
(RenderApplet::layout):
(RenderEmptyApplet::RenderEmptyApplet):
(RenderEmptyApplet::layout):
* khtml/rendering/render_applet.h:
* khtml/rendering/render_canvas.cpp:
(RenderCanvas::setBestTruncatedAt):
* khtml/rendering/render_canvas.h:
(khtml::RenderCanvas::printImages):
* khtml/rendering/render_container.cpp:
(RenderContainer::addChild):
(RenderContainer::removeChildNode):
(RenderContainer::appendChildNode):
(RenderContainer::insertChildNode):
* khtml/rendering/render_flexbox.cpp:
(khtml::RenderFlexibleBox::layoutVerticalBox):
* khtml/rendering/render_flow.cpp:
(RenderFlow::paintLines):
(RenderFlow::paintFocusRing):
* khtml/rendering/render_flow.h:
* khtml/rendering/render_form.cpp:
(RenderFormElement::baselinePosition):
(RenderFormElement::setStyle):
(RenderFormElement::updateFromElement):
(RenderFormElement::layout):
(RenderLineEdit::RenderLineEdit):
(RenderLineEdit::slotReturnPressed):
(RenderLineEdit::addSearchResult):
(RenderLineEdit::calcMinMaxWidth):
(RenderLineEdit::setStyle):
(RenderLineEdit::updateFromElement):
(RenderFileButton::RenderFileButton):
(RenderFileButton::calcMinMaxWidth):
(RenderFileButton::slotClicked):
(RenderFileButton::updateFromElement):
(RenderFileButton::select):
(ComboBoxWidget::event):
(ComboBoxWidget::eventFilter):
(RenderSelect::updateFromElement):
(RenderSelect::layout):
(RenderTextArea::RenderTextArea):
(RenderTextArea::calcMinMaxWidth):
(RenderTextArea::setStyle):
(RenderTextArea::updateFromElement):
(RenderTextArea::text):
(RenderTextArea::selectionStart):
(RenderTextArea::selectionEnd):
(RenderTextArea::setSelectionStart):
(RenderTextArea::setSelectionEnd):
(RenderTextArea::setSelectionRange):
* khtml/rendering/render_form.h:
(khtml::RenderFormElement::intrinsicMargin):
(khtml::RenderLineEdit::canHaveIntrinsicMargins):
(khtml::RenderSelect::canHaveIntrinsicMargins):
(khtml::RenderTextArea::canHaveIntrinsicMargins):
* khtml/rendering/render_frames.cpp:
(RenderFrameSet::userResize):
(RenderFrame::slotViewCleared):
(RenderPartObject::layout):
(RenderPartObject::slotViewCleared):
* khtml/rendering/render_image.cpp:
(RenderImage::setPixmap):
(RenderImage::resetAnimation):
(RenderImage::paint):
(RenderImage::layout):
* khtml/rendering/render_image.h:
* khtml/rendering/render_layer.cpp:
(khtml::RenderLayer::scrollToOffset):
(khtml::RenderLayer::updateScrollInfoAfterLayout):
(khtml::RenderLayer::paintScrollbars):
(khtml::setClip):
(khtml::RenderLayer::paintLayer):
(khtml::RenderLayer::hitTest):
* khtml/rendering/render_layer.h:
* khtml/rendering/render_line.cpp:
(khtml::InlineFlowBox::paintDecorations):
* khtml/rendering/render_list.cpp:
(RenderListMarker::paint):
* khtml/rendering/render_list.h:
(khtml::RenderListItem::markerStringValue):
* khtml/rendering/render_object.cpp:
(RenderObject::addFocusRingRects):
(RenderObject::paintOutline):
(RenderObject::setStyle):
(RenderObject::removeFromObjectLists):
(RenderObject::remove):
(RenderObject::backslashAsCurrencySymbol):
* khtml/rendering/render_object.h:
* khtml/rendering/render_replaced.cpp:
(RenderWidget::resizeWidget):
(RenderWidget::sendConsumedMouseUp):
(RenderWidget::setStyle):
* khtml/rendering/render_replaced.h:
* khtml/rendering/render_style.cpp:
(StyleVisualData::StyleVisualData):
(StyleCSS3NonInheritedData::operator==):
(textSizeAdjust):
(StyleCSS3InheritedData):
(StyleCSS3InheritedData::operator==):
(RenderStyle::diff):
* khtml/rendering/render_style.h:
(khtml::StyleVisualData::operator==):
(khtml::RenderStyle::textSizeAdjust):
(khtml::RenderStyle::setDashboardRegion):
(khtml::RenderStyle::setTextSizeAdjust):
* khtml/rendering/render_text.h:
* khtml/xml/dom_docimpl.cpp:
(DocumentImpl::DocumentImpl):
(DocumentImpl::~DocumentImpl):
(DocumentImpl::updateTitle):
(DocumentImpl::recalcStyle):
(DocumentImpl::updateRendering):
(DocumentImpl::attach):
(DocumentImpl::detach):
(DocumentImpl::getAccObjectCache):
(DocumentImpl::updateSelection):
(DocumentImpl::implicitClose):
(DocumentImpl::processHttpEquiv):
(DocumentImpl::updateStyleSelector):
(DocumentImpl::setFocusNode):
* khtml/xml/dom_docimpl.h:
* khtml/xml/dom_elementimpl.cpp:
(ElementImpl::recalcStyle):
* khtml/xml/dom_elementimpl.h:
* khtml/xml/dom_nodeimpl.cpp:
(DOM::NodeImpl::dispatchKeyEvent):
(DOM::NodeImpl::createRendererIfNeeded):
* khtml/xml/dom_position.cpp:
* khtml/xml/dom_textimpl.h:
* khtml/xml/dom_xmlimpl.h:
* khtml/xml/xml_tokenizer.cpp:
(khtml::Tokenizer::Tokenizer):
(khtml::Tokenizer::finishedParsing):
(khtml::XMLTokenizer::error):
* khtml/xml/xml_tokenizer.h:
2005-11-20 Eric Seidel <eseidel@apple.com>
No review, rollout only.
......@@ -34,11 +34,9 @@
#include "rendering/render_style.h"
#include "rendering/render_object.h"
#if APPLE_CHANGES
#import <kxmlcore/Assertions.h>
#import "KWQFontFamily.h"
#import "KWQLogging.h"
#endif
using khtml::EBackgroundBox;
using khtml::EBorderStyle;
......@@ -1189,30 +1187,6 @@ CSSValueImpl *CSSComputedStyleDeclarationImpl::getPropertyCSSValue(int propertyI
case CSS_PROP_PADDING:
// FIXME: unimplemented
break;
#if !APPLE_CHANGES
case CSS_PROP_SCROLLBAR_FACE_COLOR:
// FIXME: unimplemented
break;
case CSS_PROP_SCROLLBAR_SHADOW_COLOR:
// FIXME: unimplemented
break;
case CSS_PROP_SCROLLBAR_HIGHLIGHT_COLOR:
// FIXME: unimplemented
break;
case CSS_PROP_SCROLLBAR_3DLIGHT_COLOR:
// FIXME: unimplemented
break;
case CSS_PROP_SCROLLBAR_DARKSHADOW_COLOR:
// FIXME: unimplemented
break;
case CSS_PROP_SCROLLBAR_TRACK_COLOR:
// FIXME: unimplemented
break;
case CSS_PROP_SCROLLBAR_ARROW_COLOR:
// FIXME: unimplemented
break;
#endif
#if APPLE_CHANGES
case CSS_PROP__KHTML_DASHBOARD_REGION: {
QValueList<StyleDashboardRegion> regions = style->dashboardRegions();
uint i, count = regions.count();
......@@ -1239,7 +1213,6 @@ CSSValueImpl *CSSComputedStyleDeclarationImpl::getPropertyCSSValue(int propertyI
}
return new CSSPrimitiveValueImpl(firstRegion);
}
#endif
}
ERROR("unimplemented propertyID: %d", propertyID);
......
......@@ -79,42 +79,6 @@ static int propertyID(const DOMString &s)
return getPropertyID(buffer, len);
}
#if 0
// Too risky to quote all legal identifiers right now.
// Post-Tiger we should use this function or something like it.
// Return true if this string qualifies as an identifier (from the point of view of CSS syntax).
static bool isLegalIdentifier(const DOMString &string)
{
int len = string.length();
if (len == 0) {
return false;
}
QChar *p = string.unicode();
int i = 0;
if (p[0] == '-') {
++i;
}
if (i == len) {
return false;
}
ushort code = p[i].unicode();
if (!(code >= 0x80 || code == '_' || isalpha(code))) {
return false;
}
++i;
while (i != len) {
code = p[i].unicode();
if (!(code >= 0x80 || code == '-' || code == '_' || isalnum(code))) {
return false;
}
++i;
}
return true;
}
#endif
// Quotes the string if it needs quoting.
// We use single quotes for now beause markup.cpp uses double quotes.
......@@ -448,10 +412,6 @@ bool CSSMutableStyleDeclarationImpl::setProperty(int propertyID, const DOMString
CSSParser parser(strictParsing);
bool success = parser.parseValue(this, propertyID, value, important);
if (!success) {
#if !APPLE_CHANGES
kdDebug( 6080 ) << "CSSMutableStyleDeclarationImpl::setProperty invalid property: [" << getPropertyName(id).qstring()
<< "] value: [" << value.qstring() << "]"<< endl;
#endif
exceptionCode = CSSException::SYNTAX_ERR + CSSException::_EXCEPTION_OFFSET;
} else if (notifyChanged)
setChanged();
......@@ -838,13 +798,9 @@ void CSSPrimitiveValueImpl::cleanup()
int CSSPrimitiveValueImpl::computeLength( khtml::RenderStyle *style, QPaintDeviceMetrics *devMetrics )
{
double result = computeLengthFloat( style, devMetrics );
#if APPLE_CHANGES
// This conversion is imprecise, often resulting in values of, e.g., 44.99998. We
// need to go ahead and round if we're really close to the next integer value.
int intResult = (int)(result + (result < 0 ? -0.01 : +0.01));
#else
int intResult = (int)result;
#endif
return intResult;
}
......@@ -852,13 +808,9 @@ int CSSPrimitiveValueImpl::computeLength( khtml::RenderStyle *style, QPaintDevic
double multiplier )
{
double result = multiplier * computeLengthFloat( style, devMetrics );
#if APPLE_CHANGES
// This conversion is imprecise, often resulting in values of, e.g., 44.99998. We
// need to go ahead and round if we're really close to the next integer value.
int intResult = (int)(result + (result < 0 ? -0.01 : +0.01));
#else
int intResult = (int)result;
#endif
return intResult;
}
......@@ -887,12 +839,7 @@ double CSSPrimitiveValueImpl::computeLengthFloat( khtml::RenderStyle *style, QPa
// our actual constructed rendering font.
{
QFontMetrics fm = style->fontMetrics();
#if APPLE_CHANGES
factor = fm.xHeight();
#else
QRect b = fm.boundingRect('x');
factor = b.height();
#endif
break;
}
case CSSPrimitiveValue::CSS_PX:
......@@ -1096,7 +1043,6 @@ DOM::DOMString CSSPrimitiveValueImpl::cssText() const
text += m_value.pair->second()->cssText();
break;
#if APPLE_CHANGES
case CSSPrimitiveValue::CSS_DASHBOARD_REGION: {
DashboardRegionImpl *region = getDashboardRegionValue();
while (region) {
......@@ -1119,7 +1065,6 @@ DOM::DOMString CSSPrimitiveValueImpl::cssText() const
}
break;
}
#endif
}
return text;
}
......@@ -1285,45 +1230,11 @@ FontFamilyValueImpl::FontFamilyValueImpl( const QString &string)
static const QRegExp parenReg(" \\(.*\\)$");
static const QRegExp braceReg(" \\[.*\\]$");
#if APPLE_CHANGES
parsedFontName = string;
// a language tag is often added in braces at the end. Remove it.
parsedFontName.replace(parenReg, "");
// remove [Xft] qualifiers
parsedFontName.replace(braceReg, "");
#else
const QString &available = KHTMLSettings::availableFamilies();
QString face = string.lower();
// a languge tag is often added in braces at the end. Remove it.
face = face.replace(parenReg, "");
// remove [Xft] qualifiers
face = face.replace(braceReg, "");
//kdDebug(0) << "searching for face '" << face << "'" << endl;