From: Gert D. <dri...@us...> - 2008-08-18 09:44:19
|
Update of /cvsroot/ndoc/ndoc/src/Documenter/Msdn In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15310 Modified Files: Tag: ndoc_1_3_patches HtmlHelp.cs Msdn.build MsdnDocumenter.cs MsdnDocumenterConfig.cs Log Message: Remove unused methods and fields, fixing compiler warnings. Ignore deprecation warnings. Index: HtmlHelp.cs =================================================================== RCS file: /cvsroot/ndoc/ndoc/src/Documenter/Msdn/HtmlHelp.cs,v retrieving revision 1.5 retrieving revision 1.5.4.1 diff -C2 -d -r1.5 -r1.5.4.1 *** HtmlHelp.cs 10 Jun 2004 16:16:56 -0000 1.5 --- HtmlHelp.cs 18 Aug 2008 09:44:10 -0000 1.5.4.1 *************** *** 192,200 **** } - private string GetProjectFilename() - { - return _projectName + ".hhp"; - } - private string GetContentsFilename() { --- 192,195 ---- Index: Msdn.build =================================================================== RCS file: /cvsroot/ndoc/ndoc/src/Documenter/Msdn/Msdn.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 *** Msdn.build 17 Aug 2008 21:03:40 -0000 1.10.2.1 --- Msdn.build 18 Aug 2008 09:44:21 -0000 1.10.2.2 *************** *** 2,9 **** <project name="NDoc.Documenter.Msdn" 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"> <warnaserror> - <!-- do not treat obsolete warnings as error on .NET 2.0 --> - <exclude number="0618" if="${framework::get-target-framework() == 'net-2.0'}" /> <!-- do not treat usage of AssemblyKeyFile attribute as error on .NET 2.0 --> <exclude number="1699" if="${framework::get-target-framework() == 'net-2.0'}" /> --- 2,11 ---- <project name="NDoc.Documenter.Msdn" 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> ! <!-- ignore obsolete warnings --> ! <warning number="0618" /> ! </nowarn> <warnaserror> <!-- do not treat usage of AssemblyKeyFile attribute as error on .NET 2.0 --> <exclude number="1699" if="${framework::get-target-framework() == 'net-2.0'}" /> Index: MsdnDocumenter.cs =================================================================== RCS file: /cvsroot/ndoc/ndoc/src/Documenter/Msdn/MsdnDocumenter.cs,v retrieving revision 1.119.2.4 retrieving revision 1.119.2.5 diff -C2 -d -r1.119.2.4 -r1.119.2.5 *** MsdnDocumenter.cs 23 Mar 2005 22:02:03 -0000 1.119.2.4 --- MsdnDocumenter.cs 18 Aug 2008 09:44:22 -0000 1.119.2.5 *************** *** 580,607 **** } - private void MakeHtmlForNamespaces(string assemblyName) - { - XmlNodeList namespaceNodes = xmlDocumentation.SelectNodes("/ndoc/assembly[@name=\"" + assemblyName + "\"]/module/namespace"); - int[] indexes = SortNodesByAttribute(namespaceNodes, "name"); - - int nNodes = namespaceNodes.Count; - - for (int i = 0; i < nNodes; i++) - { - OnDocBuildingProgress(i*100/nNodes); - - XmlNode namespaceNode = namespaceNodes[indexes[i]]; - - if (namespaceNode.ChildNodes.Count > 0) - { - string namespaceName = (string)namespaceNode.Attributes["name"].Value; - - MakeHtmlForNamespace(assemblyName, namespaceName); - } - } - - OnDocBuildingProgress(100); - } - private void MakeHtmlForAssembliesSorted() { --- 580,583 ---- Index: MsdnDocumenterConfig.cs =================================================================== RCS file: /cvsroot/ndoc/ndoc/src/Documenter/Msdn/MsdnDocumenterConfig.cs,v retrieving revision 1.60.4.1 retrieving revision 1.60.4.2 diff -C2 -d -r1.60.4.1 -r1.60.4.2 *** MsdnDocumenterConfig.cs 23 Mar 2005 22:02:07 -0000 1.60.4.1 --- MsdnDocumenterConfig.cs 18 Aug 2008 09:44:24 -0000 1.60.4.2 *************** *** 98,103 **** } } - void ResetOutputDirectory() { _outputDirectory = string.Format( ".{0}doc{0}", Path.DirectorySeparatorChar ); } - /// <summary>Gets or sets the HtmlHelpName property.</summary> --- 98,101 ---- *************** *** 415,420 **** } } - void ResetAdditionalContentResourceDirectory() { _AdditionalContentResourceDirectory = new FolderPath(); } - FilePath _ExtensibilityStylesheet = new FilePath(); --- 413,416 ---- *************** *** 439,443 **** } } - void ResetExtensibilityStylesheet() { _ExtensibilityStylesheet = new FilePath(); } short _LangID = 1033; --- 435,438 ---- |