Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change dll name and namespace from IronRuby.Libraries.Hpricot to Iron…

…Ruby.Hpricot.
  • Loading branch information...
commit 418781140db81cd02fa576ff6c2244ace6d7529d 1 parent d24a458
@nrk authored
View
2  lib/hpricot.rb
@@ -17,7 +17,7 @@
rescue LoadError
end
-load_assembly 'IronRuby.Libraries.Hpricot', 'IronRuby.Libraries.Hpricot'
+load_assembly 'IronRuby.Hpricot', 'IronRuby.Hpricot'
require 'hpricot/tag'
require 'hpricot/modules'
View
2  src/BuiltinsOps.cs
@@ -5,7 +5,7 @@
using Microsoft.Scripting;
using Microsoft.Scripting.Runtime;
-namespace IronRuby.Libraries.Hpricot {
+namespace IronRuby.FastXs {
[RubyModule(Extends = typeof(MutableString))]
public static class MutableStringOps {
[RubyMethod("fast_xs")]
View
2  src/FastXs.cs
@@ -6,7 +6,7 @@
using Microsoft.Scripting;
using Microsoft.Scripting.Runtime;
-namespace IronRuby.Libraries.Hpricot {
+namespace IronRuby.FastXs {
#region EntityMap
/// <summary>
View
2  src/Hpricot.cs
@@ -6,7 +6,7 @@
using Microsoft.Scripting;
using Microsoft.Scripting.Runtime;
-namespace IronRuby.Libraries.Hpricot {
+namespace IronRuby.Hpricot {
#region IHpricotDataContainer
View
2  src/HpricotObjects.cs
@@ -1,7 +1,7 @@
using System;
using IronRuby.Builtins;
-namespace IronRuby.Libraries.Hpricot {
+namespace IronRuby.Hpricot {
#region BasicData
public class BasicData {
View
2  src/HpricotScanner.cs
@@ -10,7 +10,7 @@
using Microsoft.Scripting.Utils;
using Microsoft.Scripting.Runtime;
-namespace IronRuby.Libraries.Hpricot {
+namespace IronRuby.Hpricot {
using RubyIOReadCallSite = CallSite<Func<CallSite, Object, Object, Object>>;
public class HpricotScanner {
View
144 src/Initializers.Generated.cs
@@ -1,7 +1,7 @@
#pragma warning disable 169 // mcs: unused private method
-[assembly: IronRuby.Runtime.RubyLibraryAttribute(typeof(IronRuby.Libraries.Hpricot.HpricotLibraryInitializer))]
+[assembly: IronRuby.Runtime.RubyLibraryAttribute(typeof(IronRuby.Hpricot.HpricotLibraryInitializer))]
-namespace IronRuby.Libraries.Hpricot {
+namespace IronRuby.Hpricot {
using System;
using Microsoft.Scripting.Utils;
@@ -11,39 +11,39 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
IronRuby.Builtins.RubyClass classRef1 = GetClass(typeof(System.SystemException));
- IronRuby.Builtins.RubyModule def1 = DefineGlobalModule("Hpricot", typeof(IronRuby.Libraries.Hpricot.Hpricot), 0x00000008, null, LoadHpricot_Class, LoadHpricot_Constants, IronRuby.Builtins.RubyModule.EmptyArray);
- IronRuby.Builtins.RubyClass def2 = DefineClass("Hpricot::BaseEle", typeof(IronRuby.Libraries.Hpricot.Hpricot.BaseElement), 0x00000008, classRef0, LoadHpricot__BaseEle_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray);
- IronRuby.Builtins.RubyClass def6 = DefineClass("Hpricot::Doc", typeof(IronRuby.Libraries.Hpricot.Hpricot.Document), 0x00000008, classRef0, LoadHpricot__Doc_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
- new Func<IronRuby.Builtins.RubyClass, IronRuby.Libraries.Hpricot.Hpricot.Document>(IronRuby.Libraries.Hpricot.Hpricot.Document.Allocator)
+ IronRuby.Builtins.RubyModule def1 = DefineGlobalModule("Hpricot", typeof(IronRuby.Hpricot.Hpricot), 0x00000008, null, LoadHpricot_Class, LoadHpricot_Constants, IronRuby.Builtins.RubyModule.EmptyArray);
+ IronRuby.Builtins.RubyClass def2 = DefineClass("Hpricot::BaseEle", typeof(IronRuby.Hpricot.Hpricot.BaseElement), 0x00000008, classRef0, LoadHpricot__BaseEle_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray);
+ IronRuby.Builtins.RubyClass def6 = DefineClass("Hpricot::Doc", typeof(IronRuby.Hpricot.Hpricot.Document), 0x00000008, classRef0, LoadHpricot__Doc_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
+ new Func<IronRuby.Builtins.RubyClass, IronRuby.Hpricot.Hpricot.Document>(IronRuby.Hpricot.Hpricot.Document.Allocator)
);
- IronRuby.Builtins.RubyClass def10 = DefineClass("Hpricot::ParseError", typeof(IronRuby.Libraries.Hpricot.Hpricot.ParserException), 0x00000008, classRef1, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray);
+ IronRuby.Builtins.RubyClass def10 = DefineClass("Hpricot::ParseError", typeof(IronRuby.Hpricot.Hpricot.ParserException), 0x00000008, classRef1, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray);
ExtendModule(typeof(IronRuby.Builtins.MutableString), 0x00000000, LoadIronRuby__Builtins__MutableString_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray);
- IronRuby.Builtins.RubyClass def4 = DefineClass("Hpricot::CData", typeof(IronRuby.Libraries.Hpricot.Hpricot.CData), 0x00000008, def2, LoadHpricot__CData_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
- new Func<IronRuby.Builtins.RubyClass, IronRuby.Libraries.Hpricot.Hpricot.CData>(IronRuby.Libraries.Hpricot.Hpricot.CData.Allocator)
+ IronRuby.Builtins.RubyClass def4 = DefineClass("Hpricot::CData", typeof(IronRuby.Hpricot.Hpricot.CData), 0x00000008, def2, LoadHpricot__CData_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
+ new Func<IronRuby.Builtins.RubyClass, IronRuby.Hpricot.Hpricot.CData>(IronRuby.Hpricot.Hpricot.CData.Allocator)
);
- IronRuby.Builtins.RubyClass def5 = DefineClass("Hpricot::Comment", typeof(IronRuby.Libraries.Hpricot.Hpricot.Comment), 0x00000008, def2, LoadHpricot__Comment_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
- new Func<IronRuby.Builtins.RubyClass, IronRuby.Libraries.Hpricot.Hpricot.Comment>(IronRuby.Libraries.Hpricot.Hpricot.Comment.Allocator)
+ IronRuby.Builtins.RubyClass def5 = DefineClass("Hpricot::Comment", typeof(IronRuby.Hpricot.Hpricot.Comment), 0x00000008, def2, LoadHpricot__Comment_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
+ new Func<IronRuby.Builtins.RubyClass, IronRuby.Hpricot.Hpricot.Comment>(IronRuby.Hpricot.Hpricot.Comment.Allocator)
);
- IronRuby.Builtins.RubyClass def7 = DefineClass("Hpricot::DocType", typeof(IronRuby.Libraries.Hpricot.Hpricot.DocumentType), 0x00000008, def2, LoadHpricot__DocType_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
- new Func<IronRuby.Builtins.RubyClass, IronRuby.Libraries.Hpricot.Hpricot.DocumentType>(IronRuby.Libraries.Hpricot.Hpricot.DocumentType.Allocator)
+ IronRuby.Builtins.RubyClass def7 = DefineClass("Hpricot::DocType", typeof(IronRuby.Hpricot.Hpricot.DocumentType), 0x00000008, def2, LoadHpricot__DocType_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
+ new Func<IronRuby.Builtins.RubyClass, IronRuby.Hpricot.Hpricot.DocumentType>(IronRuby.Hpricot.Hpricot.DocumentType.Allocator)
);
- IronRuby.Builtins.RubyClass def8 = DefineClass("Hpricot::Elem", typeof(IronRuby.Libraries.Hpricot.Hpricot.Element), 0x00000008, def2, LoadHpricot__Elem_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
- new Func<IronRuby.Builtins.RubyClass, IronRuby.Libraries.Hpricot.Hpricot.Element>(IronRuby.Libraries.Hpricot.Hpricot.Element.Allocator)
+ IronRuby.Builtins.RubyClass def8 = DefineClass("Hpricot::Elem", typeof(IronRuby.Hpricot.Hpricot.Element), 0x00000008, def2, LoadHpricot__Elem_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
+ new Func<IronRuby.Builtins.RubyClass, IronRuby.Hpricot.Hpricot.Element>(IronRuby.Hpricot.Hpricot.Element.Allocator)
);
- IronRuby.Builtins.RubyClass def9 = DefineClass("Hpricot::ETag", typeof(IronRuby.Libraries.Hpricot.Hpricot.ETag), 0x00000008, def2, LoadHpricot__ETag_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
- new Func<IronRuby.Builtins.RubyClass, IronRuby.Libraries.Hpricot.Hpricot.ETag>(IronRuby.Libraries.Hpricot.Hpricot.ETag.Allocator)
+ IronRuby.Builtins.RubyClass def9 = DefineClass("Hpricot::ETag", typeof(IronRuby.Hpricot.Hpricot.ETag), 0x00000008, def2, LoadHpricot__ETag_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
+ new Func<IronRuby.Builtins.RubyClass, IronRuby.Hpricot.Hpricot.ETag>(IronRuby.Hpricot.Hpricot.ETag.Allocator)
);
- IronRuby.Builtins.RubyClass def11 = DefineClass("Hpricot::ProcIns", typeof(IronRuby.Libraries.Hpricot.Hpricot.ProcedureInstruction), 0x00000008, def2, LoadHpricot__ProcIns_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
- new Func<IronRuby.Builtins.RubyClass, IronRuby.Libraries.Hpricot.Hpricot.ProcedureInstruction>(IronRuby.Libraries.Hpricot.Hpricot.ProcedureInstruction.Allocator)
+ IronRuby.Builtins.RubyClass def11 = DefineClass("Hpricot::ProcIns", typeof(IronRuby.Hpricot.Hpricot.ProcedureInstruction), 0x00000008, def2, LoadHpricot__ProcIns_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
+ new Func<IronRuby.Builtins.RubyClass, IronRuby.Hpricot.Hpricot.ProcedureInstruction>(IronRuby.Hpricot.Hpricot.ProcedureInstruction.Allocator)
);
- IronRuby.Builtins.RubyClass def12 = DefineClass("Hpricot::Text", typeof(IronRuby.Libraries.Hpricot.Hpricot.Text), 0x00000008, def2, LoadHpricot__Text_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
- new Func<IronRuby.Builtins.RubyClass, IronRuby.Libraries.Hpricot.Hpricot.Text>(IronRuby.Libraries.Hpricot.Hpricot.Text.Allocator)
+ IronRuby.Builtins.RubyClass def12 = DefineClass("Hpricot::Text", typeof(IronRuby.Hpricot.Hpricot.Text), 0x00000008, def2, LoadHpricot__Text_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
+ new Func<IronRuby.Builtins.RubyClass, IronRuby.Hpricot.Hpricot.Text>(IronRuby.Hpricot.Hpricot.Text.Allocator)
);
- IronRuby.Builtins.RubyClass def13 = DefineClass("Hpricot::XMLDecl", typeof(IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration), 0x00000008, def2, LoadHpricot__XMLDecl_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
- new Func<IronRuby.Builtins.RubyClass, IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration>(IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration.Allocator)
+ IronRuby.Builtins.RubyClass def13 = DefineClass("Hpricot::XMLDecl", typeof(IronRuby.Hpricot.Hpricot.XmlDeclaration), 0x00000008, def2, LoadHpricot__XMLDecl_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
+ new Func<IronRuby.Builtins.RubyClass, IronRuby.Hpricot.Hpricot.XmlDeclaration>(IronRuby.Hpricot.Hpricot.XmlDeclaration.Allocator)
);
- IronRuby.Builtins.RubyClass def3 = DefineClass("Hpricot::BogusETag", typeof(IronRuby.Libraries.Hpricot.Hpricot.BogusETag), 0x00000008, def9, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
- new Func<IronRuby.Builtins.RubyClass, IronRuby.Libraries.Hpricot.Hpricot.BogusETag>(IronRuby.Libraries.Hpricot.Hpricot.BogusETag.Allocator)
+ IronRuby.Builtins.RubyClass def3 = DefineClass("Hpricot::BogusETag", typeof(IronRuby.Hpricot.Hpricot.BogusETag), 0x00000008, def9, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray,
+ new Func<IronRuby.Builtins.RubyClass, IronRuby.Hpricot.Hpricot.BogusETag>(IronRuby.Hpricot.Hpricot.BogusETag.Allocator)
);
SetConstant(def1, "BaseEle", def2);
SetConstant(def1, "Doc", def6);
@@ -60,29 +60,29 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
}
private static void LoadHpricot_Constants(IronRuby.Builtins.RubyModule/*!*/ module) {
- SetConstant(module, "ProcInsParse", IronRuby.Libraries.Hpricot.Hpricot.ProcInsParse);
+ SetConstant(module, "ProcInsParse", IronRuby.Hpricot.Hpricot.ProcInsParse);
}
private static void LoadHpricot_Class(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "buffer_size", 0x21,
0x00000000U,
- new Func<IronRuby.Builtins.RubyModule, System.Nullable<System.Int32>>(IronRuby.Libraries.Hpricot.Hpricot.GetBufferSize)
+ new Func<IronRuby.Builtins.RubyModule, System.Nullable<System.Int32>>(IronRuby.Hpricot.Hpricot.GetBufferSize)
);
DefineLibraryMethod(module, "buffer_size=", 0x21,
0x00000000U,
- new Action<IronRuby.Builtins.RubyModule, System.Int32>(IronRuby.Libraries.Hpricot.Hpricot.SetBufferSize)
+ new Action<IronRuby.Builtins.RubyModule, System.Int32>(IronRuby.Hpricot.Hpricot.SetBufferSize)
);
DefineLibraryMethod(module, "css", 0x21,
0x00000000U,
- new Func<IronRuby.Runtime.RubyContext, IronRuby.Runtime.BlockParam, IronRuby.Builtins.RubyModule, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Css)
+ new Func<IronRuby.Runtime.RubyContext, IronRuby.Runtime.BlockParam, IronRuby.Builtins.RubyModule, System.Object>(IronRuby.Hpricot.Hpricot.Css)
);
DefineLibraryMethod(module, "scan", 0x21,
0x00000000U,
- new Func<IronRuby.Runtime.ConversionStorage<IronRuby.Builtins.MutableString>, IronRuby.Runtime.RespondToStorage, IronRuby.Runtime.BinaryOpStorage, IronRuby.Runtime.BlockParam, IronRuby.Builtins.RubyModule, System.Object, IronRuby.Builtins.Hash, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Scan)
+ new Func<IronRuby.Runtime.ConversionStorage<IronRuby.Builtins.MutableString>, IronRuby.Runtime.RespondToStorage, IronRuby.Runtime.BinaryOpStorage, IronRuby.Runtime.BlockParam, IronRuby.Builtins.RubyModule, System.Object, IronRuby.Builtins.Hash, System.Object>(IronRuby.Hpricot.Hpricot.Scan)
);
}
@@ -90,17 +90,17 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
private static void LoadHpricot__BaseEle_Instance(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "parent", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.BaseElement, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.BaseElement.GetParent)
+ new Func<IronRuby.Hpricot.Hpricot.BaseElement, System.Object>(IronRuby.Hpricot.Hpricot.BaseElement.GetParent)
);
DefineLibraryMethod(module, "parent=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.BaseElement, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.BaseElement.SetParent)
+ new Action<IronRuby.Hpricot.Hpricot.BaseElement, System.Object>(IronRuby.Hpricot.Hpricot.BaseElement.SetParent)
);
DefineLibraryMethod(module, "raw_string", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.BaseElement, IronRuby.Builtins.MutableString>(IronRuby.Libraries.Hpricot.Hpricot.BaseElement.GetRawString)
+ new Func<IronRuby.Hpricot.Hpricot.BaseElement, IronRuby.Builtins.MutableString>(IronRuby.Hpricot.Hpricot.BaseElement.GetRawString)
);
}
@@ -108,12 +108,12 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
private static void LoadHpricot__CData_Instance(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "content", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.CData, IronRuby.Builtins.MutableString>(IronRuby.Libraries.Hpricot.Hpricot.CData.GetContent)
+ new Func<IronRuby.Hpricot.Hpricot.CData, IronRuby.Builtins.MutableString>(IronRuby.Hpricot.Hpricot.CData.GetContent)
);
DefineLibraryMethod(module, "content=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.CData, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.CData.SetContent)
+ new Action<IronRuby.Hpricot.Hpricot.CData, System.Object>(IronRuby.Hpricot.Hpricot.CData.SetContent)
);
}
@@ -121,12 +121,12 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
private static void LoadHpricot__Comment_Instance(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "content", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.Comment, IronRuby.Builtins.MutableString>(IronRuby.Libraries.Hpricot.Hpricot.Comment.GetContent)
+ new Func<IronRuby.Hpricot.Hpricot.Comment, IronRuby.Builtins.MutableString>(IronRuby.Hpricot.Hpricot.Comment.GetContent)
);
DefineLibraryMethod(module, "content=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.Comment, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Comment.SetContent)
+ new Action<IronRuby.Hpricot.Hpricot.Comment, System.Object>(IronRuby.Hpricot.Hpricot.Comment.SetContent)
);
}
@@ -134,12 +134,12 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
private static void LoadHpricot__Doc_Instance(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "children", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.Document, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Document.GetChildren)
+ new Func<IronRuby.Hpricot.Hpricot.Document, System.Object>(IronRuby.Hpricot.Hpricot.Document.GetChildren)
);
DefineLibraryMethod(module, "children=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.Document, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Document.SetChildren)
+ new Action<IronRuby.Hpricot.Hpricot.Document, System.Object>(IronRuby.Hpricot.Hpricot.Document.SetChildren)
);
}
@@ -147,32 +147,32 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
private static void LoadHpricot__DocType_Instance(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "public_id", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.DocumentType, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.DocumentType.GetPublicId)
+ new Func<IronRuby.Hpricot.Hpricot.DocumentType, System.Object>(IronRuby.Hpricot.Hpricot.DocumentType.GetPublicId)
);
DefineLibraryMethod(module, "public_id=", 0x11,
0x00000000U,
- new Action<IronRuby.Runtime.RubyContext, IronRuby.Libraries.Hpricot.Hpricot.DocumentType, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.DocumentType.SetPublicId)
+ new Action<IronRuby.Runtime.RubyContext, IronRuby.Hpricot.Hpricot.DocumentType, System.Object>(IronRuby.Hpricot.Hpricot.DocumentType.SetPublicId)
);
DefineLibraryMethod(module, "system_id", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.DocumentType, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.DocumentType.GetSystemId)
+ new Func<IronRuby.Hpricot.Hpricot.DocumentType, System.Object>(IronRuby.Hpricot.Hpricot.DocumentType.GetSystemId)
);
DefineLibraryMethod(module, "system_id=", 0x11,
0x00000000U,
- new Action<IronRuby.Runtime.RubyContext, IronRuby.Libraries.Hpricot.Hpricot.DocumentType, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.DocumentType.SetSystemId)
+ new Action<IronRuby.Runtime.RubyContext, IronRuby.Hpricot.Hpricot.DocumentType, System.Object>(IronRuby.Hpricot.Hpricot.DocumentType.SetSystemId)
);
DefineLibraryMethod(module, "target", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.DocumentType, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.DocumentType.GetTarget)
+ new Func<IronRuby.Hpricot.Hpricot.DocumentType, System.Object>(IronRuby.Hpricot.Hpricot.DocumentType.GetTarget)
);
DefineLibraryMethod(module, "target=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.DocumentType, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.DocumentType.SetTarget)
+ new Action<IronRuby.Hpricot.Hpricot.DocumentType, System.Object>(IronRuby.Hpricot.Hpricot.DocumentType.SetTarget)
);
}
@@ -180,52 +180,52 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
private static void LoadHpricot__Elem_Instance(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "children", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.Element, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Element.GetChildren)
+ new Func<IronRuby.Hpricot.Hpricot.Element, System.Object>(IronRuby.Hpricot.Hpricot.Element.GetChildren)
);
DefineLibraryMethod(module, "children=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.Element, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Element.SetChildren)
+ new Action<IronRuby.Hpricot.Hpricot.Element, System.Object>(IronRuby.Hpricot.Hpricot.Element.SetChildren)
);
DefineLibraryMethod(module, "clear_raw", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.Element, System.Boolean>(IronRuby.Libraries.Hpricot.Hpricot.Element.ClearRaw)
+ new Func<IronRuby.Hpricot.Hpricot.Element, System.Boolean>(IronRuby.Hpricot.Hpricot.Element.ClearRaw)
);
DefineLibraryMethod(module, "etag", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.Element, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Element.GetEtag)
+ new Func<IronRuby.Hpricot.Hpricot.Element, System.Object>(IronRuby.Hpricot.Hpricot.Element.GetEtag)
);
DefineLibraryMethod(module, "etag=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.Element, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Element.SetEtag)
+ new Action<IronRuby.Hpricot.Hpricot.Element, System.Object>(IronRuby.Hpricot.Hpricot.Element.SetEtag)
);
DefineLibraryMethod(module, "name", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.Element, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Element.GetName)
+ new Func<IronRuby.Hpricot.Hpricot.Element, System.Object>(IronRuby.Hpricot.Hpricot.Element.GetName)
);
DefineLibraryMethod(module, "name=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.Element, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Element.SetName)
+ new Action<IronRuby.Hpricot.Hpricot.Element, System.Object>(IronRuby.Hpricot.Hpricot.Element.SetName)
);
DefineLibraryMethod(module, "raw_attributes", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.Element, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Element.GetRawAttributes)
+ new Func<IronRuby.Hpricot.Hpricot.Element, System.Object>(IronRuby.Hpricot.Hpricot.Element.GetRawAttributes)
);
DefineLibraryMethod(module, "raw_attributes=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.Element, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Element.SetRawAttributes)
+ new Action<IronRuby.Hpricot.Hpricot.Element, System.Object>(IronRuby.Hpricot.Hpricot.Element.SetRawAttributes)
);
DefineLibraryMethod(module, "raw_string", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.Element, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Element.GetRawString)
+ new Func<IronRuby.Hpricot.Hpricot.Element, System.Object>(IronRuby.Hpricot.Hpricot.Element.GetRawString)
);
}
@@ -233,22 +233,22 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
private static void LoadHpricot__ETag_Instance(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "clear_raw", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.ETag, System.Boolean>(IronRuby.Libraries.Hpricot.Hpricot.ETag.ClearRaw)
+ new Func<IronRuby.Hpricot.Hpricot.ETag, System.Boolean>(IronRuby.Hpricot.Hpricot.ETag.ClearRaw)
);
DefineLibraryMethod(module, "name", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.ETag, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.ETag.GetName)
+ new Func<IronRuby.Hpricot.Hpricot.ETag, System.Object>(IronRuby.Hpricot.Hpricot.ETag.GetName)
);
DefineLibraryMethod(module, "name=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.ETag, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.ETag.SetName)
+ new Action<IronRuby.Hpricot.Hpricot.ETag, System.Object>(IronRuby.Hpricot.Hpricot.ETag.SetName)
);
DefineLibraryMethod(module, "raw_string", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.ETag, IronRuby.Builtins.MutableString>(IronRuby.Libraries.Hpricot.Hpricot.ETag.GetRawString)
+ new Func<IronRuby.Hpricot.Hpricot.ETag, IronRuby.Builtins.MutableString>(IronRuby.Hpricot.Hpricot.ETag.GetRawString)
);
}
@@ -256,22 +256,22 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
private static void LoadHpricot__ProcIns_Instance(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "content", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.ProcedureInstruction, IronRuby.Builtins.MutableString>(IronRuby.Libraries.Hpricot.Hpricot.ProcedureInstruction.GetContent)
+ new Func<IronRuby.Hpricot.Hpricot.ProcedureInstruction, IronRuby.Builtins.MutableString>(IronRuby.Hpricot.Hpricot.ProcedureInstruction.GetContent)
);
DefineLibraryMethod(module, "content=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.ProcedureInstruction, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.ProcedureInstruction.SetContent)
+ new Action<IronRuby.Hpricot.Hpricot.ProcedureInstruction, System.Object>(IronRuby.Hpricot.Hpricot.ProcedureInstruction.SetContent)
);
DefineLibraryMethod(module, "target", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.ProcedureInstruction, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.ProcedureInstruction.GetTarget)
+ new Func<IronRuby.Hpricot.Hpricot.ProcedureInstruction, System.Object>(IronRuby.Hpricot.Hpricot.ProcedureInstruction.GetTarget)
);
DefineLibraryMethod(module, "target=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.ProcedureInstruction, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.ProcedureInstruction.SetTarget)
+ new Action<IronRuby.Hpricot.Hpricot.ProcedureInstruction, System.Object>(IronRuby.Hpricot.Hpricot.ProcedureInstruction.SetTarget)
);
}
@@ -279,12 +279,12 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
private static void LoadHpricot__Text_Instance(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "content", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.Text, IronRuby.Builtins.MutableString>(IronRuby.Libraries.Hpricot.Hpricot.Text.GetContent)
+ new Func<IronRuby.Hpricot.Hpricot.Text, IronRuby.Builtins.MutableString>(IronRuby.Hpricot.Hpricot.Text.GetContent)
);
DefineLibraryMethod(module, "content=", 0x11,
0x00000000U,
- new Action<IronRuby.Libraries.Hpricot.Hpricot.Text, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.Text.SetContent)
+ new Action<IronRuby.Hpricot.Hpricot.Text, System.Object>(IronRuby.Hpricot.Hpricot.Text.SetContent)
);
}
@@ -292,32 +292,32 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
private static void LoadHpricot__XMLDecl_Instance(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "encoding", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration.GetEncoding)
+ new Func<IronRuby.Hpricot.Hpricot.XmlDeclaration, System.Object>(IronRuby.Hpricot.Hpricot.XmlDeclaration.GetEncoding)
);
DefineLibraryMethod(module, "encoding=", 0x11,
0x00000000U,
- new Action<IronRuby.Runtime.RubyContext, IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration.SetEncoding)
+ new Action<IronRuby.Runtime.RubyContext, IronRuby.Hpricot.Hpricot.XmlDeclaration, System.Object>(IronRuby.Hpricot.Hpricot.XmlDeclaration.SetEncoding)
);
DefineLibraryMethod(module, "standalone", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration.GetStandalone)
+ new Func<IronRuby.Hpricot.Hpricot.XmlDeclaration, System.Object>(IronRuby.Hpricot.Hpricot.XmlDeclaration.GetStandalone)
);
DefineLibraryMethod(module, "standalone=", 0x11,
0x00000000U,
- new Action<IronRuby.Runtime.RubyContext, IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration.SetStandalone)
+ new Action<IronRuby.Runtime.RubyContext, IronRuby.Hpricot.Hpricot.XmlDeclaration, System.Object>(IronRuby.Hpricot.Hpricot.XmlDeclaration.SetStandalone)
);
DefineLibraryMethod(module, "version", 0x11,
0x00000000U,
- new Func<IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration.GetVersion)
+ new Func<IronRuby.Hpricot.Hpricot.XmlDeclaration, System.Object>(IronRuby.Hpricot.Hpricot.XmlDeclaration.GetVersion)
);
DefineLibraryMethod(module, "version=", 0x11,
0x00000000U,
- new Action<IronRuby.Runtime.RubyContext, IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration, System.Object>(IronRuby.Libraries.Hpricot.Hpricot.XmlDeclaration.SetVersion)
+ new Action<IronRuby.Runtime.RubyContext, IronRuby.Hpricot.Hpricot.XmlDeclaration, System.Object>(IronRuby.Hpricot.Hpricot.XmlDeclaration.SetVersion)
);
}
@@ -325,7 +325,7 @@ public sealed class HpricotLibraryInitializer : IronRuby.Builtins.LibraryInitial
private static void LoadIronRuby__Builtins__MutableString_Instance(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "fast_xs", 0x11,
0x00000000U,
- new Func<IronRuby.Runtime.RubyContext, IronRuby.Builtins.MutableString, IronRuby.Builtins.MutableString>(IronRuby.Libraries.Hpricot.MutableStringOps.FastXs)
+ new Func<IronRuby.Runtime.RubyContext, IronRuby.Builtins.MutableString, IronRuby.Builtins.MutableString>(IronRuby.FastXs.MutableStringOps.FastXs)
);
}
View
4 src/IronRuby.Hpricot.csproj
@@ -8,8 +8,8 @@
<ProjectGuid>{26AA0639-87CD-47F2-95C3-83F851464531}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>IronRuby.Libraries.Hpricot</RootNamespace>
- <AssemblyName>IronRuby.Libraries.Hpricot</AssemblyName>
+ <RootNamespace>IronRuby.Hpricot</RootNamespace>
+ <AssemblyName>IronRuby.Hpricot</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
View
2  src/ScannerState.cs
@@ -1,7 +1,7 @@
using System;
using IronRuby.Builtins;
-namespace IronRuby.Libraries.Hpricot {
+namespace IronRuby.Hpricot {
public class ScannerState {
#region fields

0 comments on commit 4187811

Please sign in to comment.
Something went wrong with that request. Please try again.