From: Gert D. <dri...@us...> - 2008-08-18 09:54:28
|
Update of /cvsroot/ndoc/ndoc/src/Documenter/LinearHtml In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30078 Modified Files: Tag: ndoc_1_3_patches LinearHtml.build LinearHtmlDocumenter.cs LinearHtmlDocumenterConfig.cs Log Message: Remove unused methods and fields, fixing compiler warnings. Ignore deprecation warnings. Index: LinearHtml.build =================================================================== RCS file: /cvsroot/ndoc/ndoc/src/Documenter/LinearHtml/LinearHtml.build,v retrieving revision 1.10.2.1 retrieving revision 1.10.2.2 diff -C2 -d -r1.10.2.1 -r1.10.2.2 *** LinearHtml.build 18 Aug 2008 08:23:55 -0000 1.10.2.1 --- LinearHtml.build 18 Aug 2008 09:54:22 -0000 1.10.2.2 *************** *** 2,6 **** <project name="NDoc.Documenter.LinearHtml" default="compile"> <target name="compile"> ! <csc target="library" warnaserror="true" output="${current.bin.dir}/${project::get-name()}.dll" debug="${current.build.debug}" optimize="${current.build.optimize}" unsafe="false" checked="false" define="${current.build.defines}" doc="${current.bin.dir}/${project::get-name()}.xml"> <nowarn> <warning number="0618" unless="${framework::get-target-framework() == 'net-2.0'}" /> --- 2,6 ---- <project name="NDoc.Documenter.LinearHtml" default="compile"> <target name="compile"> ! <csc target="library" output="${current.bin.dir}/${project::get-name()}.dll" debug="${current.build.debug}" optimize="${current.build.optimize}" unsafe="false" warnaserror="true" checked="false" define="${current.build.defines}" doc="${current.bin.dir}/${project::get-name()}.xml"> <nowarn> <warning number="0618" unless="${framework::get-target-framework() == 'net-2.0'}" /> Index: LinearHtmlDocumenter.cs =================================================================== RCS file: /cvsroot/ndoc/ndoc/src/Documenter/LinearHtml/LinearHtmlDocumenter.cs,v retrieving revision 1.21 retrieving revision 1.21.2.1 diff -C2 -d -r1.21 -r1.21.2.1 *** LinearHtmlDocumenter.cs 22 Jan 2005 16:25:42 -0000 1.21 --- LinearHtmlDocumenter.cs 18 Aug 2008 09:54:31 -0000 1.21.2.1 *************** *** 625,639 **** } - void GetSummaryAndRemarks(XPathNavigator nav, out string summary, out string remarks) - { - XPathNavigator summaryNav = GetDescendantNodeWithName(nav, "summary"); - XPathNavigator remarksNav = GetDescendantNodeWithName(nav, "remarks"); - summary = GetNodeXmlFixCode(summaryNav); - if (summaryNav != null) - Console.WriteLine("GSAR: got {0} from {1}", summary, summaryNav.Value); - else Console.WriteLine("GSAR: No summary"); - remarks = GetNodeXmlFixCode(remarksNav); - } - /// <summary> /// Fix code node such that it will be rendered correctly (using pre). --- 625,628 ---- *************** *** 649,673 **** /// <summary> - /// Fix code node such that it will be rendered correctly (using pre). - /// </summary> - private void FixCodeNodes(XPathNavigator nav) - { - XmlNode n = null; - try - { - n = ((IHasXmlNode)nav).GetNode(); - } - catch(Exception) - { - return; - } - - if (n != null) - { - FixCodeNodes(n); // change <code> to <pre class="code"> - } - } - - /// <summary> /// Fix any code nodes under the specified navigator, and return the node's /// inner Xml. --- 638,641 ---- Index: LinearHtmlDocumenterConfig.cs =================================================================== RCS file: /cvsroot/ndoc/ndoc/src/Documenter/LinearHtml/LinearHtmlDocumenterConfig.cs,v retrieving revision 1.16 retrieving revision 1.16.4.1 diff -C2 -d -r1.16 -r1.16.4.1 *** LinearHtmlDocumenterConfig.cs 14 Nov 2004 16:40:14 -0000 1.16 --- LinearHtmlDocumenterConfig.cs 18 Aug 2008 09:54:32 -0000 1.16.4.1 *************** *** 107,112 **** } } - void ResetOutputDirectory() { _outputDirectory = string.Format( ".{0}doc{0}", Path.DirectorySeparatorChar ); } - private bool _MethodParametersInTable; --- 107,110 ---- |