From 4bd308df68a5ccd23d51e4bc568504a9f895ab7e Mon Sep 17 00:00:00 2001 From: "axel%pike.org" Date: Tue, 25 Jul 2000 07:03:40 +0000 Subject: [PATCH] Adding makefile.wins for transformiix examples, not part of build, submitted by Arthur Barrett, raised build number and updated contributors/changes --- extensions/transformiix/docs/changes.txt | 5 +++ .../transformiix/docs/contributors.html | 26 +++++++++++++ .../mozilla/Transformiix/content/makefile.win | 34 +++++++++++++++++ .../Transformiix/content/transformiix.js | 4 +- .../mozilla/Transformiix/makefile.win | 38 +++++++++++++++++++ extensions/transformiix/source/makefile.win | 3 ++ .../source/xslt/XSLTProcessor.cpp | 6 +-- 7 files changed, 111 insertions(+), 5 deletions(-) create mode 100644 extensions/transformiix/source/examples/mozilla/Transformiix/content/makefile.win create mode 100644 extensions/transformiix/source/examples/mozilla/Transformiix/makefile.win diff --git a/extensions/transformiix/docs/changes.txt b/extensions/transformiix/docs/changes.txt index caf26fe907e..655b52e71f7 100755 --- a/extensions/transformiix/docs/changes.txt +++ b/extensions/transformiix/docs/changes.txt @@ -1,6 +1,11 @@ TransforMiiX (TM) (C) Copyright 1999, 2000, The MITRE Corporation, Keith Visco, et al. All rights reserved. +Build 20000725 + +-- Windows Makefiles are up to date to create Mozilla module + - thanx to Arthur Barrett and Justin Smith + Build 20000722 -- Fixed leading + trailing whitspace when printing comments diff --git a/extensions/transformiix/docs/contributors.html b/extensions/transformiix/docs/contributors.html index 165a3ee47cf..2eb89546b08 100644 --- a/extensions/transformiix/docs/contributors.html +++ b/extensions/transformiix/docs/contributors.html @@ -98,6 +98,19 @@ The following people have contributed to the development. + + + + + + + + + + + + + +
NameContributionCompany
+ Barrett, Arthur + + Working on Windows makefiles. + +
+
@@ -276,6 +289,19 @@ The following people have contributed to the development.
+ Smith, Justin + + Working on Windows Makefiles. + +
+
diff --git a/extensions/transformiix/source/examples/mozilla/Transformiix/content/makefile.win b/extensions/transformiix/source/examples/mozilla/Transformiix/content/makefile.win new file mode 100644 index 00000000000..4b8960a2159 --- /dev/null +++ b/extensions/transformiix/source/examples/mozilla/Transformiix/content/makefile.win @@ -0,0 +1,34 @@ +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is Transformiix XSLT Processor. +# +# The Initial Developer of the Original Code is Axel Hecht. +# Portions created by Axel Hecht are Copyright (C) Axel Hecht. +# All Rights Reserved. +# +# Contributor(s): +# Axel Hecht +# + +DEPTH = ..\..\..\..\..\..\.. + +CHROME_DIR=packages\transformiix +CHROME_CONTENT_DIR=transformiix\content + +CHROME_CONTENT = \ + .\transformiix.xul \ + .\transformiix.js \ + .\simple.xml \ + .\simplexsl.xml \ + $(NULL) + +include <$(DEPTH)\config\rules.mak> diff --git a/extensions/transformiix/source/examples/mozilla/Transformiix/content/transformiix.js b/extensions/transformiix/source/examples/mozilla/Transformiix/content/transformiix.js index fa55dad70f2..86303e0db36 100755 --- a/extensions/transformiix/source/examples/mozilla/Transformiix/content/transformiix.js +++ b/extensions/transformiix/source/examples/mozilla/Transformiix/content/transformiix.js @@ -82,7 +82,7 @@ function tryToTransform() { dump("Mal sehen, "+xsltProcessor+"\n"); var outDocument = resultDocument.implementation.createDocument("", "", null); xsltProcessor.TransformDocument(xmlDocumentNode, xslDocumentNode, outDocument, null); - DumpDOM(outDocument.documentElement); - DumpDOM(xmlDocument.documentElement); + // DumpDOM(outDocument.documentElement); + // DumpDOM(xmlDocument.documentElement); } } diff --git a/extensions/transformiix/source/examples/mozilla/Transformiix/makefile.win b/extensions/transformiix/source/examples/mozilla/Transformiix/makefile.win new file mode 100644 index 00000000000..4f4cd395943 --- /dev/null +++ b/extensions/transformiix/source/examples/mozilla/Transformiix/makefile.win @@ -0,0 +1,38 @@ +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is Transformiix XSLT Processor. +# +# The Initial Developer of the Original Code is Axel Hecht. +# Portions created by Axel Hecht are Copyright (C) Axel Hecht. +# All Rights Reserved. +# +# Contributor(s): +# Axel Hecht +# + +DEPTH = ..\..\..\..\..\.. + +DIRS = content + +CHROME_DIR = packages\transformiix +CHROME_MISC_DIR = \ + .\ + $(NULL) + +CHROME_TYPE = content skin + +CHROME_MISC = \ + .\manifest.rdf \ + $(NULL) + + +include <$(DEPTH)\config\rules.mak> diff --git a/extensions/transformiix/source/makefile.win b/extensions/transformiix/source/makefile.win index b5c7454c6e0..8be8de8101e 100644 --- a/extensions/transformiix/source/makefile.win +++ b/extensions/transformiix/source/makefile.win @@ -22,5 +22,8 @@ DEPTH=..\..\.. DIRS=base net xml xpath xslt +!if defined(MOZ_XSL) +DIRS=$(DIRS) examples\mozilla\Transformiix +!endif include <$(DEPTH)\config\rules.mak> diff --git a/extensions/transformiix/source/xslt/XSLTProcessor.cpp b/extensions/transformiix/source/xslt/XSLTProcessor.cpp index 76fae645ddb..b318dd093f9 100644 --- a/extensions/transformiix/source/xslt/XSLTProcessor.cpp +++ b/extensions/transformiix/source/xslt/XSLTProcessor.cpp @@ -38,7 +38,7 @@ * Olivier Gerardin * -- Changed behavior of passing parameters to templates * - * $Id: XSLTProcessor.cpp,v 1.20 2000-07-23 07:43:37 kvisco%ziplink.net Exp $ + * $Id: XSLTProcessor.cpp,v 1.21 2000-07-25 07:03:40 axel%pike.org Exp $ */ #include "XSLTProcessor.h" @@ -53,7 +53,7 @@ /** * XSLTProcessor is a class for Processing XSL styelsheets * @author Keith Visco - * @version $Revision: 1.20 $ $Date: 2000-07-23 07:43:37 $ + * @version $Revision: 1.21 $ $Date: 2000-07-25 07:03:40 $ **/ /** @@ -74,7 +74,7 @@ XSLTProcessor::XSLTProcessor() { xslVersion.append("1.0"); appName.append("TransforMiiX"); - appVersion.append("1.0 [beta v20000722]"); + appVersion.append("1.0 [beta v20000725]"); //-- create XSL element types