Compare commits

...
10 Commits
Author SHA1 Message Date
nobody d7a0fa3525 This commit was manufactured by cvs2svn to create tag 'MCS_0_13'.
svn path=/tags/MCS_0_13/mcs/; revision=6202
2002-07-26 19:32:52 +00:00
Miguel de Icaza 7354b2aeae Add missing #endregion
svn path=/trunk/mcs/; revision=6201
2002-07-26 19:32:52 +00:00
Tim Coleman 22893481b7 2002-07-26 Tim Coleman <[email protected]>
* ServiceDescription.cs:
                Changed the creation of the XmlSerializer after
                consulting the System.Xml.Serialization namespace
                and trying to serialize a document.  Now works somewhat!

svn path=/trunk/mcs/; revision=6200
2002-07-26 17:31:50 +00:00
Tim Coleman 6ae048fcc3 2002-07-26 Tim Coleman <[email protected]>
* XmlTextWriter.cs:
                When given a textwriter, check to see if it has a
                null encoding. This was being done for other inputs
                than a textwriter.

svn path=/trunk/mcs/; revision=6199
2002-07-26 17:29:39 +00:00
Tim Coleman 6728c63ca2 2002-07-26 Tim Coleman <[email protected]>
* XmlSerializer.cs:
                The constructor now looks for an XmlRootAttribute attribute
                if one is not passed in.  Various changes to make it emit
                proper XML, such as handling an element without a namespace
                prefix, and using WriteEndDocument where it should be.

svn path=/trunk/mcs/; revision=6198
2002-07-26 17:27:45 +00:00
Alp Toker 87bcfc3b25 Wrote an INSTALL doc.
svn path=/trunk/mcs/; revision=6197
2002-07-26 16:40:43 +00:00
Tim Coleman 2a6dcbecd5 2002-07-25 Tim Coleman <[email protected]>
* list: add new classes

svn path=/trunk/mcs/; revision=6196
2002-07-26 14:32:33 +00:00
Tim Coleman d198f3f5a7 2002-07-25 Tim Coleman <[email protected]>
* SoapClientMethod.cs:
        * SoapServerProtocol.cs:
                Add new internal classes as discovered.
        * SoapClientMessage.cs:
        * SoapMessage.cs:
        * SoapServerMessage.cs:
        * WebClientAsyncResult.cs:
                Add internal constructor, as found on class
                status page; modify some properties.

svn path=/trunk/mcs/; revision=6195
2002-07-26 14:31:43 +00:00
Martin Baulig 7f0542b133 Importing NUnit 1.11.
svn path=/branches/NUNIT/mcs/; revision=2713
2002-02-27 09:38:21 +00:00
nobody 9f187b5dd0 This commit was manufactured by cvs2svn to create branch 'NUNIT'.
svn path=/branches/NUNIT/mcs/; revision=2712
2002-02-27 09:38:18 +00:00
21 changed files with 1138 additions and 914 deletions

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
2002-07-26 Alp Toker <[email protected]>
* INSTALL: Wrote a guide to mcs installation.
* README: Updated to reflect the new INSTALL guide.
2002-07-23 Alp Toker <[email protected]>
* makefile.gnu: Added an install target (which sets permissions and
+56
View File
@@ -0,0 +1,56 @@
Basic Installation
==================
The Mono project has developed mono, an x86-specific CL JIT compiler and
mint, a portable CLI interpreter. The build process of each of these
depends on nothing more than a C compiler, glib2 and libgc.
However, to provide a working runtime environment, these programs must
be supplemented by corlib, a CLR assembly to which they are closely
tied. This package provides the C# sources for corlib as well as some
additional assemblies and mcs, the Mono C# compiler.
To build this package, you must already have a C# compiler installed.
Build instructions for *NIX and Microsoft Windows follow.
Building mcs on *NIX
====================
mcs provides a set of makefiles which make it easy to build and install
mcs on *NIX systems like Linux or FreeBSD where mcs is already
installed.
To build the compiler and class libraries, run:
make -f makefile.gnu
The libraries will be placed in the directory class/lib/ and the mcs
compiler executable in mcs/.
To install them, run:
make -f makefile.gnu install
You can also specify a prefix into which the files will be installed:
make -f makefile.gnu install prefix=/opt
If you are tracking Mono's development, you may sometimes need to share
the compiled libraries with others. If you want to produce an easily
distributable tarball, run:
make -f makefile.gnu dist
Building mcs on Windows
=======================
It is also possible to build mcs on Windows using the Microsoft .NET
framework. This may be convenient if you do not have access to a working
mcs setup. To build the compiler and class libraries, run:
make
The libraries will be placed in the directory class/lib/ and the mcs compiler
executable in mcs/. They can then be copied to /usr/lib and /usr/bin or
wherever desired on the target system.
+56
View File
@@ -0,0 +1,56 @@
Basic Installation
==================
The Mono project has developed mono, an x86-specific CL JIT compiler and
mint, a portable CLI interpreter. The build process of each of these
depends on nothing more than a C compiler, glib2 and libgc.
However, to provide a working runtime environment, these programs must
be supplemented by corlib, a CLR assembly to which they are closely
tied. This package provides the C# sources for corlib as well as some
additional assemblies and mcs, the Mono C# compiler.
To build this package, you must already have a C# compiler installed.
Build instructions for *NIX and Microsoft Windows follow.
Building mcs on *NIX
====================
mcs provides a set of makefiles which make it easy to build and install
mcs on *NIX systems like Linux or FreeBSD where mcs is already
installed.
To build the compiler and class libraries, run:
make -f makefile.gnu
The libraries will be placed in the directory class/lib/ and the mcs
compiler executable in mcs/.
To install them, run:
make -f makefile.gnu install
You can also specify a prefix into which the files will be installed:
make -f makefile.gnu install prefix=/opt
If you are tracking Mono's development, you may sometimes need to share
the compiled libraries with others. If you want to produce an easily
distributable tarball, run:
make -f makefile.gnu dist
Building mcs on Windows
=======================
It is also possible to build mcs on Windows using the Microsoft .NET
framework. This may be convenient if you do not have access to a working
mcs setup. To build the compiler and class libraries, run:
make
The libraries will be placed in the directory class/lib/ and the mcs compiler
executable in mcs/. They can then be copied to /usr/lib and /usr/bin or
wherever desired on the target system.
+2
View File
@@ -2,6 +2,8 @@
This contains the Mono C# compiler as well as the Mono runtime
library.
See INSTALL for a guide to building and installing mcs.
Layout:
class/
+3
View File
@@ -1,3 +1,6 @@
2002-07-25 Tim Coleman <[email protected]>
* list: add new classes
2002-07-24 Tim Coleman <[email protected]>
* list:
Added System.Web.Services.Description/SoapProtocolReflector.cs
@@ -1,3 +1,9 @@
2002-07-26 Tim Coleman <[email protected]>
* ServiceDescription.cs:
Changed the creation of the XmlSerializer after
consulting the System.Xml.Serialization namespace
and trying to serialize a document. Now works somewhat!
2002-07-25 Tim Coleman <[email protected]>
* OperationMessageCollection.cs:
Some implementation of this class after consulting a
@@ -33,10 +33,7 @@ namespace System.Web.Services.Description {
ServiceCollection services;
string targetNamespace;
Types types;
static XmlSerializer serializer;
static SoapReflectionImporter importer;
static XmlTypeMapping mapping;
#endregion // Fields
@@ -45,11 +42,9 @@ namespace System.Web.Services.Description {
static ServiceDescription ()
{
importer = new SoapReflectionImporter ();
mapping = importer.ImportTypeMapping (typeof (ServiceDescription));
serializer = new XmlSerializer (mapping);
serializer = new XmlSerializer (typeof (ServiceDescription, Namespace);
}
public ServiceDescription ()
{
bindings = new BindingCollection (this);
@@ -60,9 +55,6 @@ namespace System.Web.Services.Description {
portTypes = new PortTypeCollection (this);
retrievalUrl = String.Empty;
SoapReflectionImporter importer = new SoapReflectionImporter ();
XmlTypeMapping mapping = importer.ImportTypeMapping (typeof (ServiceDescription));
serializer = new XmlSerializer (mapping);
serviceDescriptions = null;
services = new ServiceCollection (this);
@@ -1,3 +1,14 @@
2002-07-25 Tim Coleman <[email protected]>
* SoapClientMethod.cs:
* SoapServerProtocol.cs:
Add new internal classes as discovered.
* SoapClientMessage.cs:
* SoapMessage.cs:
* SoapServerMessage.cs:
* WebClientAsyncResult.cs:
Add internal constructor, as found on class
status page; modify some properties.
2002-07-23 Tim Coleman <[email protected]>
* SoapException.cs: modified constructors to
call base class correctly.
@@ -12,6 +12,26 @@ using System.Web.Services;
namespace System.Web.Services.Protocols {
public sealed class SoapClientMessage : SoapMessage {
#region Fields
SoapHttpClientProtocol client;
SoapClientMethod clientMethod;
string url;
#endregion
#region Constructors
[MonoTODO ("Determine what calls this constructor.")]
internal SoapClientMessage (SoapHttpClientProtocol client, SoapClientMethod clientMethod, string url)
{
this.client = client;
this.url = url;
this.clientMethod = clientMethod;
}
#endregion
#region Properties
public override string Action {
@@ -20,8 +40,7 @@ namespace System.Web.Services.Protocols {
}
public SoapHttpClientProtocol Client {
[MonoTODO]
get { throw new NotImplementedException (); }
get { return client; }
}
public override LogicalMethodInfo MethodInfo {
@@ -35,8 +54,7 @@ namespace System.Web.Services.Protocols {
}
public override string Url {
[MonoTODO]
get { throw new NotImplementedException (); }
get { return url; }
}
#endregion // Properties
@@ -0,0 +1,16 @@
//
// System.Web.Services.Protocols.SoapClientMethod.cs
//
// Author:
// Tim Coleman ([email protected])
//
// Copyright (C) Tim Coleman, 2002
//
using System.Web.Services;
namespace System.Web.Services.Protocols {
[MonoTODO ("Determine what this class does.")]
internal sealed class SoapClientMethod {
}
}
@@ -22,6 +22,14 @@ namespace System.Web.Services.Protocols {
#endregion // Fields
#region Constructors
internal SoapMessage ()
{
}
#endregion
#region Properties
public abstract string Action {
@@ -19,6 +19,16 @@ namespace System.Web.Services.Protocols {
bool oneWay;
object server;
string url;
SoapServerProtocol protocol;
#endregion
#region Constructors
[MonoTODO ("Determine what this constructor does.")]
internal SoapServerMessage (SoapServerProtocol protocol)
{
}
#endregion
@@ -0,0 +1,16 @@
//
// System.Web.Services.Protocols.SoapServerProtocol.cs
//
// Author:
// Tim Coleman ([email protected])
//
// Copyright (C) Tim Coleman, 2002
//
using System.Web.Services;
namespace System.Web.Services.Protocols {
[MonoTODO ("Figure out what thsi class does.")]
internal class SoapServerProtocol {
}
}
@@ -7,6 +7,7 @@
// Copyright (C) Tim Coleman, 2002
//
using System.Net;
using System.Threading;
namespace System.Web.Services.Protocols {
@@ -14,11 +15,28 @@ namespace System.Web.Services.Protocols {
#region Fields
object asyncState;
WaitHandle waitHandle;
WebClientProtocol protocol;
WebRequest request;
AsyncCallback callback;
object asyncState;
#endregion // Fields
#region Constructors
[MonoTODO ("Figure out what this does.")]
internal WebClientAsyncResult (WebClientProtocol protocol, object x, WebRequest request, AsyncCallback callback, object asyncState, int y)
{
this.protocol = protocol;
this.request = request;
this.callback = callback;
this.asyncState = asyncState;
}
#endregion // Constructors
#region Properties
public object AsyncState {
@@ -43,10 +61,9 @@ namespace System.Web.Services.Protocols {
#region Methods
[MonoTODO]
public void Abort ()
{
throw new NotImplementedException ();
request.Abort ();
}
#endregion // Methods
+2
View File
@@ -95,6 +95,7 @@ System.Web.Services.Protocols/MimeReturnReader.cs
System.Web.Services.Protocols/NopReturnReader.cs
System.Web.Services.Protocols/PatternMatcher.cs
System.Web.Services.Protocols/SoapClientMessage.cs
System.Web.Services.Protocols/SoapClientMethod.cs
System.Web.Services.Protocols/SoapDocumentMethodAttribute.cs
System.Web.Services.Protocols/SoapDocumentServiceAttribute.cs
System.Web.Services.Protocols/SoapException.cs
@@ -112,6 +113,7 @@ System.Web.Services.Protocols/SoapParameterStyle.cs
System.Web.Services.Protocols/SoapRpcMethodAttribute.cs
System.Web.Services.Protocols/SoapRpcServiceAttribute.cs
System.Web.Services.Protocols/SoapServerMessage.cs
System.Web.Services.Protocols/SoapServerProtocol.cs
System.Web.Services.Protocols/SoapServiceRoutingStyle.cs
System.Web.Services.Protocols/SoapUnknownHeader.cs
System.Web.Services.Protocols/TextReturnReader.cs
@@ -1,3 +1,10 @@
2002-07-26 Tim Coleman <[email protected]>
* XmlSerializer.cs:
The constructor now looks for an XmlRootAttribute attribute
if one is not passed in. Various changes to make it emit
proper XML, such as handling an element without a namespace
prefix, and using WriteEndDocument where it should be.
2002-07-24 Tim Coleman <[email protected]>
* CodeIdentifier.cs:
* IXmlSerializable.cs:
File diff suppressed because it is too large. Load diff
@@ -1,3 +1,8 @@
2002-07-26 Tim Coleman <[email protected]>
* XmlTextWriter.cs:
When given a textwriter, check to see if it has a
null encoding. This was being done for other inputs
than a textwriter.
Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <[email protected]>
@@ -48,6 +48,7 @@ namespace System.Xml
public XmlTextWriter (TextWriter w) : base ()
{
this.w = w;
nullEncoding = (w.Encoding == null);
try {
baseStream = ((StreamWriter)w).BaseStream;
@@ -494,7 +495,7 @@ namespace System.Xml
string encodingFormatting = "";
if (!nullEncoding)
if (!nullEncoding)
encodingFormatting = String.Format (" encoding={0}{1}{0}", quoteChar, w.Encoding.HeaderName);
w.Write("<?xml version={0}1.0{0}{1}{2}?>", quoteChar, encodingFormatting, standaloneFormatting);
@@ -548,6 +549,7 @@ namespace System.Xml
}
w.Write ("{0}<{1}{2}{3}", indentFormatting, formatPrefix, localName, formatXmlns);
openElements.Push (new XmlTextWriterOpenElement (formatPrefix + localName));
ws = WriteState.Element;
@@ -1,25 +0,0 @@
Assembly.cs
AssemblyNameFlags.cs
BindingFlags.cs
CallingConventions.cs
ConstructorInfo.cs
DefaultMemberAttribute.cs
EventAttributes.cs
EventInfo.cs
FieldAttributes.cs
FieldInfo.cs
ICustomAttributeProvider.cs
MemberFilter.cs
MemberInfo.cs
MemberTypes.cs
MethodAttributes.cs
MethodBase.cs
MethodImplAttributes.cs
MethodInfo.cs
Module.cs
ParameterAttributes.cs
PropertyAttributes.cs
PropertyInfo.cs
ResourceAttributes.cs
ResourceLocation.cs
TypeAttributes.cs
-1
View File
@@ -1 +0,0 @@
*.dll