Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moved deprecated library

svn path=/old-code/; revision=152788
  • Loading branch information...
commit ea867fa83149ded780b31cf9aca0cc845f4f4680 1 parent 68cde3f
@migueldeicaza migueldeicaza authored
View
3  csharplib/.gitignore
@@ -0,0 +1,3 @@
+/fixup
+/out
+/Mono.CSharp.dll.sources
View
25 csharplib/ChangeLog
@@ -0,0 +1,25 @@
+2009-09-11 Marek Safar <marek.safar@gmail.com>
+
+ * Makefile: Add System.Core dependency for 4.0
+
+2009-09-11 Marek Safar <marek.safar@gmail.com>
+
+ * compiler.info: Update to changes in mcs.
+
+2009-07-30 Raja R Harinath <harinath@hurrynot.org>
+
+ * Makefile ($(the_lib)): Update to changes in build/library.make.
+
+2009-07-02 Jb Evain <jbevain@novell.com>
+
+ * Makefile: adjust to the linker build change.
+
+2008-10-09 Daniel Nauck <dna@mono-project.de>
+
+ * link.xml: follow up r114301 and rename csharplib
+ into Mono.CSharp
+
+2008-09-27 Miguel de Icaza <miguel@novell.com>
+
+ * Abdicate: renamed csharplib.dll into Mono.CSharp.dll
+
View
44 csharplib/Makefile
@@ -0,0 +1,44 @@
+thisdir = tools/csharplib
+SUBDIRS =
+include ../../build/rules.make
+
+LINKER = $(topdir)/class/lib/$(PROFILE)/monolinker.exe
+
+LOCAL_MCS_FLAGS = -d:GMCS_SOURCE -r:System -r:System.Xml
+
+ifeq (net_4_0, $(PROFILE))
+
+LOCAL_MCS_FLAGS += -r:System.Core.dll
+
+endif
+
+Mono.CSharp.dll.sources: ../../mcs/gmcs.exe.sources Makefile
+ cat ../../mcs/gmcs.exe.sources | grep -v AssemblyInfo.cs | sed -e 's,^,../../mcs/,' -e 's,mcs/../,,' > Mono.CSharp.dll.sources
+ echo "../../mcs/cs-parser.cs" >> Mono.CSharp.dll.sources
+ echo sign.cs >> Mono.CSharp.dll.sources
+
+LIBRARY_NEEDS_POSTPROCESSING = yes
+
+LIBRARY = Mono.CSharp.dll
+
+docs = \
+ en/ns-Mono.CSharp.xml \
+ en/index.xml \
+ en/Mono.CSharp/Evaluator.xml \
+ en/Mono.CSharp/Evaluator+NoValueSet.xml \
+ en/Mono.CSharp/InteractiveBase.xml \
+ en/Mono.CSharp/Report.xml \
+ en/Mono.CSharp/CompiledMethod.xml \
+ en/Mono.CSharp/InteractiveBase+Simple.xml
+
+EXTRA_DISTFILES = compiler.info link.xml $(docs)
+
+include ../../build/library.make
+
+MONO_PATH=MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/net_2_0$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH"
+
+$(the_lib): $(the_libdir)/.stamp Makefile Mono.CSharp.dll.sources $(build_lib)
+ $(MKINSTALLDIRS) fixup
+ $(MONO_PATH) $(RUNTIME) $(LINKER) -d fixup/$(PROFILE) -o out -l none -c skip -b true -x link.xml -s Mono.Tuner.AdjustVisibility,Mono.Tuner:OutputStep -s Mono.Tuner.PrintStatus,Mono.Tuner:OutputStep -i compiler.info
+ $(SN) $(SNFLAGS) -R out/Mono.CSharp.dll $(topdir)/class/mono.snk
+ cp out/Mono.CSharp.dll $(the_lib)
View
318 csharplib/compiler.info
@@ -0,0 +1,318 @@
+<?xml version="1.0"?>
+<assemblies>
+ <assembly name="Mono.CSharp" version="2.1.0.0">
+ <attributes>
+ <attribute name="System.Runtime.CompilerServices.RuntimeCompatibilityAttribute">
+ <properties>
+ <property name="WrapNonExceptionThrows" value="True" />
+ </properties>
+ </attribute>
+ <attribute name="System.Reflection.AssemblyKeyFileAttribute">
+ <properties>
+ <property name="KeyFile" value="../class/mono.pub" />
+ </properties>
+ </attribute>
+ <attribute name="System.Reflection.AssemblyDelaySignAttribute">
+ <properties>
+ <property name="DelaySign" value="True" />
+ </properties>
+ </attribute>
+ <attribute name="System.Reflection.AssemblyDescriptionAttribute">
+ <properties>
+ <property name="Description" value="Mono C# Compiler with Generics" />
+ </properties>
+ </attribute>
+ <attribute name="System.Reflection.AssemblyFileVersionAttribute">
+ <properties>
+ <property name="Version" value="2.0.50727.1433" />
+ </properties>
+ </attribute>
+ <attribute name="System.Reflection.AssemblyConfigurationAttribute">
+ <properties>
+ <property name="Configuration" value="" />
+ </properties>
+ </attribute>
+ <attribute name="System.Reflection.AssemblyCompanyAttribute">
+ <properties>
+ <property name="Company" value="Novell, Inc." />
+ </properties>
+ </attribute>
+ <attribute name="System.Reflection.AssemblyCopyrightAttribute">
+ <properties>
+ <property name="Copyright" value="2001 - 2008 Novell, Inc." />
+ </properties>
+ </attribute>
+ <attribute name="System.Reflection.AssemblyProductAttribute">
+ <properties>
+ <property name="Product" value="Mono C# Compiler" />
+ </properties>
+ </attribute>
+ <attribute name="System.Reflection.AssemblyTitleAttribute">
+ <properties>
+ <property name="Title" value="Mono C# Compiler" />
+ </properties>
+ </attribute>
+ </attributes>
+ <namespaces>
+ <namespace name="Mono.CSharp">
+ <classes>
+ <class name="Evaluator" type="class" base="System.Object" charset="Ansi" layout="Auto">
+ <constructors>
+ <constructor name=".ctor()" attrib="2182">
+ <parameters />
+ </constructor>
+ </constructors>
+ <fields>
+ <field name="MessageOutput" attrib="22" fieldtype="System.IO.TextWriter" />
+ </fields>
+ <properties>
+ <property name="InteractiveBaseClass" attrib="0" ptype="System.Type" params="">
+ <methods>
+ <method name="get_InteractiveBaseClass()" attrib="2198" static="true" returntype="System.Type">
+ <parameters />
+ </method>
+ <method name="set_InteractiveBaseClass(System.Type)" attrib="2198" static="true" returntype="System.Void">
+ <parameters>
+ <parameter name="value" position="0" attrib="0" type="System.Type" />
+ </parameters>
+ </method>
+ </methods>
+ </property>
+ </properties>
+ <methods>
+ <method name="Compile(System.String, out Mono.CSharp.CompiledMethod&amp;)" attrib="150" static="true" returntype="System.String">
+ <parameters>
+ <parameter name="input" position="0" attrib="0" type="System.String" />
+ <parameter name="compiled" position="1" attrib="2" type="Mono.CSharp.CompiledMethod&amp;" direction="out">
+ <attributes>
+ <attribute name="System.Runtime.InteropServices.OutAttribute" />
+ </attributes>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="Compile(System.String)" attrib="150" static="true" returntype="Mono.CSharp.CompiledMethod">
+ <parameters>
+ <parameter name="input" position="0" attrib="0" type="System.String" />
+ </parameters>
+ </method>
+ <method name="Evaluate(System.String, out System.Object&amp;, out System.Boolean&amp;)" attrib="150" static="true" returntype="System.String">
+ <parameters>
+ <parameter name="input" position="0" attrib="0" type="System.String" />
+ <parameter name="result" position="1" attrib="2" type="System.Object&amp;" direction="out">
+ <attributes>
+ <attribute name="System.Runtime.InteropServices.OutAttribute" />
+ </attributes>
+ </parameter>
+ <parameter name="result_set" position="2" attrib="2" type="System.Boolean&amp;" direction="out">
+ <attributes>
+ <attribute name="System.Runtime.InteropServices.OutAttribute" />
+ </attributes>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="Evaluate(System.String)" attrib="150" static="true" returntype="System.Object">
+ <parameters>
+ <parameter name="input" position="0" attrib="0" type="System.String" />
+ </parameters>
+ </method>
+ <method name="GetUsing()" attrib="150" static="true" returntype="System.String">
+ <parameters />
+ </method>
+ <method name="GetVars()" attrib="150" static="true" returntype="System.String">
+ <parameters />
+ </method>
+ <method name="Init(System.String[])" attrib="150" static="true" returntype="System.Void">
+ <parameters>
+ <parameter name="args" position="0" attrib="0" type="System.String[]" />
+ </parameters>
+ </method>
+ <method name="GetCompletions(System.String,out System.String&amp;)" attrib="150" static="true" returntype="System.String[]">
+ <parameters>
+ <parameter name="input" position="0" attrib="0" type="System.String" />
+ <parameter name="prefix" position="1" attrib="2" type="System.String&amp;" direction="out"/>
+ </parameters>
+ </method>
+ <method name="InitAndGetStartupFiles(System.String[])" attrib="150" static="true" returntype="System.String[]">
+ <parameters>
+ <parameter name="args" position="0" attrib="0" type="System.String[]" />
+ </parameters>
+ </method>
+ <method name="Interrupt()" attrib="150" static="true" returntype="System.Void">
+ <parameters />
+ </method>
+ <method name="LoadAssembly(System.String)" attrib="150" static="true" returntype="System.Void">
+ <parameters>
+ <parameter name="file" position="0" attrib="0" type="System.String" />
+ </parameters>
+ </method>
+ <method name="ReferenceAssembly(System.Reflection.Assembly)" attrib="150" static="true" returntype="System.Void">
+ <parameters>
+ <parameter name="a" position="0" attrib="0" type="System.Reflection.Assembly" />
+ </parameters>
+ </method>
+ <method name="Run(System.String)" attrib="150" static="true" returntype="System.Boolean">
+ <parameters>
+ <parameter name="statement" position="0" attrib="0" type="System.String" />
+ </parameters>
+ </method>
+ </methods>
+ <classes>
+ <class name="NoValueSet" type="class" base="System.Object" charset="Ansi" layout="Auto">
+ <constructors>
+ <constructor name=".ctor()" attrib="2182">
+ <parameters />
+ </constructor>
+ </constructors>
+ </class>
+ </classes>
+ </class>
+ <class name="CompiledMethod" type="delegate" base="System.MulticastDelegate" sealed="true" serializable="true" charset="Ansi" layout="Auto">
+ <interfaces>
+ <interface name="System.ICloneable" />
+ <interface name="System.Runtime.Serialization.ISerializable" />
+ </interfaces>
+ <constructors>
+ <constructor name=".ctor(System.Object, System.IntPtr)" attrib="2182">
+ <parameters>
+ <parameter name="object" position="0" attrib="0" type="System.Object" />
+ <parameter name="method" position="1" attrib="0" type="System.IntPtr" />
+ </parameters>
+ </constructor>
+ </constructors>
+ <methods>
+ <method name="BeginInvoke(System.Object&amp;, System.AsyncCallback, System.Object)" attrib="454" virtual="true" returntype="System.IAsyncResult">
+ <parameters>
+ <parameter name="retvalue" position="0" attrib="0" type="System.Object&amp;" direction="ref" />
+ <parameter name="callback" position="1" attrib="0" type="System.AsyncCallback" />
+ <parameter name="object" position="2" attrib="0" type="System.Object" />
+ </parameters>
+ </method>
+ <method name="EndInvoke(System.Object&amp;, System.IAsyncResult)" attrib="454" virtual="true" returntype="System.Void">
+ <parameters>
+ <parameter name="retvalue" position="0" attrib="0" type="System.Object&amp;" direction="ref" />
+ <parameter name="result" position="1" attrib="0" type="System.IAsyncResult" />
+ </parameters>
+ </method>
+ <method name="Invoke(System.Object&amp;)" attrib="454" virtual="true" returntype="System.Void">
+ <parameters>
+ <parameter name="retvalue" position="0" attrib="0" type="System.Object&amp;" direction="ref" />
+ </parameters>
+ </method>
+ </methods>
+ </class>
+ <class name="InteractiveBase" type="class" base="System.Object" charset="Ansi" layout="Auto">
+ <fields>
+ <field name="ContinuationPrompt" attrib="22" fieldtype="System.String" />
+ <field name="Error" attrib="22" fieldtype="System.IO.TextWriter" />
+ <field name="Output" attrib="22" fieldtype="System.IO.TextWriter" />
+ <field name="Prompt" attrib="22" fieldtype="System.String" />
+ <field name="QuitRequested" attrib="22" fieldtype="System.Boolean" />
+ </fields>
+ <constructors>
+ <constructor name=".ctor()" attrib="2182">
+ <parameters />
+ </constructor>
+ </constructors>
+ <properties>
+ <property name="help" attrib="0" ptype="System.String" params="">
+ <methods>
+ <method name="get_help()" attrib="2198" static="true" returntype="System.String">
+ <parameters />
+ </method>
+ </methods>
+ </property>
+ <property name="quit" attrib="0" ptype="System.Object" params="">
+ <methods>
+ <method name="get_quit()" attrib="2198" static="true" returntype="System.Object">
+ <parameters />
+ </method>
+ </methods>
+ </property>
+ </properties>
+ <methods>
+ <method name="LoadAssembly(System.String)" attrib="150" static="true" returntype="System.Void">
+ <parameters>
+ <parameter name="assembly" position="0" attrib="0" type="System.String" />
+ </parameters>
+ </method>
+ <method name="LoadPackage(System.String)" attrib="150" static="true" returntype="System.Void">
+ <parameters>
+ <parameter name="pkg" position="0" attrib="0" type="System.String" />
+ </parameters>
+ </method>
+ <method name="Describe(System.Object)" attrib="150" static="true" returntype="System.String">
+ <parameters>
+ <parameter name="x" position="0" attrib="0" type="System.Object" />
+ </parameters>
+ </method>
+ <method name="ShowUsing()" attrib="150" static="true" returntype="System.Void">
+ <parameters />
+ </method>
+ <method name="ShowVars()" attrib="150" static="true" returntype="System.Void">
+ <parameters />
+ </method>
+ <method name="Time(Mono.CSharp.InteractiveBase+Simple)" attrib="150" static="true" returntype="System.TimeSpan">
+ <parameters>
+ <parameter name="a" position="0" attrib="0" type="Mono.CSharp.InteractiveBase+Simple" />
+ </parameters>
+ </method>
+ </methods>
+ <classes>
+ <class name="Simple" type="delegate" base="System.MulticastDelegate" sealed="true" serializable="true" charset="Ansi" layout="Auto">
+ <interfaces>
+ <interface name="System.ICloneable" />
+ <interface name="System.Runtime.Serialization.ISerializable" />
+ </interfaces>
+ <constructors>
+ <constructor name=".ctor(System.Object, System.IntPtr)" attrib="2182">
+ <parameters>
+ <parameter name="object" position="0" attrib="0" type="System.Object" />
+ <parameter name="method" position="1" attrib="0" type="System.IntPtr" />
+ </parameters>
+ </constructor>
+ </constructors>
+ <methods>
+ <method name="BeginInvoke(System.AsyncCallback, System.Object)" attrib="454" virtual="true" returntype="System.IAsyncResult">
+ <parameters>
+ <parameter name="callback" position="0" attrib="0" type="System.AsyncCallback" />
+ <parameter name="object" position="1" attrib="0" type="System.Object" />
+ </parameters>
+ </method>
+ <method name="EndInvoke(System.IAsyncResult)" attrib="454" virtual="true" returntype="System.Void">
+ <parameters>
+ <parameter name="result" position="0" attrib="0" type="System.IAsyncResult" />
+ </parameters>
+ </method>
+ <method name="Invoke()" attrib="454" virtual="true" returntype="System.Void">
+ <parameters />
+ </method>
+ </methods>
+ </class>
+ </classes>
+ </class>
+ <class name="Report" type="class" base="System.Object" charset="Ansi" layout="Auto">
+ <fields>
+ <field name="Errors" attrib="22" fieldtype="System.Int32" />
+ <field name="Warnings" attrib="22" fieldtype="System.Int32" />
+ <field name="WarningsAreErrors" attrib="22" fieldtype="System.Boolean" />
+ </fields>
+ <properties>
+ <property name="WarningLevel" attrib="0" ptype="System.Int32" params="">
+ <methods>
+ <method name="get_WarningLevel()" attrib="2198" static="true" returntype="System.Int32">
+ <parameters />
+ </method>
+ <method name="set_WarningLevel(System.Int32)" attrib="2198" static="true" returntype="System.Void">
+ <parameters>
+ <parameter name="value" position="0" attrib="0" type="System.Int32" />
+ </parameters>
+ </method>
+ </methods>
+ </property>
+ </properties>
+ </class>
+ </classes>
+ </namespace>
+ </namespaces>
+ </assembly>
+</assemblies>
View
7 csharplib/link.xml
@@ -0,0 +1,7 @@
+<linker>
+ <assembly fullname="Mono.CSharp">
+ <type fullname="Mono.CSharp.Evaluator"/>
+ <type fullname="Mono.CompilerServices.SymbolWriter.MonoDebuggerSupport" />
+ <type fullname="Mono.CSharp.CompilerCallableEntryPoint" />
+ </assembly>
+</linker>
View
17 csharplib/sign.cs
@@ -0,0 +1,17 @@
+//
+// used to sign Mono.CSharp.dll
+//
+using System.Reflection;
+
+[assembly: AssemblyDelaySign (true)]
+[assembly: AssemblyKeyFile ("../../class/mono.pub")]
+
+[assembly: AssemblyTitle ("Embedded C# Compiler and Library")]
+[assembly: AssemblyProduct ("Mono")]
+[assembly: AssemblyCopyright ("2001 - 2008 Novell, Inc.")]
+[assembly: AssemblyCompany ("Novell, Inc.")]
+[assembly: AssemblyCulture ("")]
+[assembly: AssemblyConfiguration ("")]
+
+[assembly: AssemblyVersion ("2.1.0.0")]
+
Please sign in to comment.
Something went wrong with that request. Please try again.