Permalink
Browse files

[monkeydoc] Change namespace base from MonkeyDoc to Monodoc.

  • Loading branch information...
1 parent 6bfd3ba commit b2fa5b3d7c11bf48083f4893c1684b79d30b9a69 @garuma garuma committed Dec 20, 2012
Showing with 92 additions and 92 deletions.
  1. +2 −2 mcs/tools/monkeydoc/MonkeyDoc.Ecma/EcmaDesc.cs
  2. +1 −1 mcs/tools/monkeydoc/MonkeyDoc.Ecma/EcmaUrlParser.jay
  3. +2 −2 mcs/tools/monkeydoc/MonkeyDoc.Ecma/EcmaUrlParserDriver.cs
  4. +1 −1 mcs/tools/monkeydoc/MonkeyDoc.Ecma/EcmaUrlTokenizer.cs
  5. +3 −3 mcs/tools/monkeydoc/MonkeyDoc/HelpSource.cs
  6. +3 −3 mcs/tools/monkeydoc/MonkeyDoc/HelpSource_Legacy.cs
  7. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/Node.cs
  8. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/Node_Legacy.cs
  9. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/Provider.cs
  10. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/RootTree.cs
  11. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/RootTree_Legacy.cs
  12. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/SearchableDocument.cs
  13. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/SearchableIndex.cs
  14. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/Tree.cs
  15. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/Tree_Legacy.cs
  16. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/TypeUtils.cs
  17. +3 −3 mcs/tools/monkeydoc/MonkeyDoc/cache.cs
  18. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/caches/FileCache.cs
  19. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/caches/NullCache.cs
  20. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/generator.cs
  21. +3 −3 mcs/tools/monkeydoc/MonkeyDoc/generators/HtmlGenerator.cs
  22. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/generators/RawGenerator.cs
  23. +4 −4 mcs/tools/monkeydoc/MonkeyDoc/generators/html/Addin2Html.cs
  24. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/generators/html/Ecma2Html.cs
  25. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/generators/html/Ecmaspec2Html.cs
  26. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/generators/html/Error2Html.cs
  27. +4 −4 mcs/tools/monkeydoc/MonkeyDoc/generators/html/Idem.cs
  28. +4 −4 mcs/tools/monkeydoc/MonkeyDoc/generators/html/Man2Html.cs
  29. +4 −4 mcs/tools/monkeydoc/MonkeyDoc/generators/html/MonoBook2Html.cs
  30. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/generators/html/Toc2Html.cs
  31. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/index.cs
  32. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/providers/EcmaDoc.cs
  33. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/providers/addins-provider.cs
  34. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/providers/ecma-provider.cs
  35. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/providers/ecmaspec-provider.cs
  36. +3 −3 mcs/tools/monkeydoc/MonkeyDoc/providers/ecmauncompiled-provider.cs
  37. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/providers/error-provider.cs
  38. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/providers/man-provider.cs
  39. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/providers/xhtml-provider.cs
  40. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/settings.cs
  41. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/storage.cs
  42. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/storage/NullStorage.cs
  43. +1 −1 mcs/tools/monkeydoc/MonkeyDoc/storage/UncompiledDocStorage.cs
  44. +2 −2 mcs/tools/monkeydoc/MonkeyDoc/storage/ZipStorage.cs
  45. +3 −3 mcs/tools/monkeydoc/Test/MonkeyDoc.Ecma/EcmaUrlTests.cs
  46. +3 −3 mcs/tools/monkeydoc/Test/MonkeyDoc/HelpSourceTests.cs
  47. +2 −2 mcs/tools/monkeydoc/Test/MonkeyDoc/SettingsTest.cs
  48. +3 −3 mcs/tools/monkeydoc/Test/Monkeydoc.Generators/RawGeneratorTests.cs
@@ -3,7 +3,7 @@
using System.Text;
using System.Collections.Generic;
-namespace MonkeyDoc.Ecma
+namespace Monodoc.Ecma
{
/* Some properties might not be filled/meaningful depending on kind
* like a namespace EcmaUrl won't have a valid TypeName
@@ -330,4 +330,4 @@ string ModToString (EcmaDesc desc)
}
}
}
-}
+}
@@ -5,7 +5,7 @@ using System;
using System.Linq;
using System.Collections.Generic;
-namespace MonkeyDoc.Ecma
+namespace Monodoc.Ecma
{
public class EcmaUrlParser
{
@@ -1,7 +1,7 @@
using System;
using System.IO;
-namespace MonkeyDoc.Ecma
+namespace Monodoc.Ecma
{
public class EcmaUrlParserDriver
{
@@ -14,4 +14,4 @@ public static void Main (string[] args)
Console.WriteLine (parser.yyparse (lexer));
}
}
-}
+}
@@ -2,7 +2,7 @@
using System.Text;
using System.Globalization;
-namespace MonkeyDoc.Ecma
+namespace Monodoc.Ecma
{
public class EcmaUrlTokenizer : yyParser.yyInput
{
@@ -8,7 +8,7 @@
using Mono.Utilities;
using Lucene.Net.Index;
-namespace MonkeyDoc
+namespace Monodoc
{
public enum SortType {
Caption,
@@ -50,7 +50,7 @@ public HelpSource (string base_filename, bool create)
this.name = Path.GetFileName (base_filename);
this.basePath = Path.GetDirectoryName (base_filename);
this.treeFilePath = base_filename + ".tree";
- this.storage = new MonkeyDoc.Storage.ZipStorage (base_filename + ".zip");
+ this.storage = new Monodoc.Storage.ZipStorage (base_filename + ".zip");
this.cache = DocCacheHelper.GetDefaultCache (Name);
tree = create ? new Tree (this, string.Empty, string.Empty) : new Tree (this, treeFilePath);
@@ -351,4 +351,4 @@ public virtual void PopulateSearchableIndex (IndexWriter writer)
}
}
-}
+}
@@ -10,7 +10,7 @@
#if LEGACY_MODE
-namespace MonkeyDoc
+namespace Monodoc
{
using Generators;
@@ -25,9 +25,9 @@ public partial class HelpSource
[Obsolete]
public static bool UseWebdocCache;
- [Obsolete ("Use MonkeyDoc.Providers.HtmlGenerator.InlineCss")]
+ [Obsolete ("Use Monodoc.Providers.HtmlGenerator.InlineCss")]
public string InlineCss {
- get { return MonkeyDoc.Generators.HtmlGenerator.InlineCss; }
+ get { return Monodoc.Generators.HtmlGenerator.InlineCss; }
}
[Obsolete]
@@ -5,7 +5,7 @@
using System.Xml;
using System.Collections.Generic;
-namespace MonkeyDoc
+namespace Monodoc
{
public
#if LEGACY_MODE
@@ -7,7 +7,7 @@
#if LEGACY_MODE
-namespace MonkeyDoc
+namespace Monodoc
{
public partial class Node
{
@@ -1,6 +1,6 @@
using System;
-namespace MonkeyDoc
+namespace Monodoc
{
public abstract class Provider
{
@@ -9,11 +9,11 @@
using System.Runtime.InteropServices;
using System.Xml;
-using MonkeyDoc.Providers;
+using Monodoc.Providers;
using Lucene.Net.Analysis.Standard;
using Lucene.Net.Index;
-namespace MonkeyDoc
+namespace Monodoc
{
public
#if LEGACY_MODE
@@ -10,7 +10,7 @@
#if LEGACY_MODE
-namespace MonkeyDoc
+namespace Monodoc
{
using Generators;
@@ -6,7 +6,7 @@
//
using Lucene.Net.Documents;
-namespace MonkeyDoc
+namespace Monodoc
{
struct SearchableDocument
{
@@ -17,7 +17,7 @@
using Lucene.Net.QueryParsers;
using Lucene.Net.Store;
-namespace MonkeyDoc
+namespace Monodoc
{
public class SearchableIndex
{
@@ -5,7 +5,7 @@
using System.Xml;
using System.Collections.Generic;
-namespace MonkeyDoc
+namespace Monodoc
{
/// <summary>
/// This tree is populated by the documentation providers, or populated
@@ -5,7 +5,7 @@
using System.Xml;
using System.Collections.Generic;
-namespace MonkeyDoc
+namespace Monodoc
{
public partial class Tree
{
@@ -1,6 +1,6 @@
using System;
-namespace MonkeyDoc
+namespace Monodoc
{
public static class TypeUtils
{
@@ -37,4 +37,4 @@ public static bool GetNamespaceAndType (string url, out string ns, out string ty
return true;
}
}
-}
+}
@@ -3,9 +3,9 @@
using System.IO;
using System.Configuration;
using System.Collections.Specialized;
-using MonkeyDoc.Caches;
+using Monodoc.Caches;
-namespace MonkeyDoc
+namespace Monodoc
{
public enum DocEntity
{
@@ -50,4 +50,4 @@ public static IDocCache GetDefaultCache (string name)
return new FileCache (Path.Combine (cacheBaseDirectory, name));
}
}
-}
+}
@@ -1,7 +1,7 @@
using System;
using System.IO;
-namespace MonkeyDoc.Caches
+namespace Monodoc.Caches
{
public class FileCache : IDocCache
{
@@ -72,4 +72,4 @@ public void Dispose ()
} catch {}
}
}
-}
+}
@@ -1,7 +1,7 @@
using System;
using System.IO;
-namespace MonkeyDoc.Caches
+namespace Monodoc.Caches
{
// This is basically a no-cache implementation
public class NullCache : IDocCache
@@ -51,4 +51,4 @@ public void Dispose ()
}
}
-}
+}
@@ -1,6 +1,6 @@
using System;
-namespace MonkeyDoc
+namespace Monodoc
{
// All type of documents that a generator may find as input
public enum DocumentType {
@@ -24,4 +24,4 @@ public interface IDocGenerator<TOutput>
// for the given ID and use the right engine internally
TOutput Generate (HelpSource hs, string internalId);
}
-}
+}
@@ -4,9 +4,9 @@
using System.Linq;
using System.Collections.Generic;
-using MonkeyDoc;
+using Monodoc;
-namespace MonkeyDoc.Generators
+namespace Monodoc.Generators
{
using Html;
@@ -129,4 +129,4 @@ string MakeCacheKey (HelpSource hs, string page, IDictionary<string,string> extr
return key;
}
}
-}
+}
@@ -4,9 +4,9 @@
using System.Linq;
using System.Collections.Generic;
-using MonkeyDoc;
+using Monodoc;
-namespace MonkeyDoc.Generators
+namespace Monodoc.Generators
{
/// <summary>
/// This generators returns the raw content of the HelpSource without any transformation
@@ -6,7 +6,7 @@
using System.Xml.XPath;
using System.Collections.Generic;
-namespace MonkeyDoc.Generators.Html
+namespace Monodoc.Generators.Html
{
public class Addin2Html : IHtmlExporter
{
@@ -45,11 +45,11 @@ XmlElement GetAddin (TextReader reader, string addinId)
public string Htmlize (XmlElement addin, string urlType, string addinId, string fileId, string path)
{
- if (urlType == MonkeyDoc.Providers.AddinsHelpSource.AddinPrefix)
+ if (urlType == Monodoc.Providers.AddinsHelpSource.AddinPrefix)
return GetAddinTextFromUrl (addin, addinId, fileId);
- else if (urlType == MonkeyDoc.Providers.AddinsHelpSource.ExtensionPrefix)
+ else if (urlType == Monodoc.Providers.AddinsHelpSource.ExtensionPrefix)
return GetExtensionTextFromUrl (addin, addinId, fileId, path);
- else if (urlType == MonkeyDoc.Providers.AddinsHelpSource.ExtensionNodePrefix)
+ else if (urlType == Monodoc.Providers.AddinsHelpSource.ExtensionNodePrefix)
return GetExtensionNodeTextFromUrl (addin, addinId, fileId, path);
return null;
@@ -10,7 +10,7 @@
using Mono.Documentation;
using BF = System.Reflection.BindingFlags;
-namespace MonkeyDoc.Generators.Html
+namespace Monodoc.Generators.Html
{
public class Ecma2Html : IHtmlExporter
{
@@ -304,4 +304,4 @@ public bool IsToBeAdded(string text)
}
}
}
-}
+}
@@ -5,7 +5,7 @@
using System.Xml.XPath;
using System.Collections.Generic;
-namespace MonkeyDoc.Generators.Html
+namespace Monodoc.Generators.Html
{
public class Ecmaspec2Html : IHtmlExporter
{
@@ -63,4 +63,4 @@ static string Htmlize (XPathDocument ecma_xml)
return output.ToString ();
}
}
-}
+}
@@ -5,7 +5,7 @@
using System.Xml.XPath;
using System.Collections.Generic;
-namespace MonkeyDoc.Generators.Html
+namespace Monodoc.Generators.Html
{
public class Error2Html : IHtmlExporter
{
@@ -3,10 +3,10 @@
using System.Text;
using System.Collections.Generic;
-using MonkeyDoc;
-using MonkeyDoc.Generators;
+using Monodoc;
+using Monodoc.Generators;
-namespace MonkeyDoc.Generators.Html
+namespace Monodoc.Generators.Html
{
// Input is expected to be already HTML so just return it
public class Idem : IHtmlExporter
@@ -31,4 +31,4 @@ public string Export (string input, Dictionary<string, string> extraArgs)
return input;
}
}
-}
+}
@@ -3,10 +3,10 @@
using System.Text;
using System.Collections.Generic;
-using MonkeyDoc;
-using MonkeyDoc.Generators;
+using Monodoc;
+using Monodoc.Generators;
-namespace MonkeyDoc.Generators.Html
+namespace Monodoc.Generators.Html
{
public class Man2Html : IHtmlExporter
{
@@ -313,4 +313,4 @@ static void Translate (string line, StringBuilder output)
}
}
}
-}
+}
Oops, something went wrong.

0 comments on commit b2fa5b3

Please sign in to comment.