Atsushi Eno d2e97ea2dd 2004-04-19 Atsushi Enomoto <[email protected]> před 22 roky
..
Accessibility 9a8a0b5a8e So long; it's been fun, list files. před 22 roky
ByteFX.Data 841b93f471 MySql - same pooling bug fixed again!! ;-) před 22 roky
Commons.Xml.Relaxng 84971b8ef8 2004-03-18 Atsushi Enomoto <[email protected]> před 22 roky
Cscompmgd 7e7e125621 added files před 22 roky
Custommarshalers 9a8a0b5a8e So long; it's been fun, list files. před 22 roky
I18N 7816bd41db před 22 roky
IBM.Data.DB2 286967fca6 *** empty log message *** před 22 roky
ICSharpCode.SharpZipLib 9a8a0b5a8e So long; it's been fun, list files. před 22 roky
Microsoft.JScript a1b58b27bc 2004-04-18 Cesar Lopez Nataren <[email protected]> před 22 roky
Microsoft.VisualBasic fe3bfe1bf1 fixed compiler warning před 22 roky
Microsoft.VisualC 9a8a0b5a8e So long; it's been fun, list files. před 22 roky
Microsoft.Vsa 2f37f6402d 2003-09-24 <[email protected]> před 22 roky
Microsoft.Web.Services 0a1726ee7c 2004-03-30 Sebastien Pouliot <[email protected]> před 22 roky
Mono.CSharp.Debugger 9e379188ce Ooooops. před 22 roky
Mono.Cairo d76a4b7b45 Removed old file před 22 roky
Mono.Data 70f0ce1e2e * DataTools.cs: in FillDataSet(string,SelectCommand), use the connection před 22 roky
Mono.Data.DB2Client af7d3984cc Add před 22 roky
Mono.Data.MySql af7d3984cc Add před 22 roky
Mono.Data.PostgreSqlClient af7d3984cc Add před 22 roky
Mono.Data.SqliteClient 7b4ee1de42 Applied patch from Philipp <[email protected]> před 22 roky
Mono.Data.SybaseClient 9f0f5fe6d0 * Mono.Data.SybaseClient.dll.sources: Removed SybaseConnectionPool.cs. před 22 roky
Mono.Data.Tds 1c005a5e35 * Mono.Data.Tds.dll.sources: Added TdsConnectionPool.cs. před 22 roky
Mono.Data.TdsClient 5cc78b769a Moved to Mono.Data.Tds před 22 roky
Mono.Directory.LDAP 383038c244 Ignore .dll and .pdb files před 22 roky
Mono.GetOptions 278f56368c 2004-04-08 Rafael Teixeira <[email protected]> před 22 roky
Mono.Globalization 3f761fefe4 New build system from Peter Williams ([email protected]) před 22 roky
Mono.Http e6ee5d9be4 2003-12-15 Gonzalo Paniagua Javier <[email protected]> před 22 roky
Mono.PEToolkit af7d3984cc Add před 22 roky
Mono.Posix 34afc3ac6e 2004-03-30 Joshua Tauberer <[email protected]> před 22 roky
Mono.Security 02d2d05cfb 2004-04-16 Carlos Guzman Alvarez <[email protected]> před 22 roky
Mono.Security.Win32 ec05b8f232 2004-04-13 Sebastien Pouliot <[email protected]> před 22 roky
Novell.Directory.Ldap e910781f72 Modified extensions to use register functionality provided in ExtResponseFactory před 22 roky
Npgsql a3e7e16e5c před 22 roky
PEAPI 3c1e8fe8e9 před 22 roky
System 62438a9912 * TypeDescriptorTests.cs: Added new tests for TypeDescriptor. před 22 roky
System.Configuration.Install a034e004a8 2004-04-06 Andreas Nahr <[email protected]> před 22 roky
System.Data d2e97ea2dd 2004-04-19 Atsushi Enomoto <[email protected]> před 22 roky
System.Data.ObjectSpaces f2af18f697 2004-01-02 Tim Coleman <[email protected]> před 22 roky
System.Data.OracleClient 1c7ec0236b 2004-04-10 Gonzalo Paniagua Javier <[email protected]> před 22 roky
System.Data.SqlXml e9cdb7b78a Missed commit před 22 roky
System.Design a034e004a8 2004-04-06 Andreas Nahr <[email protected]> před 22 roky
System.DirectoryServices 6a6f512759 removed před 22 roky
System.Drawing f4fb68e6b3 lamespec doc for rectangle před 22 roky
System.Drawing.Design 7cc0de4bc4 2004-02-24 Andreas Nahr <[email protected]> před 22 roky
System.EnterpriseServices b9997bf1be 2004-01-23 Marek Safar <[email protected]> před 22 roky
System.Management a034e004a8 2004-04-06 Andreas Nahr <[email protected]> před 22 roky
System.Messaging a034e004a8 2004-04-06 Andreas Nahr <[email protected]> před 22 roky
System.Runtime.Remoting 3631cd3d34 * TcpClientChannel.cs: Initialize the sink provider in the default před 22 roky
System.Runtime.Serialization.Formatters.Soap 0c66a0d168 2004-04-15 Jean-Marc Andre <[email protected]> před 22 roky
System.Security b8301c0212 * XmlDsigEnvelopedSignatureTransform.cs, XmlDsigXPathTransform.cs, před 22 roky
System.ServiceProcess a034e004a8 2004-04-06 Andreas Nahr <[email protected]> před 22 roky
System.Web 7a98da2455 2004-04-19 Gonzalo Paniagua Javier <[email protected]> před 22 roky
System.Web.Mobile a034e004a8 2004-04-06 Andreas Nahr <[email protected]> před 22 roky
System.Web.Services dbd77e59a0 * WebServiceHelper.cs: In GetContentEncoding, chop off the single & double před 22 roky
System.Windows.Forms 90718432ec removed/ added files před 22 roky
System.XML eb342fa1b2 * XmlSchemaExporter.cs: When checking if a map has been exported or not, před 22 roky
corlib 87a82df5c4 2004-04-16 Gonzalo Paniagua Javier <[email protected]> před 22 roky
lib d1e2aa5fdc před 23 roky
notes 25f95f44fc More files před 24 roky
.cvsignore 5f24e03b41 NAnt build files and System.Data files moved to appropriate directory. před 24 roky
ChangeLog 7816bd41db před 22 roky
LICENSE 0eed5bae7d Add MIT X11 LICENSE to the class dir před 23 roky
Makefile 69e8f23c41 2004-02-04 Marek Safar <[email protected]> před 22 roky
README 4727faf42e Updated coding guidelines před 22 roky
ecma.pub 558f4d0af6 2004-03-23 Sebastien Pouliot <[email protected]> před 22 roky
msfinal.pub 558f4d0af6 2004-03-23 Sebastien Pouliot <[email protected]> před 22 roky

README

The class libraries are grouped together in the assemblies they belong.

Each directory here represents an assembly, and inside each directory we
divide the code based on the namespace they implement.

In addition, each assembly directory contains a Test directory that holds the
NUnit tests for that assembly.

We use a new build system which is described by various README files
in mcs/build

The build process typically builds an assembly, but in some cases it
also builds special versions of the assemblies intended to be used for
testing.

* Missing implementation bits

If you implement a class and you are missing implementation bits,
please use the attribute [MonoTODO]. This attribute can be used
to programatically generate our status web pages:

[MonoTODO]
int MyFunction ()
{
throw new NotImplementedException ();
}

* Supporting .NET 1.2, .NET 1.1 and .NET 1.0 builds

The defines NET_1_1 and NET_1_2 are used to include
features. When NET_1_2 is defined, it also implies that the
NET_1_1 is defined.

To have code which is only available in an old version, use ONLY_1_0,
ONLY_1_1

* Tagging buggy code

If there is a bug in your implementation tag the problem by using
the word "FIXME" in the code, together with a description of the
problem.

Do not use XXX or obscure descriptions, because otherwise people
will not be able to understand what you mean.

* Tagging Problematic specs.

If the documentation and the Microsoft implementation do
differ (you wrote a test case to prove this), I suggest that you edit
the file `mcs/class/doc/API-notes' so we can keep track of these problems
and submit our comments to ECMA or Microsoft and seek clarification.

Sometimes the documentation might be buggy, and sometimes the implementation
might be buggy. Lets try to identify and pinpoint which one
is the correct one.

Sometimes the specification will be lame (consider Version.ToString (fieldCount)
where there is no way of knowing how many fields are available, making the API
not only stupid, but leading to unreliable code).

In those cases, use the keyword "LAMESPEC".


* Coding considerations and style.

In order to keep the code consistent, please use the following
conventions. From here on `good' and `bad' are used to attribute
things that would make the coding style match, or not match. It is not
a judgement call on your coding abilities, but more of a style and
look call. Please try to follow these guidelines to ensure prettiness.

Use 8 space tabs for writing your code (hopefully we can keep
this consistent). If you are modifying someone else's code, try
to keep the coding style similar.

Since we are using 8-space tabs, you might want to consider the Linus
Torvals trick to reduce code nesting. Many times in a loop, you will
find yourself doing a test, and if the test is true, you will nest.
Many times this can be changed. Example:


for (i = 0; i < 10; i++) {
if (something (i)) {
do_more ();
}
}

This take precious space, instead write it like this:

for (i = 0; i < 10; i++) {
if (!something (i))
continue;
do_more ();
}

A few guidelines:

* Use a space before an opening parenthesis when calling
functions, or indexing, like this:

method (a);
b [10];

* Do not put a space after the opening parenthesis and the
closing one, ie:

good: method (a); array [10];

bad: method ( a ); array[ 10 ];

* Inside a code block, put the opening brace on the same line
as the statement:

good:
if (a) {
code ();
code ();
}

bad:
if (a)
{
code ();
code ();
}

* Avoid using unecessary open/close braces, vertical space
is usually limited:

good:
if (a)
code ();

bad:
if (a) {
code ();
}

* When defining a method, use the C style for brace placement,
that means, use a new line for the brace, like this:

good:
void Method ()
{
}

bad:
void Method () {
}

* Properties and indexers are an exception, keep the
brace on the same line as the property declaration.
Rationale: this makes it visually
simple to distinguish them.

good:
int Property {
get {
return value;
}
}

bad:
int Property
{
get {
return value;
}
}

Notice how the accessor "get" also keeps its brace on the same
line.

For very small properties, you can compress things:

ok:
int Property {
get { return value; }
set { x = value; }
}

* Use white space in expressions liberally, except in the presence
of parenthesis:

good:

if (a + 5 > method (blah () + 4))

bad:
if (a+5>method(blah()+4))

* For any new files, please use a descriptive introduction, like
this:

//
// System.Comment.cs: Handles comments in System files.
//
// Author:
// Juan Perez ([email protected])
//
// (C) 2002 Address, Inc (http://www.address.com)
//

* If you are modyfing someone else's code, and your contribution
is significant, please add yourself to the Authors list.

* Switch statements have the case at the same indentation as the
switch:

switch (x) {
case 'a':
...
case 'b':
...
}

* Argument names should use the camel casing for
identifiers, like this:

good:
void Method (string myArgument)

bad:
void Method (string lpstrArgument)
void Method (string my_string)

* Empty methods: They should have the body of code using two
lines, in consistency with the rest:

good:
void EmptyMethod ()
{
}

bad:
void EmptyMethod () {}

void EmptyMethod ()
{}

* Line length: The line length for C# source code is 134 columns.


If your function declaration arguments go beyond
this point, please align your arguments to match the
opening brace, like this:

void Function (int arg, string argb,
int argc)
{
}

When invoking functions, the rule is different, the
arguments are not aligned with the previous
argument, instead they begin at the tabbed position,
like this:

void M ()
{
MethodCall ("Very long string that will force",
"Next argument on the 8-tab pos",
"Just like this one")

}

Here are a couple of examples:

class X : Y {

bool Method (int argument_1, int argument_2)
{
if (argument_1 == argument_2)
throw new Exception (Locale.GetText ("They are equal!");

if (argument_1 < argument_2) {
if (argument_1 * 3 > 4)
return true;
else
return false;
}

//
// This sample helps keep your sanity while using 8-spaces for tabs
//
VeryLongIdentifierWhichTakesManyArguments (
Argument1, Argument2, Argument3,
NestedCallHere (
MoreNested));
}

bool MyProperty {
get {
return x;
}

set {
x = value;
}
}

void AnotherMethod ()
{
if ((a + 5) != 4) {
}

while (blah) {
if (a)
continue;
b++;
}
}
}