Permalink
Browse files

Switch from expat to libxml and implement namespace support in the s…

…implereader.

        Reviewed by darin

        * ChangeLog:
        * expat/Changes: Removed.
        * expat/MANIFEST: Removed.
        * expat/README: Removed.
        * expat/expat_config.h: Removed.
        * expat/lib/ascii.h: Removed.
        * expat/lib/asciitab.h: Removed.
        * expat/lib/expat.h: Removed.
        * expat/lib/iasciitab.h: Removed.
        * expat/lib/internal.h: Removed.
        * expat/lib/latin1tab.h: Removed.
        * expat/lib/nametab.h: Removed.
        * expat/lib/utf8tab.h: Removed.
        * expat/lib/xmlparse.c: Removed.
        * expat/lib/xmlrole.c: Removed.
        * expat/lib/xmlrole.h: Removed.
        * expat/lib/xmltok.c: Removed.
        * expat/lib/xmltok.h: Removed.
        * expat/lib/xmltok_impl.c: Removed.
        * expat/lib/xmltok_impl.h: Removed.
        * expat/lib/xmltok_ns.c: Removed.
        * kwq/KWQXmlAttributes.h:
        (QXmlAttributes::QXmlAttributes):
        (QXmlAttributes::qName):
        (QXmlAttributes::uri):
        * kwq/KWQXmlAttributes.mm:
        (QXmlAttributes::QXmlAttributes):
        (QXmlAttributes::~QXmlAttributes):
        (QXmlAttributes::operator=):
        (QXmlAttributes::localName):
        (QXmlAttributes::split):
        * kwq/KWQXmlSimpleReader.h:
        (KWQXmlNamespace::m_ref):
        (KWQXmlNamespace::uriForPrefix):
        (KWQXmlNamespace::ref):
        (KWQXmlNamespace::deref):
        (QXmlParseException::QXmlParseException):
        (QXmlParseException::message):
        (QXmlParseException::columnNumber):
        (QXmlParseException::lineNumber):
        (QXmlSimpleReader::errorHandler):
        (QXmlSimpleReader::xmlNamespace):
        (QXmlSimpleReader::parserStopped):
        * kwq/KWQXmlSimpleReader.mm:
        (startElementHandler):
        (endElementHandler):
        (charactersHandler):
        (processingInstructionHandler):
        (cdataBlockHandler):
        (commentHandler):
        (warningHandler):
        (fatalErrorHandler):
        (QXmlSimpleReader::pushNamespaces):
        (QXmlSimpleReader::popNamespaces):
        (QXmlSimpleReader::parse):
        (QXmlSimpleReader::stopParsing):
        (QXmlSimpleReader::lineNumber):
        (QXmlSimpleReader::columnNumber):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information...
hyatt
hyatt committed Jan 22, 2004
1 parent 611a95a commit 7c6bc1c04c2c64c95f0adfcdc504d94c5beee927
@@ -1,3 +1,303 @@
2004-01-21 David Hyatt <hyatt@apple.com>
Switch from expat to libxml and implement namespace support in the simplereader.
Reviewed by darin
* ChangeLog:
* expat/Changes: Removed.
* expat/MANIFEST: Removed.
* expat/README: Removed.
* expat/expat_config.h: Removed.
* expat/lib/ascii.h: Removed.
* expat/lib/asciitab.h: Removed.
* expat/lib/expat.h: Removed.
* expat/lib/iasciitab.h: Removed.
* expat/lib/internal.h: Removed.
* expat/lib/latin1tab.h: Removed.
* expat/lib/nametab.h: Removed.
* expat/lib/utf8tab.h: Removed.
* expat/lib/xmlparse.c: Removed.
* expat/lib/xmlrole.c: Removed.
* expat/lib/xmlrole.h: Removed.
* expat/lib/xmltok.c: Removed.
* expat/lib/xmltok.h: Removed.
* expat/lib/xmltok_impl.c: Removed.
* expat/lib/xmltok_impl.h: Removed.
* expat/lib/xmltok_ns.c: Removed.
* kwq/KWQXmlAttributes.h:
(QXmlAttributes::QXmlAttributes):
(QXmlAttributes::qName):
(QXmlAttributes::uri):
* kwq/KWQXmlAttributes.mm:
(QXmlAttributes::QXmlAttributes):
(QXmlAttributes::~QXmlAttributes):
(QXmlAttributes::operator=):
(QXmlAttributes::localName):
(QXmlAttributes::split):
* kwq/KWQXmlSimpleReader.h:
(KWQXmlNamespace::m_ref):
(KWQXmlNamespace::uriForPrefix):
(KWQXmlNamespace::ref):
(KWQXmlNamespace::deref):
(QXmlParseException::QXmlParseException):
(QXmlParseException::message):
(QXmlParseException::columnNumber):
(QXmlParseException::lineNumber):
(QXmlSimpleReader::errorHandler):
(QXmlSimpleReader::xmlNamespace):
(QXmlSimpleReader::parserStopped):
* kwq/KWQXmlSimpleReader.mm:
(startElementHandler):
(endElementHandler):
(charactersHandler):
(processingInstructionHandler):
(cdataBlockHandler):
(commentHandler):
(warningHandler):
(fatalErrorHandler):
(QXmlSimpleReader::pushNamespaces):
(QXmlSimpleReader::popNamespaces):
(QXmlSimpleReader::parse):
(QXmlSimpleReader::stopParsing):
(QXmlSimpleReader::lineNumber):
(QXmlSimpleReader::columnNumber):
2004-01-21 David Hyatt <hyatt@apple.com>
Reviewed by NOBODY (OOPS!).
* ForwardingHeaders/xbl/xbl_binding_manager.h: Added.
* ForwardingHeaders/xbl/xbl_docimpl.h: Added.
* WebCore.pbproj/project.pbxproj:
* expat/COPYING: Removed.
* expat/Changes: Removed.
* expat/MANIFEST: Removed.
* expat/README: Removed.
* expat/expat_config.h: Removed.
* expat/lib/ascii.h: Removed.
* expat/lib/asciitab.h: Removed.
* expat/lib/expat.h: Removed.
* expat/lib/iasciitab.h: Removed.
* expat/lib/internal.h: Removed.
* expat/lib/latin1tab.h: Removed.
* expat/lib/nametab.h: Removed.
* expat/lib/utf8tab.h: Removed.
* expat/lib/xmlparse.c: Removed.
* expat/lib/xmlrole.c: Removed.
* expat/lib/xmlrole.h: Removed.
* expat/lib/xmltok.c: Removed.
* expat/lib/xmltok.h: Removed.
* expat/lib/xmltok_impl.c: Removed.
* expat/lib/xmltok_impl.h: Removed.
* expat/lib/xmltok_ns.c: Removed.
* khtml/css/cssparser.cpp:
(CSSParser::parseValue):
* khtml/css/cssproperties.c:
(hash_prop):
(findProp):
* khtml/css/cssproperties.h:
* khtml/css/cssproperties.in:
* khtml/css/cssstyleselector.cpp:
(khtml::CSSStyleSelector::applyRule):
* khtml/dom/dom_element.cpp:
(Element::getAttributeNS):
* khtml/misc/loader.cpp:
(CachedXBLDocument::CachedXBLDocument):
(CachedXBLDocument::~CachedXBLDocument):
(CachedXBLDocument::ref):
(CachedXBLDocument::deref):
(CachedXBLDocument::data):
(CachedXBLDocument::checkNotify):
(CachedXBLDocument::error):
(DocLoader::requestXBLDocument):
(Cache::requestXBLDocument):
(CachedObjectClient::setXBLDocument):
(Cache::getStatistics):
* khtml/misc/loader.h:
(khtml::CachedObject::):
(khtml::CachedXBLDocument::document):
(khtml::CachedXBLDocument::schedule):
* khtml/misc/loader_client.h:
* khtml/rendering/render_block.cpp:
(khtml::RenderBlock::layoutBlockChildren):
* khtml/rendering/render_style.cpp:
(bindingURI):
(marquee):
(StyleCSS3NonInheritedData::~StyleCSS3NonInheritedData):
(StyleCSS3NonInheritedData::bindingsEquivalent):
(StyleCSS3NonInheritedData::operator==):
(:m_next):
(BindingURI::~BindingURI):
(BindingURI::copy):
(BindingURI::operator==):
(RenderStyle::addBindingURI):
* khtml/rendering/render_style.h:
(khtml::BindingURI::operator!=):
(khtml::BindingURI::next):
(khtml::BindingURI::setNext):
(khtml::BindingURI::uri):
(khtml::RenderStyle::bindingURIs):
(khtml::RenderStyle::setHasAutoZIndex):
(khtml::RenderStyle::setZIndex):
(khtml::RenderStyle::deleteBindingURIs):
(khtml::RenderStyle::inheritBindingURIs):
* khtml/xbl/xbl_binding.cpp: Added.
(XBL::m_markedForDeath):
(XBL::XBLBindingChain::~XBLBindingChain):
(XBL::XBLBindingChain::firstStyleBindingChain):
(XBL::XBLBindingChain::lastBindingChain):
(XBL::XBLBindingChain::insertBindingChain):
(XBL::XBLBindingChain::markForDeath):
(XBL::XBLBindingChain::loaded):
(XBL::XBLBindingChain::hasStylesheets):
(XBL::XBLBindingChain::failed):
(XBL::m_nextBinding):
(XBL::XBLBinding::~XBLBinding):
(XBL::XBLBinding::loaded):
(XBL::XBLBinding::setXBLDocument):
* khtml/xbl/xbl_binding.h: Added.
(XBL::):
(XBL::XBLBindingChain::uri):
(XBL::XBLBindingChain::nextChain):
(XBL::XBLBindingChain::previousChain):
(XBL::XBLBindingChain::setNextBindingChain):
(XBL::XBLBindingChain::setPreviousBindingChain):
(XBL::XBLBindingChain::markedForDeath):
(XBL::XBLBindingChain::element):
* khtml/xbl/xbl_binding_manager.cpp: Added.
(XBL::m_bindingChainTable):
(XBL::XBLBindingManager::~XBLBindingManager):
(XBL::XBLBindingManager::getBindingChain):
(XBL::XBLBindingManager::setBindingChain):
(XBL::XBLBindingManager::loadBindings):
(XBL::XBLBindingManager::checkLoadState):
* khtml/xbl/xbl_binding_manager.h: Added.
* khtml/xbl/xbl_docimpl.cpp: Added.
(XBL:::DocumentImpl):
(XBL::XBLDocumentImpl::~XBLDocumentImpl):
(XBL::XBLDocumentImpl::createTokenHandler):
(XBL::XBLDocumentImpl::setPrototypeBinding):
(XBL::XBLDocumentImpl::prototypeBinding):
* khtml/xbl/xbl_docimpl.h: Added.
(XBL::):
* khtml/xbl/xbl_protobinding.cpp: Added.
(XBL::m_handler):
(XBL::XBLPrototypeBinding::initialize):
(XBL::XBLPrototypeBinding::document):
(XBL::XBLPrototypeBinding::addResource):
* khtml/xbl/xbl_protobinding.h: Added.
(XBL::XBLPrototypeBinding::element):
(XBL::XBLPrototypeBinding::setHandler):
(XBL::XBLPrototypeBinding::handler):
* khtml/xbl/xbl_protohandler.cpp: Added.
(XBL::m_unused):
(XBL::XBLPrototypeHandler::~XBLPrototypeHandler):
(XBL::XBLPrototypeHandler::appendData):
* khtml/xbl/xbl_protohandler.h: Added.
(XBL::XBLPrototypeHandler::setNext):
(XBL::XBLPrototypeHandler::next):
* khtml/xbl/xbl_protoimplementation.cpp: Added.
(XBL::m_compiled):
(XBL::m_next):
(XBL::XBLPrototypeMember::appendData):
(XBL:::XBLPrototypeMember):
(XBL::XBLPrototypeMethod::isConstructor):
(XBL::XBLPrototypeMethod::isDestructor):
(XBL::XBLPrototypeMethod::addParameter):
(XBL:::XBLPrototypeMethod):
(XBL::XBLPrototypeConstructor::isConstructor):
(XBL::XBLPrototypeDestructor::isDestructor):
(XBL::m_readonly):
(XBL::XBLPrototypeProperty::appendGetterText):
(XBL::XBLPrototypeProperty::appendSetterText):
* khtml/xbl/xbl_protoimplementation.h: Added.
(XBL::XBLPrototypeMember::~XBLPrototypeMember):
(XBL::XBLPrototypeMember::setNext):
(XBL::XBLPrototypeMember::next):
(XBL::XBLPrototypeImplementation::~XBLPrototypeImplementation):
(XBL::XBLPrototypeImplementation::setMember):
(XBL::XBLPrototypeParameter::m_next):
(XBL::XBLPrototypeParameter::~XBLPrototypeParameter):
(XBL::XBLPrototypeParameter::next):
(XBL::XBLPrototypeParameter::setNext):
(XBL::):
* khtml/xbl/xbl_tokenizer.cpp: Added.
(XBL::XBLTokenHandler::XBLTokenHandler):
(XBL::XBLTokenHandler::~XBLTokenHandler):
(XBL::XBLTokenHandler::xblDocument):
(XBL::XBLTokenHandler::startElement):
(XBL::XBLTokenHandler::endElement):
(XBL::XBLTokenHandler::characters):
(XBL::XBLTokenHandler::createBinding):
(XBL::XBLTokenHandler::createHandler):
(XBL::XBLTokenHandler::createResource):
(XBL::XBLTokenHandler::createImplementation):
(XBL::XBLTokenHandler::addMember):
(XBL::XBLTokenHandler::createConstructor):
(XBL::XBLTokenHandler::createDestructor):
(XBL::XBLTokenHandler::createField):
(XBL::XBLTokenHandler::createProperty):
(XBL::XBLTokenHandler::createMethod):
(XBL::XBLTokenHandler::createParameter):
* khtml/xbl/xbl_tokenizer.h: Added.
(XBL::):
* khtml/xml/dom_docimpl.cpp:
(DocumentImpl::DocumentImpl):
(DocumentImpl::~DocumentImpl):
(DocumentImpl::createTokenHandler):
(DocumentTypeImpl::DocumentTypeImpl):
(DocumentTypeImpl::~DocumentTypeImpl):
* khtml/xml/dom_docimpl.h:
(DOM::DocumentImpl::bindingManager):
* khtml/xml/dom_elementimpl.cpp:
(ElementImpl::getAttributeNS):
* khtml/xml/dom_elementimpl.h:
(DOM::ElementImpl::getAttribute):
* khtml/xml/dom_nodeimpl.cpp:
* khtml/xml/xml_tokenizer.cpp:
(XMLHandler::startElement):
(XMLTokenizer::finish):
* khtml/xml/xml_tokenizer.h:
* kwq/KWQXmlAttributes.h:
(QXmlAttributes::QXmlAttributes):
(QXmlAttributes::qName):
(QXmlAttributes::uri):
* kwq/KWQXmlAttributes.mm:
(QXmlAttributes::QXmlAttributes):
(QXmlAttributes::~QXmlAttributes):
(QXmlAttributes::operator=):
(QXmlAttributes::localName):
(QXmlAttributes::split):
* kwq/KWQXmlSimpleReader.h:
(XmlNamespace::m_ref):
(XmlNamespace::uriForPrefix):
(XmlNamespace::ref):
(XmlNamespace::deref):
(QXmlParseException::QXmlParseException):
(QXmlParseException::message):
(QXmlParseException::columnNumber):
(QXmlParseException::lineNumber):
(QXmlSimpleReader::errorHandler):
(QXmlSimpleReader::xmlNamespace):
(QXmlSimpleReader::parserStopped):
* kwq/KWQXmlSimpleReader.mm:
(startElementHandler):
(endElementHandler):
(charactersHandler):
(processingInstructionHandler):
(cdataBlockHandler):
(commentHandler):
(warningHandler):
(fatalErrorHandler):
(QXmlSimpleReader::pushNamespaces):
(QXmlSimpleReader::popNamespaces):
(QXmlSimpleReader::parse):
(QXmlSimpleReader::stopParsing):
(QXmlSimpleReader::lineNumber):
(QXmlSimpleReader::columnNumber):
* layout-tests/fast/overflow/003.xml:
2004-01-21 David Hyatt <hyatt@apple.com>
Add some methods to dicts and stacks that exist in Qt.
Oops, something went wrong.

0 comments on commit 7c6bc1c

Please sign in to comment.