Issue #80 - De-unify dom/xslt

This commit is contained in:
Moonchild 2020-04-23 17:29:30 +00:00 • committed by Roy Tam
commit 2c7e0856ce
6 changed files with 9 additions and 4 deletions

View file

@ -4,7 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
UNIFIED_SOURCES += [ SOURCES += [
'txDouble.cpp', 'txDouble.cpp',
'txExpandedName.cpp', 'txExpandedName.cpp',
'txExpandedNameMap.cpp', 'txExpandedNameMap.cpp',

View file

@ -4,7 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
UNIFIED_SOURCES += [ SOURCES += [
'txXMLParser.cpp', 'txXMLParser.cpp',
'txXMLUtils.cpp', 'txXMLUtils.cpp',
] ]

View file

@ -10,7 +10,7 @@ EXPORTS.mozilla.dom += [
'XPathResult.h', 'XPathResult.h',
] ]
UNIFIED_SOURCES += [ SOURCES += [
'txBooleanExpr.cpp', 'txBooleanExpr.cpp',
'txBooleanResult.cpp', 'txBooleanResult.cpp',
'txCoreFunctionCall.cpp', 'txCoreFunctionCall.cpp',

View file

@ -8,7 +8,7 @@ EXPORTS.mozilla.dom += [
'txMozillaXSLTProcessor.h' 'txMozillaXSLTProcessor.h'
] ]
UNIFIED_SOURCES += [ SOURCES += [
'txBufferingHandler.cpp', 'txBufferingHandler.cpp',
'txCurrentFunctionCall.cpp', 'txCurrentFunctionCall.cpp',
'txDocumentFunctionCall.cpp', 'txDocumentFunctionCall.cpp',

View file

@ -13,6 +13,9 @@
#include "txLog.h" #include "txLog.h"
#include "txURIUtils.h" #include "txURIUtils.h"
#include "txXMLParser.h" #include "txXMLParser.h"
#include "mozilla/Logging.h"
using mozilla::LogLevel;
const int32_t txExecutionState::kMaxRecursionDepth = 20000; const int32_t txExecutionState::kMaxRecursionDepth = 20000;

View file

@ -37,7 +37,9 @@
#include "nsVariant.h" #include "nsVariant.h"
#include "mozilla/dom/DocumentFragment.h" #include "mozilla/dom/DocumentFragment.h"
#include "mozilla/dom/XSLTProcessorBinding.h" #include "mozilla/dom/XSLTProcessorBinding.h"
#include "mozilla/ErrorResult.h"
using namespace mozilla;
using namespace mozilla::dom; using namespace mozilla::dom;
static NS_DEFINE_CID(kXMLDocumentCID, NS_XMLDOCUMENT_CID); static NS_DEFINE_CID(kXMLDocumentCID, NS_XMLDOCUMENT_CID);