Backing out caption box-sizing change.  I want to do table stuff separately.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
changed checkout guide to point to universal binary.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14229 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix typo in variable name.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Update layout test results.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14231 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove an outdated comment from RenderBox.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2006-05-08  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Darin, Eric and Maciej.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=6638
        Support Mozilla's XPathEvaluator object.
        
        * DerivedSources.make:
        Generate XPath grammar, and JavaScript wrappers.
        
        * WebCore.xcodeproj/project.pbxproj:
        Add new files to project
        
        * bindings/js/kjs_binding.cpp:
        (KJS::):
        (KJS::setDOMException):
        Handle setting XPath exceptions.
        
        * bindings/objc/DOM.mm:
        Just return nil for now when trying to create a wrapper for 
        XPath namespace nodes.

        * bindings/scripts/CodeGeneratorJS.pm:
        Add XPath types. Also add a "CanBeConstructed" extended attribute
        for interfaces that can be constructed directly.
        
        * bridge/mac/WebCorePageBridge.mm:
        (initializeLoggingChannelsIfNecessary):
        Initialize LogXPath channel.
        
        * dom/DOMImplementation.cpp:
        (WebCore::DOMImplementation::hasFeature):
        Support "xpath" version "3.0".
        
        * dom/Document.cpp:
        (WebCore::Document::Document):
        
        (WebCore::Document::importNode):
        Ignore XPath namespace nodes.
        
        (WebCore::Document::createExpression):
        (WebCore::Document::createNSResolver):
        (WebCore::Document::evaluate):
        New functions which call down to a lazily created XPathEvaluator.

        * dom/Document.h:
        Add function declarations.
        
        * dom/Document.idl:
        Add XPath methods.
        
        * dom/Node.h:
        (WebCore::Node::):
        Add XPATH_NAMESPACE_NODE type.
        
        * editing/markup.cpp:
        (WebCore::startMarkup):
        Ignore XPath namespace nodes.
        
        * page/DOMWindow.idl:
        Add constructors for XPathEvaluator and XPathResult.
        
        * platform/Logging.cpp:
        * platform/Logging.h:
        Add XPath log channel

        * xpath: Added.
        * xpath/XPathEvaluator.cpp: Added.
        (WebCore::XPathEvaluator::createExpression):
        (WebCore::XPathEvaluator::createNSResolver):
        (WebCore::XPathEvaluator::evaluate):
        * xpath/XPathEvaluator.h: Added.
        (WebCore::):
        * xpath/XPathEvaluator.idl: Added.
        * xpath/XPathExpression.cpp: Added.
        (WebCore::XPathExpression::createExpression):
        (WebCore::XPathExpression::~XPathExpression):
        (WebCore::XPathExpression::evaluate):
        * xpath/XPathExpression.h: Added.
        * xpath/XPathExpression.idl: Added.
        * xpath/XPathNSResolver.cpp: Added.
        (WebCore::XPathNSResolver::XPathNSResolver):
        (WebCore::XPathNSResolver::lookupNamespaceURI):
        * xpath/XPathNSResolver.h: Added.
        * xpath/XPathNSResolver.idl: Added.
        * xpath/XPathNamespace.cpp: Added.
        (WebCore::XPathNamespace::XPathNamespace):
        (WebCore::XPathNamespace::~XPathNamespace):
        (WebCore::XPathNamespace::ownerDocument):
        (WebCore::XPathNamespace::ownerElement):
        (WebCore::XPathNamespace::prefix):
        (WebCore::XPathNamespace::nodeName):
        (WebCore::XPathNamespace::nodeValue):
        (WebCore::XPathNamespace::namespaceURI):
        (WebCore::XPathNamespace::nodeType):
        * xpath/XPathNamespace.h: Added.
        * xpath/XPathResult.cpp: Added.
        (WebCore::InvalidatingEventListener::InvalidatingEventListener):
        (WebCore::InvalidatingEventListener::handleEvent):
        (WebCore::XPathResult::XPathResult):
        (WebCore::XPathResult::~XPathResult):
        (WebCore::XPathResult::convertTo):
        (WebCore::XPathResult::resultType):
        (WebCore::XPathResult::numberValue):
        (WebCore::XPathResult::stringValue):
        (WebCore::XPathResult::booleanValue):
        (WebCore::XPathResult::singleNodeValue):
        (WebCore::XPathResult::invalidateIteratorState):
        (WebCore::XPathResult::invalidIteratorState):
        (WebCore::XPathResult::snapshotLength):
        (WebCore::XPathResult::iterateNext):
        (WebCore::XPathResult::snapshotItem):
        * xpath/XPathResult.h: Added.
        (WebCore::XPathResult::):
        * xpath/XPathResult.idl: Added.
        * xpath/impl: Added.
        * xpath/impl/XPathExpressionNode.cpp: Added.
        (WebCore::XPath::Expression::evaluationContext):
        (WebCore::XPath::Expression::Expression):
        (WebCore::XPath::Expression::~Expression):
        (WebCore::XPath::Expression::evaluate):
        (WebCore::XPath::Expression::addSubExpression):
        (WebCore::XPath::Expression::optimize):
        (WebCore::XPath::Expression::subExprCount):
        (WebCore::XPath::Expression::subExpr):
        (WebCore::XPath::Expression::isConstant):
        * xpath/impl/XPathExpressionNode.h: Added.
        (WebCore::XPath::EvaluationContext::EvaluationContext):
        * xpath/impl/XPathFunctions.cpp: Added.
        (WebCore::XPath::Interval::Interval):
        (WebCore::XPath::Interval::contains):
        (WebCore::XPath::Interval::asString):
        (WebCore::XPath::Function::setArguments):
        (WebCore::XPath::Function::setName):
        (WebCore::XPath::Function::arg):
        (WebCore::XPath::Function::argCount):
        (WebCore::XPath::Function::name):
        (WebCore::XPath::FunLast::doEvaluate):
        (WebCore::XPath::FunLast::isConstant):
        (WebCore::XPath::FunPosition::doEvaluate):
        (WebCore::XPath::FunPosition::isConstant):
        (WebCore::XPath::FunLocalName::isConstant):
        (WebCore::XPath::FunLocalName::doEvaluate):
        (WebCore::XPath::FunNamespaceURI::isConstant):
        (WebCore::XPath::FunNamespaceURI::doEvaluate):
        (WebCore::XPath::FunName::isConstant):
        (WebCore::XPath::FunName::doEvaluate):
        (WebCore::XPath::FunCount::doEvaluate):
        (WebCore::XPath::FunCount::isConstant):
        (WebCore::XPath::FunString::doEvaluate):
        (WebCore::XPath::FunConcat::doEvaluate):
        (WebCore::XPath::FunStartsWith::doEvaluate):
        (WebCore::XPath::FunContains::doEvaluate):
        (WebCore::XPath::FunSubstringBefore::doEvaluate):
        (WebCore::XPath::FunSubstringAfter::doEvaluate):
        (WebCore::XPath::FunSubstring::doEvaluate):
        (WebCore::XPath::FunStringLength::doEvaluate):
        (WebCore::XPath::FunNormalizeSpace::doEvaluate):
        (WebCore::XPath::FunTranslate::doEvaluate):
        (WebCore::XPath::FunBoolean::doEvaluate):
        (WebCore::XPath::FunNot::doEvaluate):
        (WebCore::XPath::FunTrue::doEvaluate):
        (WebCore::XPath::FunTrue::isConstant):
        (WebCore::XPath::FunLang::doEvaluate):
        (WebCore::XPath::FunLang::isConstant):
        (WebCore::XPath::FunFalse::doEvaluate):
        (WebCore::XPath::FunFalse::isConstant):
        (WebCore::XPath::FunNumber::doEvaluate):
        (WebCore::XPath::FunSum::doEvaluate):
        (WebCore::XPath::FunFloor::doEvaluate):
        (WebCore::XPath::FunCeiling::doEvaluate):
        (WebCore::XPath::FunRound::doEvaluate):
        (WebCore::XPath::FunctionLibrary::self):
        (WebCore::XPath::FunctionLibrary::FunctionLibrary):
        (WebCore::XPath::FunctionLibrary::createFunction):
        * xpath/impl/XPathFunctions.h: Added.
        * xpath/impl/XPathGrammar.y: Added.
        * xpath/impl/XPathParser.cpp: Added.
        (WebCore::XPath::):
        (WebCore::XPath::Parser::charCat):
        (WebCore::XPath::Parser::isAxisName):
        (WebCore::XPath::Parser::isNodeTypeName):
        (WebCore::XPath::Parser::isOperatorContext):
        (WebCore::XPath::Parser::skipWS):
        (WebCore::XPath::Parser::makeTokenAndAdvance):
        (WebCore::XPath::Parser::makeIntTokenAndAdvance):
        (WebCore::XPath::Parser::peekAheadHelper):
        (WebCore::XPath::Parser::peekCurHelper):
        (WebCore::XPath::Parser::lexString):
        (WebCore::XPath::Parser::lexNumber):
        (WebCore::XPath::Parser::lexNCName):
        (WebCore::XPath::Parser::lexQName):
        (WebCore::XPath::Parser::nextTokenInternal):
        (WebCore::XPath::Parser::nextToken):
        (WebCore::XPath::Parser::Parser):
        (WebCore::XPath::Parser::reset):
        (WebCore::XPath::Parser::lex):
        (WebCore::XPath::Parser::parseStatement):
        (WebCore::XPath::Parser::registerParseNode):
        (WebCore::XPath::Parser::unregisterParseNode):
        (WebCore::XPath::Parser::registerPredicateVector):
        (WebCore::XPath::Parser::unregisterPredicateVector):
        (WebCore::XPath::Parser::registerExpressionVector):
        (WebCore::XPath::Parser::unregisterExpressionVector):
        (WebCore::XPath::Parser::registerString):
        (WebCore::XPath::Parser::unregisterString):
        * xpath/impl/XPathParser.h: Added.
        (WebCore::XPath::Token::Token):
        (WebCore::XPath::Parser::):
        (WebCore::XPath::Parser::current):
        * xpath/impl/XPathPath.cpp: Added.
        (WebCore::XPath::Filter::Filter):
        (WebCore::XPath::Filter::~Filter):
        (WebCore::XPath::Filter::doEvaluate):
        (WebCore::XPath::LocationPath::LocationPath):
        (WebCore::XPath::LocationPath::~LocationPath):
        (WebCore::XPath::LocationPath::optimize):
        (WebCore::XPath::LocationPath::doEvaluate):
        (WebCore::XPath::Path::Path):
        (WebCore::XPath::Path::~Path):
        (WebCore::XPath::Path::doEvaluate):
        * xpath/impl/XPathPath.h: Added.
        * xpath/impl/XPathPredicate.cpp: Added.
        (WebCore::XPath::Number::Number):
        (WebCore::XPath::Number::isConstant):
        (WebCore::XPath::Number::doEvaluate):
        (WebCore::XPath::StringExpression::StringExpression):
        (WebCore::XPath::StringExpression::isConstant):
        (WebCore::XPath::StringExpression::doEvaluate):
        (WebCore::XPath::Negative::doEvaluate):
        (WebCore::XPath::NumericOp::NumericOp):
        (WebCore::XPath::NumericOp::doEvaluate):
        (WebCore::XPath::EqTestOp::EqTestOp):
        (WebCore::XPath::EqTestOp::doEvaluate):
        (WebCore::XPath::LogicalOp::LogicalOp):
        (WebCore::XPath::LogicalOp::shortCircuitOn):
        (WebCore::XPath::LogicalOp::isConstant):
        (WebCore::XPath::LogicalOp::doEvaluate):
        (WebCore::XPath::Union::doEvaluate):
        (WebCore::XPath::Predicate::Predicate):
        (WebCore::XPath::Predicate::~Predicate):
        (WebCore::XPath::Predicate::evaluate):
        (WebCore::XPath::Predicate::optimize):
        * xpath/impl/XPathPredicate.h: Added.
        (WebCore::XPath::NumericOp::):
        (WebCore::XPath::EqTestOp::):
        (WebCore::XPath::LogicalOp::):
        * xpath/impl/XPathStep.cpp: Added.
        (WebCore::XPath::Step::axisAsString):
        (WebCore::XPath::Step::Step):
        (WebCore::XPath::Step::~Step):
        (WebCore::XPath::Step::evaluate):
        (WebCore::XPath::Step::nodesInAxis):
        (WebCore::XPath::Step::nodeTestMatches):
        (WebCore::XPath::Step::optimize):
        (WebCore::XPath::Step::namespaceFromNodetest):
        (WebCore::XPath::Step::primaryNodeType):
        * xpath/impl/XPathStep.h: Added.
        (WebCore::XPath::Step::):
        * xpath/impl/XPathUtil.cpp: Added.
        (WebCore::XPath::isRootDomNode):
        (WebCore::XPath::stringValue):
        (WebCore::XPath::isValidContextNode):
        * xpath/impl/XPathUtil.h: Added.
        * xpath/impl/XPathValue.cpp: Added.
        (WebCore::XPath::Value::Value):
        (WebCore::XPath::Value::type):
        (WebCore::XPath::Value::isNodeVector):
        (WebCore::XPath::Value::isBoolean):
        (WebCore::XPath::Value::isNumber):
        (WebCore::XPath::Value::isString):
        (WebCore::XPath::Value::toNodeVector):
        (WebCore::XPath::Value::toBoolean):
        (WebCore::XPath::Value::toNumber):
        (WebCore::XPath::Value::toString):
        * xpath/impl/XPathValue.h: Added.
        (WebCore::XPath::Value::):
        * xpath/impl/XPathVariableReference.cpp: Added.
        (WebCore::XPath::VariableReference::VariableReference):
        (WebCore::XPath::VariableReference::isConstant):
        (WebCore::XPath::VariableReference::doEvaluate):
        * xpath/impl/XPathVariableReference.h: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14234 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2006-05-04  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Darin.

        Add DOM3 xpath tests as self-contained SVG files. 
        
        * dom/svg: Added.
        * dom/svg/level3: Added.
        * dom/svg/level3/xpath: Added.
        * dom/svg/level3/xpath/Attribute_Nodes-expected.txt: Added.
        * dom/svg/level3/xpath/Attribute_Nodes.js: Added.
        * dom/svg/level3/xpath/Attribute_Nodes.svg: Added.
        * dom/svg/level3/xpath/Attribute_Nodes_xmlns-expected.txt: Added.
        * dom/svg/level3/xpath/Attribute_Nodes_xmlns.js: Added.
        * dom/svg/level3/xpath/Attribute_Nodes_xmlns.svg: Added.
        * dom/svg/level3/xpath/Comment_Nodes-expected.txt: Added.
        * dom/svg/level3/xpath/Comment_Nodes.js: Added.
        * dom/svg/level3/xpath/Comment_Nodes.svg: Added.
        * dom/svg/level3/xpath/Conformance_Expressions-expected.txt: Added.
        * dom/svg/level3/xpath/Conformance_Expressions.js: Added.
        * dom/svg/level3/xpath/Conformance_Expressions.svg: Added.
        * dom/svg/level3/xpath/Conformance_ID-expected.txt: Added.
        * dom/svg/level3/xpath/Conformance_ID.js: Added.
        * dom/svg/level3/xpath/Conformance_ID.svg: Added.
        * dom/svg/level3/xpath/Conformance_hasFeature_3-expected.txt: Added.
        * dom/svg/level3/xpath/Conformance_hasFeature_3.js: Added.
        * dom/svg/level3/xpath/Conformance_hasFeature_3.svg: Added.
        * dom/svg/level3/xpath/Conformance_hasFeature_empty-expected.txt: Added.
        * dom/svg/level3/xpath/Conformance_hasFeature_empty.js: Added.
        * dom/svg/level3/xpath/Conformance_hasFeature_empty.svg: Added.
        * dom/svg/level3/xpath/Conformance_hasFeature_null-expected.txt: Added.
        * dom/svg/level3/xpath/Conformance_hasFeature_null.js: Added.
        * dom/svg/level3/xpath/Conformance_hasFeature_null.svg: Added.
        * dom/svg/level3/xpath/Conformance_isSupported_3-expected.txt: Added.
        * dom/svg/level3/xpath/Conformance_isSupported_3.js: Added.
        * dom/svg/level3/xpath/Conformance_isSupported_3.svg: Added.
        * dom/svg/level3/xpath/Conformance_isSupported_empty-expected.txt: Added.
        * dom/svg/level3/xpath/Conformance_isSupported_empty.js: Added.
        * dom/svg/level3/xpath/Conformance_isSupported_empty.svg: Added.
        * dom/svg/level3/xpath/Conformance_isSupported_null-expected.txt: Added.
        * dom/svg/level3/xpath/Conformance_isSupported_null.js: Added.
        * dom/svg/level3/xpath/Conformance_isSupported_null.svg: Added.
        * dom/svg/level3/xpath/Element_Nodes-expected.txt: Added.
        * dom/svg/level3/xpath/Element_Nodes.js: Added.
        * dom/svg/level3/xpath/Element_Nodes.svg: Added.
        * dom/svg/level3/xpath/Processing_Instruction_Nodes-expected.txt: Added.
        * dom/svg/level3/xpath/Processing_Instruction_Nodes.js: Added.
        * dom/svg/level3/xpath/Processing_Instruction_Nodes.svg: Added.
        * dom/svg/level3/xpath/Text_Nodes-expected.txt: Added.
        * dom/svg/level3/xpath/Text_Nodes.js: Added.
        * dom/svg/level3/xpath/Text_Nodes.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluatorCast01-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluatorCast01.js: Added.
        * dom/svg/level3/xpath/XPathEvaluatorCast01.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_01-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_01.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_01.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_02-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_02.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_NAMESPACE_ERR_02.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_NS-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_NS.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_NS.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_no_NS-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_no_NS.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createExpression_no_NS.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_all-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_all.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_all.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_document-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_document.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_document.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_documentElement-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_documentElement.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_createNSResolver_documentElement.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_INVALID_EXPRESSION_ERR-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_INVALID_EXPRESSION_ERR.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_INVALID_EXPRESSION_ERR.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_NAMESPACE_ERR-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_NAMESPACE_ERR.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_NAMESPACE_ERR.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_TYPE_ERR-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_TYPE_ERR.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_TYPE_ERR.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_WRONG_DOCUMENT_ERR-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_WRONG_DOCUMENT_ERR.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_WRONG_DOCUMENT_ERR.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_document-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_document.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_document.svg: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_documentElement-expected.txt: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_documentElement.js: Added.
        * dom/svg/level3/xpath/XPathEvaluator_evaluate_documentElement.svg: Added.
        * dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR-expected.txt: Added.
        * dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.js: Added.
        * dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.svg: Added.
        * dom/svg/level3/xpath/XPathExpression_evaluate_WRONG_DOCUMENT_ERR-expected.txt: Added.
        * dom/svg/level3/xpath/XPathExpression_evaluate_WRONG_DOCUMENT_ERR.js: Added.
        * dom/svg/level3/xpath/XPathExpression_evaluate_WRONG_DOCUMENT_ERR.svg: Added.
        * dom/svg/level3/xpath/XPathExpression_evaluate_document-expected.txt: Added.
        * dom/svg/level3/xpath/XPathExpression_evaluate_document.js: Added.
        * dom/svg/level3/xpath/XPathExpression_evaluate_document.svg: Added.
        * dom/svg/level3/xpath/XPathExpression_evaluate_documentElement-expected.txt: Added.
        * dom/svg/level3/xpath/XPathExpression_evaluate_documentElement.js: Added.
        * dom/svg/level3/xpath/XPathExpression_evaluate_documentElement.svg: Added.
        * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_nist_dmstc-expected.txt: Added.
        * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_nist_dmstc.js: Added.
        * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_nist_dmstc.svg: Added.
        * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_null-expected.txt: Added.
        * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_null.js: Added.
        * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_null.svg: Added.
        * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_prefix-expected.txt: Added.
        * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_prefix.js: Added.
        * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_prefix.svg: Added.
        * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_xml-expected.txt: Added.
        * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_xml.js: Added.
        * dom/svg/level3/xpath/XPathNSResolver_lookupNamespaceURI_xml.svg: Added.
        * dom/svg/level3/xpath/XPathResult_TYPE_ERR-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_TYPE_ERR.js: Added.
        * dom/svg/level3/xpath/XPathResult_TYPE_ERR.svg: Added.
        * dom/svg/level3/xpath/XPathResult_booleanValue_false-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_booleanValue_false.js: Added.
        * dom/svg/level3/xpath/XPathResult_booleanValue_false.svg: Added.
        * dom/svg/level3/xpath/XPathResult_booleanValue_true-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_booleanValue_true.js: Added.
        * dom/svg/level3/xpath/XPathResult_booleanValue_true.svg: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_UNORDERED_NODE_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_UNORDERED_NODE_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ANY_UNORDERED_NODE_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_BOOLEAN_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_BOOLEAN_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_BOOLEAN_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_FIRST_ORDERED_NODE_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_FIRST_ORDERED_NODE_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_FIRST_ORDERED_NODE_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_NUMBER_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_NUMBER_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_NUMBER_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_ITERATOR_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_ITERATOR_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_ITERATOR_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_SNAPSHOT_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_SNAPSHOT_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_ORDERED_NODE_SNAPSHOT_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_STRING_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_STRING_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_STRING_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_ITERATOR_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_ITERATOR_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_ITERATOR_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_SNAPSHOT_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_SNAPSHOT_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_invalidIteratorState_UNORDERED_NODE_SNAPSHOT_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_iterateNext_INVALID_STATE_ERR-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_iterateNext_INVALID_STATE_ERR.js: Added.
        * dom/svg/level3/xpath/XPathResult_iterateNext_INVALID_STATE_ERR.svg: Added.
        * dom/svg/level3/xpath/XPathResult_iteratorNext_ORDERED_NODE_ITERATOR_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_iteratorNext_ORDERED_NODE_ITERATOR_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_iteratorNext_ORDERED_NODE_ITERATOR_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_iteratorNext_UNORDERED_NODE_ITERATOR_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_numberValue-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_numberValue.js: Added.
        * dom/svg/level3/xpath/XPathResult_numberValue.svg: Added.
        * dom/svg/level3/xpath/XPathResult_resultType-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_resultType.js: Added.
        * dom/svg/level3/xpath/XPathResult_resultType.svg: Added.
        * dom/svg/level3/xpath/XPathResult_singleNodeValue_ANY_UNORDERED_NODE_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_singleNodeValue_ANY_UNORDERED_NODE_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_singleNodeValue_ANY_UNORDERED_NODE_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_singleNodeValue_FIRST_ORDERED_NODE_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_singleNodeValue_FIRST_ORDERED_NODE_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_singleNodeValue_FIRST_ORDERED_NODE_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_null-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_null.js: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_null.svg: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_order-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_order.js: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotItem_ORDERED_NODE_SNAPSHOT_TYPE_order.svg: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_count-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_count.js: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_count.svg: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_null-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_null.js: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotItem_UNORDERED_NODE_SNAPSHOT_TYPE_null.svg: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotLength_ORDERED_NODE_SNAPSHOT_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotLength_ORDERED_NODE_SNAPSHOT_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotLength_ORDERED_NODE_SNAPSHOT_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotLength_UNORDERED_NODE_SNAPSHOT_TYPE-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotLength_UNORDERED_NODE_SNAPSHOT_TYPE.js: Added.
        * dom/svg/level3/xpath/XPathResult_snapshotLength_UNORDERED_NODE_SNAPSHOT_TYPE.svg: Added.
        * dom/svg/level3/xpath/XPathResult_stringValue-expected.txt: Added.
        * dom/svg/level3/xpath/XPathResult_stringValue.js: Added.
        * dom/svg/level3/xpath/XPathResult_stringValue.svg: Added.
        * dom/svg/level3/xpath/svgunit.js: Added.




git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2006-05-08  Anders Carlsson  <acarlsson@apple.com>

        Try fixing the Win32 build
        
        * WebCore.vcproj/WebCore/WebCore.vcproj:
        Add XPath files to project.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Another try, now add xpath to the include path


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add xpath in _both_ places


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add XPATH_SUPPORT define. This is getting old...


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add xpath\impl to include path as well.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove \impl from files who aren't actually in the \impl directory...let's hope this does it


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Adding a ARGS variable that can be used to pass arguments to xcodebuild. This is handy when you want to temporary overide a build setting, like ARCHS. Use: make r ARGS='ARCHS=ppc64'

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Reviewed by Tim O.

        * bindings/npapi.h: do not define #pragma options align=mac68k if we are 64-bit



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        * Scripts/do-webcore-rename: Add another rename.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests:

        Reviewed by justin.
        
        REGRESSION: two editing layout tests show incorrect spell checking in pixel test mode
        http://bugzilla.opendarwin.org/show_bug.cgi?id=8350

        * editing/pasteboard/innerText-inline-table-expected.checksum: Added.
        * editing/pasteboard/innerText-inline-table-expected.png: Added.
        * editing/pasteboard/innerText-inline-table-expected.txt: Added.
        * editing/pasteboard/innerText-inline-table.html: Added.

WebCore:

        Reviewed by justin.

        * editing/TextIterator.cpp:
        (WebCore::shouldEmitSpaceBeforeAndAfterNode):
        Returns true when the node should have a leading and trailing space. Currently only
        used for inline tables. The function shouldEmitNewlinesBeforeAndAfterNode has a
        fallback for nodes with no RenderObject, but the inline property doesn't really
        have a meaning without one.
        (WebCore::TextIterator::handleNonTextNode):
        Checks shouldEmitSpaceBeforeAndAfterNode and inserts a space if necessary.
        (WebCore::TextIterator::exitNode):
        Checks shouldEmitSpaceBeforeAndAfterNode and inserts a space if necessary.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Reviewed by justin.
        
        REGRESSION: two editing layout tests show incorrect spell checking in pixel test mode
        http://bugzilla.opendarwin.org/show_bug.cgi?id=8350
        Forgot to update expected results.

        * fast/dom/inner-text-001-expected.txt



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2006-05-09  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Maciej.
        
        * Scripts/check-dom-results:
        Add XPath to the list of results.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore:

        Reviewed by Tim Hatcher.
        
        - refactor things so that WebKit doesn't save a WebResource for every loaded URL,
        but rather retrieves the data from the WebCore cache as needed.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=8802

        * bridge/mac/WebCoreFrameBridge.h:
        * bridge/mac/WebCoreFrameBridge.mm:
        (-[WebCoreFrameBridge getData:andResponse:forURL:]):
        (-[WebCoreFrameBridge getAllResourceDatas:andResponses:]):
        * loader/Cache.cpp:
        (WebCore::Cache::updateCacheStatus):
        (WebCore::Cache::requestImage):
        (WebCore::Cache::requestStyleSheet):
        (WebCore::Cache::requestScript):
        (WebCore::Cache::requestXSLStyleSheet):
        (WebCore::Cache::requestXBLDocument):
        * loader/Cache.h:
        * loader/CachedResource.cpp: Added.
        * loader/CachedResource.h: Added.
        * loader/CachedResourceClient.h: Added.
        * loader/CachedResourceClientWalker.cpp: Added.
        * loader/CachedResourceClientWalker.h: Added.
        * loader/DocLoader.cpp:
        (WebCore::DocLoader::setAutoloadImages):
        (WebCore::DocLoader::removeCachedObject):
        * loader/DocLoader.h:
        (WebCore::DocLoader::cachedObject):
        (WebCore::DocLoader::allCachedObjects):

WebKit:

        Reviewed by Tim Hatcher.
        
        - refactor things so that WebKit doesn't save a WebResource for every loaded URL,
        but rather retrieves the data from the WebCore cache as needed.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=8802

        * WebCoreSupport/WebFrameBridge.m:
        (-[WebFrameBridge objectLoadedFromCacheWithURL:response:data:]):
        (-[WebFrameBridge syncLoadResourceWithMethod:URL:customHeaders:postData:finalURL:responseHeaders:statusCode:]):
        * WebCoreSupport/WebSubresourceLoader.m:
        (-[WebSubresourceLoader didReceiveResponse:]):
        * WebView/WebDataSource.m:
        (-[WebDataSourcePrivate dealloc]):
        (-[WebDataSource _setupForReplaceByMIMEType:]):
        (-[WebDataSource _archivedSubresourceForURL:]):
        (-[WebDataSource initWithRequest:]):
        (-[WebDataSource subresources]):
        (-[WebDataSource subresourceForURL:]):
        (-[WebDataSource addSubresource:]):
        * WebView/WebDataSourcePrivate.h:
        * WebView/WebFrame.m:
        * WebView/WebFrameInternal.h:
        * WebView/WebHTMLView.m:
        * WebView/WebLoader.h:
        * WebView/WebLoader.m:
        (-[NSURLProtocol loadWithRequest:]):
        (-[NSURLProtocol didFinishLoading]):
        * WebView/WebUnarchivingState.h:
        * WebView/WebUnarchivingState.m:
        (-[WebUnarchivingState addResource:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14251 268f45cc-cd09-0410-ab3c-d52691b4dbfc