зеркало из https://github.com/mozilla/pjs.git
Bug 84002, remove unused code (expat DTD etc.). r=rbs@maths.uq.edu.au, sr=jst.
This commit is contained in:
Родитель
2bfcb2cc61
Коммит
11b1ad0084
Двоичные данные
htmlparser/macbuild/htmlparser.mcp
Двоичные данные
htmlparser/macbuild/htmlparser.mcp
Двоичный файл не отображается.
|
@ -21,7 +21,6 @@ nsParserCIID.h
|
|||
nsHTMLEntities.h
|
||||
nsHTMLEntityList.h
|
||||
nsWellFormedDTD.h
|
||||
nsExpatDTD.h
|
||||
nsIExpatTokenizer.h
|
||||
nsParserError.h
|
||||
nsIElementObserver.h
|
||||
|
|
|
@ -77,7 +77,6 @@ CPPSRCS = \
|
|||
nsValidDTD.cpp \
|
||||
nsWellFormedDTD.cpp \
|
||||
nsViewSourceHTML.cpp \
|
||||
nsExpatDTD.cpp \
|
||||
$(NULL)
|
||||
|
||||
#
|
||||
|
@ -114,7 +113,6 @@ EXPORTS = \
|
|||
nsWellFormedDTD.h \
|
||||
nsValidDTD.h \
|
||||
nsParserCIID.h \
|
||||
nsExpatDTD.h \
|
||||
nsParserError.h \
|
||||
nsIElementObserver.h \
|
||||
nsIParserService.h \
|
||||
|
|
|
@ -53,7 +53,6 @@ CPPSRCS= \
|
|||
nsValidDTD.cpp \
|
||||
nsWellFormedDTD.cpp \
|
||||
nsViewSourceHTML.cpp \
|
||||
nsExpatDTD.cpp \
|
||||
nsParserModule.cpp \
|
||||
$(NULL)
|
||||
|
||||
|
@ -80,7 +79,6 @@ CPP_OBJS= \
|
|||
.\$(OBJDIR)\nsValidDTD.obj \
|
||||
.\$(OBJDIR)\nsWellFormedDTD.obj \
|
||||
.\$(OBJDIR)\nsViewSourceHTML.obj \
|
||||
.\$(OBJDIR)\nsExpatDTD.obj \
|
||||
.\$(OBJDIR)\nsParserModule.obj \
|
||||
$(NULL)
|
||||
|
||||
|
@ -108,7 +106,6 @@ EXPORTS= \
|
|||
nsValidDTD.h \
|
||||
COtherDTD.h \
|
||||
nsIDTD.h \
|
||||
nsExpatDTD.h \
|
||||
nsParserCIID.h \
|
||||
nsParserError.h \
|
||||
nsIElementObserver.h \
|
||||
|
|
|
@ -117,23 +117,6 @@ nsresult nsExpatTokenizer::QueryInterface(const nsIID& aIID, void** aInstancePtr
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is defined in nsIParser. It is used to
|
||||
* cause the COM-like construction of an nsParser.
|
||||
*
|
||||
* @update gess 4/8/98
|
||||
* @param nsIParser** ptr to newly instantiated parser
|
||||
* @return NS_xxx error result
|
||||
*/
|
||||
NS_HTMLPARS nsresult NS_New_Expat_Tokenizer(nsITokenizer** aInstancePtrResult) {
|
||||
nsExpatTokenizer* it = new nsExpatTokenizer();
|
||||
if (it == 0) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
return it->QueryInterface(kClassIID, (void **) aInstancePtrResult);
|
||||
}
|
||||
|
||||
|
||||
NS_IMPL_ADDREF(nsExpatTokenizer)
|
||||
NS_IMPL_RELEASE(nsExpatTokenizer)
|
||||
|
||||
|
|
|
@ -190,7 +190,4 @@ protected:
|
|||
XMLParserState* mState;
|
||||
};
|
||||
|
||||
|
||||
extern NS_HTMLPARS nsresult NS_New_Expat_Tokenizer(nsITokenizer** aInstancePtrResult);
|
||||
|
||||
#endif
|
||||
|
|
Двоичные данные
parser/htmlparser/macbuild/htmlparser.mcp
Двоичные данные
parser/htmlparser/macbuild/htmlparser.mcp
Двоичный файл не отображается.
|
@ -21,7 +21,6 @@ nsParserCIID.h
|
|||
nsHTMLEntities.h
|
||||
nsHTMLEntityList.h
|
||||
nsWellFormedDTD.h
|
||||
nsExpatDTD.h
|
||||
nsIExpatTokenizer.h
|
||||
nsParserError.h
|
||||
nsIElementObserver.h
|
||||
|
|
|
@ -77,7 +77,6 @@ CPPSRCS = \
|
|||
nsValidDTD.cpp \
|
||||
nsWellFormedDTD.cpp \
|
||||
nsViewSourceHTML.cpp \
|
||||
nsExpatDTD.cpp \
|
||||
$(NULL)
|
||||
|
||||
#
|
||||
|
@ -114,7 +113,6 @@ EXPORTS = \
|
|||
nsWellFormedDTD.h \
|
||||
nsValidDTD.h \
|
||||
nsParserCIID.h \
|
||||
nsExpatDTD.h \
|
||||
nsParserError.h \
|
||||
nsIElementObserver.h \
|
||||
nsIParserService.h \
|
||||
|
|
|
@ -53,7 +53,6 @@ CPPSRCS= \
|
|||
nsValidDTD.cpp \
|
||||
nsWellFormedDTD.cpp \
|
||||
nsViewSourceHTML.cpp \
|
||||
nsExpatDTD.cpp \
|
||||
nsParserModule.cpp \
|
||||
$(NULL)
|
||||
|
||||
|
@ -80,7 +79,6 @@ CPP_OBJS= \
|
|||
.\$(OBJDIR)\nsValidDTD.obj \
|
||||
.\$(OBJDIR)\nsWellFormedDTD.obj \
|
||||
.\$(OBJDIR)\nsViewSourceHTML.obj \
|
||||
.\$(OBJDIR)\nsExpatDTD.obj \
|
||||
.\$(OBJDIR)\nsParserModule.obj \
|
||||
$(NULL)
|
||||
|
||||
|
@ -108,7 +106,6 @@ EXPORTS= \
|
|||
nsValidDTD.h \
|
||||
COtherDTD.h \
|
||||
nsIDTD.h \
|
||||
nsExpatDTD.h \
|
||||
nsParserCIID.h \
|
||||
nsParserError.h \
|
||||
nsIElementObserver.h \
|
||||
|
|
|
@ -117,23 +117,6 @@ nsresult nsExpatTokenizer::QueryInterface(const nsIID& aIID, void** aInstancePtr
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is defined in nsIParser. It is used to
|
||||
* cause the COM-like construction of an nsParser.
|
||||
*
|
||||
* @update gess 4/8/98
|
||||
* @param nsIParser** ptr to newly instantiated parser
|
||||
* @return NS_xxx error result
|
||||
*/
|
||||
NS_HTMLPARS nsresult NS_New_Expat_Tokenizer(nsITokenizer** aInstancePtrResult) {
|
||||
nsExpatTokenizer* it = new nsExpatTokenizer();
|
||||
if (it == 0) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
return it->QueryInterface(kClassIID, (void **) aInstancePtrResult);
|
||||
}
|
||||
|
||||
|
||||
NS_IMPL_ADDREF(nsExpatTokenizer)
|
||||
NS_IMPL_RELEASE(nsExpatTokenizer)
|
||||
|
||||
|
|
|
@ -190,7 +190,4 @@ protected:
|
|||
XMLParserState* mState;
|
||||
};
|
||||
|
||||
|
||||
extern NS_HTMLPARS nsresult NS_New_Expat_Tokenizer(nsITokenizer** aInstancePtrResult);
|
||||
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче