mono.git
18 years agomainsoft System.Web testsuite
Vladimir Krasnov [Wed, 15 Feb 2006 16:27:11 +0000 (16:27 -0000)]
mainsoft System.Web testsuite

svn path=/trunk/mcs/; revision=56893

18 years agoMissing brace.
Paolo Molaro [Wed, 15 Feb 2006 15:50:09 +0000 (15:50 -0000)]
Missing brace.

svn path=/trunk/mono/; revision=56892

18 years agoWed Feb 15 16:23:17 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Feb 2006 15:25:23 +0000 (15:25 -0000)]
Wed Feb 15 16:23:17 CET 2006 Paolo Molaro <lupus@ximian.com>

* mini-s390x.c, mini-s390.c, mini.c, mini-amd64.c, mini-arm.c,
mini-ia64.c, mini-sparc.c, mini-x86.c, mini-ppc.c: fixed
handling of instantiated generic valuetypes.

svn path=/trunk/mono/; revision=56891

18 years agoWed Feb 15 16:19:24 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Feb 2006 15:25:05 +0000 (15:25 -0000)]
Wed Feb 15 16:19:24 CET 2006 Paolo Molaro <lupus@ximian.com>

* class.c, metadata.c, metadata.h, object.c, icall.c,
marshal.c: changed mono_type_get_underlying_type () to do
the sensible thing and introduced mono_type_generic_inst_is_valuetype().
Fixed handling of instantiated generic valuetypes (bug #75479).

svn path=/trunk/mono/; revision=56890

18 years ago* metadata.c (mono_metadata_decode_signed_value): Simplify.
Raja R Harinath [Wed, 15 Feb 2006 11:33:02 +0000 (11:33 -0000)]
* metadata.c (mono_metadata_decode_signed_value): Simplify.
Delegate to mono_metadata_decode_value, and work on the returned value.

* icall.c (ves_icall_MonoType_GetGenericArguments):
Add consistency check here too.

svn path=/trunk/mono/; revision=56889

18 years ago* Metadata.cs (BoundArray.CompressSignedNum): Document the
Raja R Harinath [Wed, 15 Feb 2006 11:29:58 +0000 (11:29 -0000)]
* Metadata.cs (BoundArray.CompressSignedNum): Document the
transformation.  Avoid a few casts.

svn path=/trunk/mcs/; revision=56888

18 years agoList newly added files: System.IO.Ports/{Handshake,Parity,StopBits}.cs
Raja R Harinath [Wed, 15 Feb 2006 10:09:29 +0000 (10:09 -0000)]
List newly added files: System.IO.Ports/{Handshake,Parity,StopBits}.cs

svn path=/trunk/mcs/; revision=56886

18 years ago2006-02-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 15 Feb 2006 08:05:29 +0000 (08:05 -0000)]
2006-02-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs: Little work on default values and
exception report.

* Parity.cs:
* Handshake.cs:
* StopBits.cs: New enum files (taken outside SerialPort
and with the right values now).

svn path=/trunk/mcs/; revision=56885

18 years ago* metadata.cs (mono_metadata_decode_signed_value): Use gint* instead of
Ankit Jain [Wed, 15 Feb 2006 07:31:00 +0000 (07:31 -0000)]
* metadata.cs (mono_metadata_decode_signed_value): Use gint* instead of
char/short etc.

svn path=/trunk/mono/; revision=56884

18 years agoIn mono/dis:
Ankit Jain [Wed, 15 Feb 2006 07:15:30 +0000 (07:15 -0000)]
In mono/dis:

* get.c (get_array_shape): Use mono_metadata_decode_signed_value to get
lower bounds.

In mono/metadata:

* metadata.c (mono_metadata_decode_signed_value): New function to decode
signed values, used only for representing lower bounds of arrays.
(mono_metadata_parse_array_full): Use new
mono_metadata_decode_signed_value to decode lower bounds.

svn path=/trunk/mono/; revision=56883

18 years ago* Metadata.cs (BoundArray.CompressSignedNum): New. Encode signed values,
Ankit Jain [Wed, 15 Feb 2006 07:11:23 +0000 (07:11 -0000)]
* Metadata.cs (BoundArray.CompressSignedNum): New. Encode signed values,
used only for encoding lower bounds of arrays.
(BoundArray.TypeSig): Use new CompressSignedNum to encode lower bounds.

svn path=/trunk/mcs/; revision=56882

18 years ago2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 14 Feb 2006 22:02:15 +0000 (22:02 -0000)]
2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/WebHandlerParser.cs:
* System.Web.UI/WebServiceParser.cs:
* System.Web.UI/UserControlParser.cs:
* System.Web.UI/PageParser.cs: added new ctor that uses a TextReader
as input.

* System.Web.UI/TemplateControlParser.cs: new Reader property.
* System.Web.UI/SimpleWebHandlerParser.cs: new Reader property and
ctor.

* System.Web.dll.sources: added new files.

* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/TemplateControlCompiler.cs: CreateMethods is
now internal.

* System.Web.Compilation/WebServiceBuildProvider.cs:
* System.Web.Compilation/PageBuildProvider.cs:
* System.Web.Compilation/UserControlBuildProvider.cs:
* System.Web.Compilation/WebHandlerBuildProvider.cs: new build
providers.

* System.Web.Compilation/BuildProvider.cs: add assemblies.

* System.Web.Compilation/BaseCompiler.cs: expose the provider and the
compile unit through properties.

svn path=/trunk/mcs/; revision=56878

18 years ago2006-02-14 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Tue, 14 Feb 2006 21:51:54 +0000 (21:51 -0000)]
2006-02-14  Alexander Olk  <alex.olk@googlemail.com>

* X11DesktopColors.cs: Instead of checking the desktop session
  string for "KDE" check if it starts with "KDE"

svn path=/trunk/mcs/; revision=56877

18 years ago2006-02-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Feb 2006 21:13:45 +0000 (21:13 -0000)]
2006-02-14  Martin Baulig  <martin@ximian.com>

* *.cs: Use `Type.IsGenericType' instead of `Type.IsGenericInstance'.

svn path=/trunk/mcs/; revision=56869

18 years ago2006-02-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Feb 2006 20:53:25 +0000 (20:53 -0000)]
2006-02-14  Martin Baulig  <martin@ximian.com>

* generic.cs
(TypeManager.DropGenericMethodArguments): New public method; don't
use GetGenericMethodDefinition() on something which is not a
generic method.

svn path=/trunk/mcs/; revision=56868

18 years ago2006-02-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Feb 2006 20:45:16 +0000 (20:45 -0000)]
2006-02-14  Martin Baulig  <martin@ximian.com>

* reflection.c
(mono_reflection_get_token): Support "MonoGenericMethod" and
"MonoGenericCMethod" and allow generic instances / methods.

svn path=/trunk/mono/; revision=56867

18 years ago2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Feb 2006 18:20:07 +0000 (18:20 -0000)]
2006-02-14  Atsushi Enomoto  <atsushi@ximian.com>

* Uri.cs : implemented op_Equality and op_Inequality.

svn path=/trunk/mcs/; revision=56866

18 years agoKill Mono_IsInflatedMethod here, too.
Martin Baulig [Tue, 14 Feb 2006 18:00:28 +0000 (18:00 -0000)]
Kill Mono_IsInflatedMethod here, too.

svn path=/trunk/mcs/; revision=56864

18 years agoSmall fix.
Martin Baulig [Tue, 14 Feb 2006 17:33:56 +0000 (17:33 -0000)]
Small fix.

svn path=/trunk/mcs/; revision=56862

18 years ago2006-02-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Feb 2006 17:33:48 +0000 (17:33 -0000)]
2006-02-14  Martin Baulig  <martin@ximian.com>

* generic.cs
(TypeManager.DropGenericMethodArguments): New public method.
(TypeManager.IsInstantiatedMethod): New public method. Use this
instead of `Mono_IsInflatedMethod'.

svn path=/trunk/mcs/; revision=56861

18 years agoUpdated.
Martin Baulig [Tue, 14 Feb 2006 16:16:01 +0000 (16:16 -0000)]
Updated.

svn path=/trunk/mcs/; revision=56858

18 years ago2006-02-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Feb 2006 16:13:50 +0000 (16:13 -0000)]
2006-02-14  Martin Baulig  <martin@ximian.com>

* generic.cs
(ConstraintChecker.CheckConstraints): If a type parameter has the
`struct' constraint, the type must be a non-nullable valuetype.

svn path=/trunk/mcs/; revision=56857

18 years ago2006-02-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Feb 2006 15:41:13 +0000 (15:41 -0000)]
2006-02-14  Martin Baulig  <martin@ximian.com>

* ConstructorBuilder.cs
(ConstructorBuilder.IsGenericMethod): Override this and return
false; the MS runtime doesn't throw an exception here.
(ConstructorBuilder.IsGenericMethodDefinition): Likewise.

* MethodBuilder.cs
(MethodBuilder.IsGenericMethod): Implement this.
(MethodBuilder.IsGenericMethodDefinition): Likewise.

svn path=/trunk/mcs/; revision=56856

18 years ago2006-02-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Feb 2006 15:39:59 +0000 (15:39 -0000)]
2006-02-14  Martin Baulig  <martin@ximian.com>

* MonoMethod.cs
(MonoCMethod.IsGenericMethod): Override this and return false; the
MS runtime doesn't throw an exception here.

svn path=/trunk/mcs/; revision=56855

18 years ago2006-02-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Feb 2006 15:29:46 +0000 (15:29 -0000)]
2006-02-14  Martin Baulig  <martin@ximian.com>

* known-issues-gmcs: Add test-473.cs.

* gtest-130.cs, gtest-136.cs: Make these tests actually work.

svn path=/trunk/mcs/; revision=56854

18 years ago* Uri.cs (Uri.EnsureAbsoluteUri): New. Throws exception if its not an
Ankit Jain [Tue, 14 Feb 2006 15:01:02 +0000 (15:01 -0000)]
* Uri.cs (Uri.EnsureAbsoluteUri): New. Throws exception if its not an
absolute uri.
(Uri.Parse): Set isAbsoluteUri to false, if the address is not absolute.
All properties other than OriginalString, IsAbsoluteUri & UserEscaped
throw exception for relative address.

svn path=/trunk/mcs/; revision=56853

18 years agoIn corlib:
Ankit Jain [Tue, 14 Feb 2006 14:08:09 +0000 (14:08 -0000)]
In corlib:
Oops, forgot to commit this earlier!
* corlib_test.dll.sources: Add ArraySegmentTest.cs

In corlib/Test/System:
* ArraySegmentTest.cs: Fix a misplaced #endif.

svn path=/trunk/mcs/; revision=56852

18 years ago2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Feb 2006 13:09:35 +0000 (13:09 -0000)]
2006-02-14  Atsushi Enomoto <atsushi@ximian.com>

* Iterator.cs : tiny message fix (thanks to alp).

svn path=/trunk/mcs/; revision=56851

18 years agoIn System:
Ankit Jain [Tue, 14 Feb 2006 12:18:14 +0000 (12:18 -0000)]
In System:
* ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
'count'.

In Test/System:
* ArraySegmentTest.cs: New.

svn path=/trunk/mcs/; revision=56850

18 years ago2006-02-14 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Tue, 14 Feb 2006 11:15:03 +0000 (11:15 -0000)]
2006-02-14  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* VBCodeCompiler.cs:
use mbas.exe from 1.0 or 2.0, depending on NET_2_0
BuildArgs()
copy options.CompilerOptions to the resulting command line  (as pointed by Arnhoffer Károly)
use Append instead of AppendFormat when possible

svn path=/trunk/mcs/; revision=56849

18 years ago2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Feb 2006 10:31:51 +0000 (10:31 -0000)]
2006-02-14  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8Encoding.cs : Fallback was indicating incorrect index.
  Fixed bug #77550.

* UTF8EncodingTest.cs : test for bug #77550.

svn path=/trunk/mcs/; revision=56848

18 years ago2006-02-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 14 Feb 2006 07:13:36 +0000 (07:13 -0000)]
2006-02-13  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs: Work on Encoding property and use it
in Write methods.

svn path=/trunk/mcs/; revision=56847

18 years ago2006-02-13 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Tue, 14 Feb 2006 06:40:38 +0000 (06:40 -0000)]
2006-02-13  Daniel Morgan <danielmorgan@verizon.net>

* ProviderSectionHandler.cs
* Provider.cs: add support
for parameter prefix and command builder

* app.config: updated the sample app.config file
to include parameterprefix and commandbuilder on
some providers

svn path=/trunk/mcs/; revision=56846

18 years ago2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Feb 2006 04:34:43 +0000 (04:34 -0000)]
2006-02-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : When "Significant" is assigned to
  WhitespaceHandling, it should ignore non-significant whitespaces.

* XmlTextReaderTests.cs : added WhitespaceHandling tests.

svn path=/trunk/mcs/; revision=56845

18 years ago2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Feb 2006 04:17:29 +0000 (04:17 -0000)]
2006-02-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlWriter.cs : (WriteElementString and WriteAttributeString)
  Skip empty string output.

svn path=/trunk/mcs/; revision=56844

18 years ago2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Feb 2006 03:45:44 +0000 (03:45 -0000)]
2006-02-14  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextWriterTests.cs : tiny test name fix, as it does not actually
  test WriteString().

svn path=/trunk/mcs/; revision=56843

18 years ago2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Feb 2006 03:44:18 +0000 (03:44 -0000)]
2006-02-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextWriter.cs : WriteRaw("") is not simply ignored but process
  state check and closes open tag.

* XmlTextWriterTests.cs : added test WriteRaw("") closes open tag.

svn path=/trunk/mcs/; revision=56842

18 years ago2006-02-13 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Tue, 14 Feb 2006 03:30:07 +0000 (03:30 -0000)]
2006-02-13  Daniel Morgan <danielmorgan@verizon.net>

Patches from Brad Langhorst <brad@langhorst.com>

* ProviderSectionHandler.cs
* ProviderFactory
* ProviderCollection.cs
* DataTools.cs
* Provider.cs: catch invalid args,
allow non-qualified assembly loading,
warn about empty providers

svn path=/trunk/mcs/; revision=56841

18 years ago2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Feb 2006 03:23:14 +0000 (03:23 -0000)]
2006-02-14  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextWriterTests.cs : numbered some tests and added some comments.

svn path=/trunk/mcs/; revision=56840

18 years ago2006-02-13 Senganal T <tsenganal@novell.com>
Senganal T [Mon, 13 Feb 2006 06:48:38 +0000 (06:48 -0000)]
2006-02-13  Senganal T  <tsenganal@novell.com>

* Test/ProviderTests/System.Data.SqlClient/SqlAdapterTest.cs : Added testcases for #77480
* System.Data.Common/DbDataAdapter.cs :
- FillSchema  :
- Add table to schema only if MissingSchemaAction is not Ignore
Add schema to table if MissingSchemaAction is set to either of
Add or AddWithKey
- BuildSchema :
- Set the Schema values only if MissingSchemaAction is set to
AddWithKey

svn path=/trunk/mcs/; revision=56830

18 years ago2006-02-12 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Sun, 12 Feb 2006 21:57:45 +0000 (21:57 -0000)]
2006-02-12  Cesar Lopez Nataren  <cnataren@novell.com>

* System.Web.dll.sources: Added XhtmlTextWriter.
* System.Web_test.dll.sources: Added System.Web.UI/XhtmlTextWriterTest.cs.

svn path=/trunk/mcs/; revision=56819

18 years ago2006-02-12 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Sun, 12 Feb 2006 21:54:05 +0000 (21:54 -0000)]
2006-02-12  Cesar Lopez Nataren  <cnataren@novell.com>

* HtmlTextWriterTest.cs: Added test for WriteBreak.

svn path=/trunk/mcs/; revision=56818

18 years ago2006-02-12 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Sun, 12 Feb 2006 21:52:45 +0000 (21:52 -0000)]
2006-02-12  Cesar Lopez Nataren  <cnataren@novell.com>

* HtmlTextWriter.cs: Implemented IsValidFormAttribute and
WriterBreak for the .NET 2.0 profile.

svn path=/trunk/mcs/; revision=56817

18 years agoFixed bug number of my last commit
Marek Safar [Sun, 12 Feb 2006 20:12:40 +0000 (20:12 -0000)]
Fixed bug number of my last commit

svn path=/trunk/mcs/; revision=56816

18 years agoSystem.Web.vmwcsproj: fixed grasshopper project file
Vladimir Krasnov [Sun, 12 Feb 2006 13:30:19 +0000 (13:30 -0000)]
System.Web.vmwcsproj: fixed grasshopper project file

svn path=/trunk/mcs/; revision=56813

18 years agoForget to update
Marek Safar [Sat, 11 Feb 2006 22:07:23 +0000 (22:07 -0000)]
Forget to update

svn path=/trunk/mcs/; revision=56812

18 years ago2006-02-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 11 Feb 2006 22:06:42 +0000 (22:06 -0000)]
2006-02-11  Marek Safar <marek.safar@seznam.cz>

* test-491.cs: Test for bug #77485.

svn path=/trunk/mcs/; revision=56811

18 years ago2006-02-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 11 Feb 2006 22:04:17 +0000 (22:04 -0000)]
2006-02-11  Marek Safar  <marek.safar@seznam.cz>

A fix for #76957

* class.cs (TypeContainer.DefineType): Cannot use ResolveType because it
contains obsolete attribute check which can in some cases look for base
type of current class which is not initialized yet.
(TypeContainer.BaseType): Replacement of ptype.

* decl.cs (MemberCore.CheckObsoleteType): Reuse existing code.

svn path=/trunk/mcs/; revision=56810

18 years ago2006-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 11 Feb 2006 21:40:41 +0000 (21:40 -0000)]
2006-02-11  Zoltan Varga  <vargaz@gmail.com>

* TermInfoDriver.cs (CreateKeyInfoFromInt): Fix handling of tab and its
friends.

svn path=/trunk/mcs/; revision=56809

18 years ago2006-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 11 Feb 2006 20:35:51 +0000 (20:35 -0000)]
2006-02-11  Zoltan Varga  <vargaz@gmail.com>

* TermInfoDriver.cs (GetWindowDimensions): Obtain the exact terminal
size using an icall.
(GetCursorPosition): Convert the row and column to 0 based indexing.
Also fix reading of large values.
(CreateKeyInfoFromInt): Convert LF to ConsoleKey.Enter.

svn path=/trunk/mcs/; revision=56808

18 years ago2006-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 11 Feb 2006 20:22:25 +0000 (20:22 -0000)]
2006-02-11  Zoltan Varga  <vargaz@gmail.com>

* console-io.c (ves_icall_System_ConsoleDriver_GetTtySize): New icall
to obtain the terminal size using an ioctl.

svn path=/trunk/mono/; revision=56807

18 years ago2006-02-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 11 Feb 2006 19:21:23 +0000 (19:21 -0000)]
2006-02-11  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : now we can depend on Alejandro's System.Query.dll.

* XElementSequence.cs : implemented (not sure if it works).
* XName.cs : strict null comparison.
* XIterators.cs : (XFilterIterator) check attribute XName as well.
* System.Xml.XLinq.cs : solved FIXMEs.

svn path=/trunk/mcs/; revision=56806

18 years ago* SoapAttributeAttribute.cs: Set eol-style to CRLF.
Gert Driesen [Sat, 11 Feb 2006 16:45:52 +0000 (16:45 -0000)]
* SoapAttributeAttribute.cs: Set eol-style to CRLF.
* SoapElementAttribute.cs: Same.
* SoapEnumAttribute.cs: Same.
* SoapIncludeAttribute.cs: Same.
* SoapSchemaMember.cs: Same.
* SoapTypeAttribute.cs: Same.
* XmlArrayAttribute.cs: Same.
* XmlAttributeAttribute.cs: Same.
* XmlChoiceIdentifierAttribute.cs: Same.
* XmlElementAttribute.cs: Same.
* XmlEnumAttribute.cs: Same.
* XmlRootAttribute.cs: Same.
* XmlSchemaImporter.cs: Same.
* XmlTextAttribute.cs: Same.
* XmlTypeAttribute.cs: Same.
* XmlTypeMapping.cs: Same.
* SoapAttributeOverrides.cs: Fixed line endings. Set eol-style to CRLF.
* CodeIdentifiers.cs: Same.
* SoapCodeExporter.cs: Same.
* SoapAttributes.cs: Same.
* SoapIgnoreAttribute.cs: Same.
* SoapSchemaImporter.cs: Same.
* TypeMember.cs: Same.
* UnreferencedObjectEventArgs.cs: Same.
* XmlAnyAttributeAttribute.cs: Same.
* XmlAnyElementAttributes.cs: Same.
* XmlArrayItemAttributes.cs: Same.
* XmlAttributeEventArgs.cs: Same.
* XmlCodeExporter.cs: Same.
* XmlElementAttributes.cs: Same.
* XmlElementEventArgs.cs: Same.
* XmlIgnoreAttribute.cs: Same.
* XmlNamespaceDeclarationsAttribute.cs: Same.
* XmlNodeEventArgs.cs: Same.
* XmlReflectionMember.cs: Same.
* XmlSchemas.cs: Same.
* XmlSerializerNamespaces.cs: Same.
* XmlTypeMapMemberElement.cs: Set eol-style to native.

svn path=/trunk/mcs/; revision=56805

18 years agoAdd one more enum test.
Marek Safar [Sat, 11 Feb 2006 16:44:39 +0000 (16:44 -0000)]
Add one more enum test.

svn path=/trunk/mcs/; revision=56804

18 years agoUpdate of ignored tests.
Marek Safar [Sat, 11 Feb 2006 16:43:25 +0000 (16:43 -0000)]
Update of ignored tests.

svn path=/trunk/mcs/; revision=56803

18 years ago2006-02-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 11 Feb 2006 16:31:12 +0000 (16:31 -0000)]
2006-02-11  Marek Safar  <marek.safar@seznam.cz>

First of prerequisites for new partial classs implemention.

* attribute.cs (Attributable): Extended by ResolveContext;
Attributes finally have correct context for resolving in all cases.
(AttachTo): Attribute owner is assigned here.

* codegen.cs (IResolveContext): Introduce new interface to hold
all information needed in resolving phase.
(EmitContext): Implements IResolveContext; more clean-up needed here.

* decl.cs (MemberCore): Implemented IResolveContext.

* anonymous.cs, attribute.cs, class.cs, codegen.cs, const.cs,
decl.cs, ecore.cs, enum.cs, expression.cs, iterators.cs, namespace.cs,
parameter.cs, statement.cs, tree.cs, typemanager.cs:
Refactored to use new IResolveContext instead of EmitContext; clean-up

svn path=/trunk/mcs/; revision=56802

18 years ago* XmlRootAttributeTests.cs: Set eol-style to CRLF.
Gert Driesen [Sat, 11 Feb 2006 15:39:17 +0000 (15:39 -0000)]
* XmlRootAttributeTests.cs: Set eol-style to CRLF.
* SoapTypeAttributeTests.cs: Same.
* XmlIncludeAttributeTests.cs: Same.
* XmlTextAttributeTests.cs: Same.
* XmlSerializerTests.cs: Same.
* SoapIncludeAttributeTests.cs: Same.
* XmlSerializationWriterTests.cs: Same.
* XmlElementAttributeTests.cs: Same.
* ComplexDataStructure.cs: Same.
* DeserializerTests.cs: Same.
* SoapElementAttributeTests.cs: Same.
* XmlChoiceIdentifierAttributeTests.cs: Same.
* XmlArrayItemAttributeTests.cs: Same.
* XmlAnyElementAttributeTests.cs: Same.
* XmlAttributesTests.cs: Same.
* XmlAttributeAttributeTests.cs: Same.
* XmlEnumAttributeTests.cs: Same.
* SoapAttributeAttributeTests.cs: Same.
* SoapEnumAttributeTests.cs: Same.
* SoapSchemaMemberTests.cs: Same.
* XmlArrayAttributeTests.cs: Same.
* XmlSerializerTestClasses.cs: Same.
* XmlSchemaImporterTests.cs: Set eol-style to native.

svn path=/trunk/mcs/; revision=56801

18 years ago* XmlReflectionImporterTests.cs: Added test for IDictionary import. Set eol
Gert Driesen [Sat, 11 Feb 2006 14:16:27 +0000 (14:16 -0000)]
* XmlReflectionImporterTests.cs: Added test for IDictionary import. Set eol
style to CRLF.
* SoapReflectionImporterTests.cs: Added test for IDictionary import.

svn path=/trunk/mcs/; revision=56800

18 years ago* XmlSerializerTestClasses.cs: Fixed line endings (sigh).
Gert Driesen [Sat, 11 Feb 2006 13:50:03 +0000 (13:50 -0000)]
* XmlSerializerTestClasses.cs: Fixed line endings (sigh).

svn path=/trunk/mcs/; revision=56799

18 years ago* CodeExporter.cs: Set eol-style to native.
Gert Driesen [Sat, 11 Feb 2006 12:52:46 +0000 (12:52 -0000)]
* CodeExporter.cs: Set eol-style to native.
* CodeGenerationOptions.cs: Same.
* CodeIdentifier.cs: Same.
* ImportContext.cs: Same.
* IXmlSerializable.cs: Same.
* IXmlSerializerImplementation.cs: Same.
* IXmlTextParser.cs: Same.
* MapCodeGenerator.cs: Same.
* ReflectionHelper.cs: Same. Fixed line endings.
* SchemaImporter.cs: Same.
* SchemaImporterExtensionCollection.cs: Same.
* SchemaImporterExtension.cs: Same.
* SchemaTypes.cs: Same.
* SerializationCodeGeneratorConfiguration.cs: Same.
* SerializationCodeGenerator.cs: Same.
* SerializationSource.cs: Same.
* SoapReflectionImporter.cs: Same.
* SoapSchemaExporter.cs: Same.
* TypeData.cs: Same.
* TypeTranslator.cs: Same.
* UnreferencedObjectEventHandler.cs: Same.
* XmlAnyElementAttribute.cs: Same.
* XmlArrayItemAttribute.cs: Same.
* XmlAttributeEventHandler.cs: Same.
* XmlAttributeOverrides.cs: Same.
* XmlAttributes.cs: Same.
* XmlDeserializationEvents.cs: Same.
* XmlElementEventHandler.cs: Same.
* XmlIncludeAttribute.cs: Same.
* XmlMapping.cs: Same.
* XmlMemberMapping.cs: Same.
* XmlMembersMapping.cs: Same.
* XmlNodeEventHandler.cs: Same.
* XmlReflectionImporter.cs: Same.
* XmlSchemaExporter.cs: Same.
* XmlSchemaProviderAttribute.cs: Same.
* XmlSerializationCollectionFixupCallback.cs: Same.
* XmlSerialiationFixupCallback.cs: Same.
* XmlSerializationGeneratedCode.cs: Same.
* XmlSerializationReadCallback.cs: Same.
* XmlSerializationReader.cs: Same.
* XmlSerializationReaderInterpreter.cs: Same.
* XmlSerializationWriteCallback.cs: Same.
* XmlSerializationWriterInterpreter.cs: Same.
* XmlSerializerAssemblyAttribute.cs: Same.
* XmlSerializer.cs: Same.
* XmlSerializerFactory.cs: Same.
* XmlSerializerVersionAttribute.cs: Same.
* XmlTypeMapElementInfo.cs: Same.
* XmlTypeMapMemberAttribute.cs: Same.
* XmlTypeMapMember.cs: Same.
* XmlTypeMapMemberNamespaces.cs: Same.

svn path=/trunk/mcs/; revision=56798

18 years ago2006-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 11 Feb 2006 12:50:25 +0000 (12:50 -0000)]
2006-02-11  Zoltan Varga  <vargaz@gmail.com>

* FieldInfoTest.cs: Revert nullable reftype tests.

svn path=/trunk/mcs/; revision=56797

18 years ago2006-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 11 Feb 2006 12:47:12 +0000 (12:47 -0000)]
2006-02-11  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c mini-x86.h mini-x86.c: Get rid of
MONO_INIT_CONTEXT_FROM_CALLER, and use MONO_INIT_CONTEXT_FROM_FUNC
instead.

svn path=/trunk/mono/; revision=56795

18 years ago2006-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 11 Feb 2006 12:36:25 +0000 (12:36 -0000)]
2006-02-11  Zoltan Varga  <vargaz@gmail.com>

* generics.2.cs: Revert the nullable reftypes tests.

svn path=/trunk/mono/; revision=56794

18 years ago2006-02-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 11 Feb 2006 12:35:07 +0000 (12:35 -0000)]
2006-02-11  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_nullable_init): Revert this as nullable reference
types are not valid.
(mono_nullable_box): Ditto.

svn path=/trunk/mono/; revision=56793

18 years ago2006-02-11 Senganal T <tsenganal@novell.com>
Senganal T [Sat, 11 Feb 2006 08:11:30 +0000 (08:11 -0000)]
2006-02-11  Senganal T  <tsenganal@novell.com>

* Test/System.Data/DataTableTest.cs : Check AllowDBNull is set to false for PrimaryKey cols.
* Test/System.Data/DataTableTest2.cs : added testcases for bug #77404
* System.Data/UniqueConstraint.cs :
- PostAddRange : Check PrimaryKey is not already set for the table
* System.Data/DataTable.cs :
- PrimaryKey : follow ms.net behavior when BeginInit , EndInit is used.
- Add new priamry key only when EndInit is called.
- Incase of an error, retain old primarykey
- EndInit :
- Add Constraints after columns are added.
- If both PrimaryKey Property and PrimaryKey Constraint are set,
then the Constraint takes precedence.
fixes bug #77404

svn path=/trunk/mcs/; revision=56786

18 years ago * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
Jackson Harper [Sat, 11 Feb 2006 00:01:59 +0000 (00:01 -0000)]
    * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
        systems).

svn path=/trunk/mcs/; revision=56782

18 years ago2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Feb 2006 23:43:09 +0000 (23:43 -0000)]
2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Configuration_2.0/Compiler.cs:
* System.Web.Configuration_2.0/CompilerCollection.cs: removed
compatibility code.

* System.Web.Configuration_2.0/BuildProviderCollection.cs: add
GetProviderForExtension().

* System.Web.UI/IThemeResolutionService.cs: this is now added to the
sources file, but some other stuff does not compile yet as the
interface changed after the beta.

* System.Web.UI/ObjectConverter.cs: removed extra attribute.

* System.Web.UI/ObjectStateFormatter.cs: add IStateFormatter for 2.0.

* System.Web.UI/ICallbackEventHandler.cs: update the interface, but
commented the 'good' stuff out, since other files need to be fixed
too.

* System.Web.dll.sources: add new files.

* System.Web.Configuration/CompilationConfiguration.cs:
* System.Web.Configuration/CompilationConfigurationHandler.cs: only
compile these for pre-2.0 assemblies.

* System.Web.Hosting/DefaultVirtualPathProvider.cs: add some
comments/TODO.
* System.Web.Hosting/HostingEnvironment.cs: initialize the
default value for VirtualPathProvider.

* System.Web.Compilation/CompilerType.cs: implemented.

* System.Web.Compilation/AssemblyBuilder.cs: implemented most of it.

* System.Web.Compilation/WebServiceCompiler.cs:
* System.Web.Compilation/CachingCompiler.cs: update 2.0 compiler
instance creation code.

* System.Web.Compilation/ClientBuildManager.cs: implemented some of
its methods. Not yet ready.

* System.Web.Compilation/BuildManager.cs: the more interesting methods
are implemented now.

* System.Web.Compilation/BaseCompiler.cs: delete the temporary files
in case of error.

* System.Web.Compilation/BuildProvider.cs: implemented the
Get*Compiler* protected methods.

svn path=/trunk/mcs/; revision=56781

18 years ago2006-02-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 10 Feb 2006 21:32:51 +0000 (21:32 -0000)]
2006-02-10  Zoltan Varga  <vargaz@gmail.com>

* Nullable.cs: Add T: struct constraint and fix constructor.
* Array.cs: Fix some methods which previously returned Nullable<T>.

svn path=/trunk/mcs/; revision=56778

18 years ago * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
Alexander Olk [Fri, 10 Feb 2006 20:40:19 +0000 (20:40 -0000)]
* FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  errors

svn path=/trunk/mcs/; revision=56775

18 years ago2006-02-10 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 10 Feb 2006 20:38:54 +0000 (20:38 -0000)]
2006-02-10  Alexander Olk  <alex.olk@googlemail.com>

* ColorDialog.cs:
  - Got rid of the panel. All controls are now directly added to
    the dialog form
  - Changed to mono coding style

svn path=/trunk/mcs/; revision=56774

18 years ago * InternalWindowManager.cs: We don't need the set visibility to
Jackson Harper [Fri, 10 Feb 2006 20:24:48 +0000 (20:24 -0000)]
    * InternalWindowManager.cs: We don't need the set visibility to
        false hack anymore now that peter has written beautiful shutdown
        code.

svn path=/trunk/mcs/; revision=56772

18 years ago2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 10 Feb 2006 20:19:37 +0000 (20:19 -0000)]
2006-02-10  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  where already explicitly destroyed

svn path=/trunk/mcs/; revision=56771

18 years ago * MdiClient.cs: Handle the case where windows are too high or to
Jackson Harper [Fri, 10 Feb 2006 19:35:31 +0000 (19:35 -0000)]
    * MdiClient.cs: Handle the case where windows are too high or to
        the left and we need scrollbars.

svn path=/trunk/mcs/; revision=56769

18 years ago* XmlSerializerTests.cs: Numbered some tests.
Gert Driesen [Fri, 10 Feb 2006 18:50:02 +0000 (18:50 -0000)]
* XmlSerializerTests.cs: Numbered some tests.
* DeserializerTests.cs: Added tests for deserialization of enums, and primitive
types container.

svn path=/trunk/mcs/; revision=56768

18 years ago2006-02-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 10 Feb 2006 18:45:34 +0000 (18:45 -0000)]
2006-02-11  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs :
  Avoid extra AppendValueChar() in ReadWhitespace().

svn path=/trunk/mcs/; revision=56767

18 years agoUpdate
Miguel de Icaza [Fri, 10 Feb 2006 17:23:18 +0000 (17:23 -0000)]
Update

svn path=/trunk/mono/; revision=56764

18 years ago2006-02-10 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 10 Feb 2006 17:09:27 +0000 (17:09 -0000)]
2006-02-10  Alexander Olk  <alex.olk@googlemail.com>

* MimeIcon.cs: Added some icons
* FileDialog.cs:
  - Fixed bug #77477
  - Got rid of the panel. All controls are now directly added to
    the dialog form
  - Changed to mono coding style
  - On Linux "My Computer" and "My Network" will now show some
    more usefull information. A new class, MasterMount, gathers
    this information from /proc/mount. Updated MWFFileView to make
    use of this information
  - Fixed a bug that caused FileDialog to crash when
    ".recently_used" file had a zero size
  - FilterIndex does now what it should
  - Some Refactoring
* OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
    FileDialog changes

svn path=/trunk/mcs/; revision=56763

18 years ago2006-02-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 10 Feb 2006 17:06:40 +0000 (17:06 -0000)]
2006-02-10  Atsushi Enomoto  <atsushi@ximian.com>

* ASCIIEncoding.cs : (GetChars) reduced either one store or one jump
  in IL. 10% performance improvement.

svn path=/trunk/mcs/; revision=56762

18 years ago2006-02-10 Senganal T <tsenganal@novell.com>
Senganal T [Fri, 10 Feb 2006 14:50:55 +0000 (14:50 -0000)]
2006-02-10  Senganal T  <tsenganal@novell.com>
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs :
- GetSequentialColumn,BeginLoad, EndLoad,
LoadData, SkipRow, SkipToColumnIndex
New Methods to Support sequential loading of row data
* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsComm.cs :
- Skip : Changed arugment type from int to long.
* System.Data/Test/ProviderTests/System.Data.SqlClient/SqlDataReaderTest.cs :
Added more tests to verify Sequential reading of row data.
* System.Data/Test/ProviderTests/ProviderIndependant/DataReaderTest : Corrected a failing testcase.
* System.Data/System.Data.SqlClient/SqlDataReader.cs :
- GetBytes : Read binary/blob/clob data sequentially when
CommandBehavior is set to SequentialAcccess
- GetChars : Read String/clob data sequentially when CommandBehavior
is set to SequentialAccess
* System.Data/System.Data.SqlClient/SqlCommand.cs :
- ExecuteReader : set SequentialAccess property on TDS
- CloseDataReader : Reset the command behavior

svn path=/trunk/mcs/; revision=56757

18 years agoSqliteDataReader: Made 64bit clean. Patch from Joe Shaw.
Joshua Tauberer [Fri, 10 Feb 2006 13:38:38 +0000 (13:38 -0000)]
SqliteDataReader: Made 64bit clean.  Patch from Joe Shaw.

svn path=/trunk/mcs/; revision=56755

18 years ago2006-02-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 10 Feb 2006 11:42:58 +0000 (11:42 -0000)]
2006-02-10  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (MONO_INIT_CONTEXT_FROM_CALLER): Avoid
using __builtin_frame_address (1) as it doesn't work in the presence
of optimizations. Hopefully fixes #77273.

svn path=/trunk/mono/; revision=56753

18 years ago2006-02-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 10 Feb 2006 11:37:44 +0000 (11:37 -0000)]
2006-02-10  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am generics.cs generics.2.cs: Revert the generics.2.cs
-> generics.cs change as it doesn't work with some automake versions.

svn path=/trunk/mono/; revision=56752

18 years agoNew tests.
Martin Baulig [Fri, 10 Feb 2006 10:19:57 +0000 (10:19 -0000)]
New tests.

svn path=/trunk/mcs/; revision=56750

18 years ago2006-02-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 10 Feb 2006 10:18:24 +0000 (10:18 -0000)]
2006-02-10  Martin Baulig  <martin@ximian.com>

* typemanager.cs
(TypeManager.IsOverride): Make this work for instantiated methods
in a generic class; fixes #77509.
(TypeManager.ExpandInterfaces): Use TypeManager.GetInterfaces()
rather than calling it directly; fixes #77488.

svn path=/trunk/mcs/; revision=56749

18 years ago2006-02-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 10 Feb 2006 09:17:47 +0000 (09:17 -0000)]
2006-02-10  Martin Baulig  <martin@ximian.com>

* Comparer.cs
(IComparableOfTComparer): `T' must implement `IComparable<T>' and
not `IComparable'.

svn path=/trunk/mcs/; revision=56747

18 years agoIn ilasm/codegen:
Ankit Jain [Fri, 10 Feb 2006 08:38:34 +0000 (08:38 -0000)]
In ilasm/codegen:

* CodeGen.cs (CodeGen.ResolveMethod): Throw exception if global method
not found.
(CodeGen.ResolveField): Likewise for global field.

In ilasm/errors:

* err-global.il, err-global2.il: New. Tests for refs to non-existant
global method/field.

svn path=/trunk/mcs/; revision=56746

18 years ago2006-02-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 10 Feb 2006 08:03:16 +0000 (08:03 -0000)]
2006-02-10  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialError.cs:
* SerialData.cs:
* SerialPinChange.cs: New enums.

svn path=/trunk/mcs/; revision=56745

18 years ago2006-02-09 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 10 Feb 2006 01:20:37 +0000 (01:20 -0000)]
2006-02-09  Miguel de Icaza  <miguel@novell.com>

* Monitor.cs: Patch from Thong Nguyen, Wait (.., Timeout) method
should allow a -1 (Timeout.Infinite) to mean indefinite wait (the
code already supported this.

Removed also a LAMESPEC for missing argument checking in Wait with
the int argument.

Fixed the use of exceptions.

svn path=/trunk/mcs/; revision=56742

18 years agoApplied patch from Simon Guindon to fix bug #77517
Miguel de Icaza [Fri, 10 Feb 2006 00:40:56 +0000 (00:40 -0000)]
Applied patch from Simon Guindon to fix bug #77517

svn path=/trunk/mcs/; revision=56741

18 years ago * ComboBox.cs: Don't touch if null.
Jackson Harper [Fri, 10 Feb 2006 00:08:43 +0000 (00:08 -0000)]
    * ComboBox.cs: Don't touch if null.

svn path=/trunk/mcs/; revision=56740

18 years ago2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 10 Feb 2006 00:06:57 +0000 (00:06 -0000)]
2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>

* Cursor.cs: 64bit safeness fix
* XplatUIX11.cs: Removed several unneeded and one moronic cast.

svn path=/trunk/mcs/; revision=56739

18 years ago2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 9 Feb 2006 23:58:23 +0000 (23:58 -0000)]
2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>

* ColorPalette.cs, EncoderParameters.cs, EncoderParameter.cs,
  ImageAttributes.cs: 64bit cleanup and some simplifications

2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>

* PrintingServicesWin32.cs: Simplyfied the code, removing the need
  for pointer calculations (part of 64bit cleanup)

2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>

* Image.cs, Bitmap.cs: Removed unneeded casts
* Icon.cs: Fixed code to be 64bit safe

svn path=/trunk/mcs/; revision=56738

18 years ago2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 9 Feb 2006 23:56:45 +0000 (23:56 -0000)]
2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>

* ChangeLog: Created, contents from deleted 'changelog' file
* FontCollection.cs: Cleaned up marshalling and made 64bit safe

svn path=/trunk/mcs/; revision=56737

18 years agodistribute it
Miguel de Icaza [Thu, 9 Feb 2006 23:28:24 +0000 (23:28 -0000)]
distribute it

svn path=/trunk/mono/; revision=56736

18 years agoAdd man page
Miguel de Icaza [Thu, 9 Feb 2006 23:28:10 +0000 (23:28 -0000)]
Add man page

svn path=/trunk/mono/; revision=56735

18 years ago Add missing NOT.
Jackson Harper [Thu, 9 Feb 2006 22:40:02 +0000 (22:40 -0000)]
    Add missing NOT.

svn path=/trunk/mcs/; revision=56730

18 years ago Kill the mdi_container when we dont need it anymore.
Jackson Harper [Thu, 9 Feb 2006 22:39:04 +0000 (22:39 -0000)]
     Kill the mdi_container when we dont need it anymore.

svn path=/trunk/mcs/; revision=56729

18 years ago2006-02-09 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 9 Feb 2006 21:25:22 +0000 (21:25 -0000)]
2006-02-09  Dick Porter  <dick@ximian.com>

        * threads.c (mono_thread_detach): Drop a reference to the thread
        we're detaching.

2006-02-09  Dick Porter  <dick@ximian.com>

        * threads.c: Cope with the problems caused by attaching already
        existing threads - they don't get the infrastructure to clean up
        after themselves, especially the ID to handle hash.  This fixes
        bug 77468.

svn path=/trunk/mono/; revision=56725

18 years ago* XmlSerializerTests.cs: Fixed build after failed merge (time to call it a
Gert Driesen [Thu, 9 Feb 2006 21:02:39 +0000 (21:02 -0000)]
* XmlSerializerTests.cs: Fixed build after failed merge (time to call it a
day, I guess)

svn path=/trunk/mcs/; revision=56723

18 years ago* XmlTypeMapping.cs: Modified GetRealTypeMap to return current map if map
Gert Driesen [Thu, 9 Feb 2006 20:55:36 +0000 (20:55 -0000)]
* XmlTypeMapping.cs: Modified GetRealTypeMap to return current map if map
represents enum. Fixes bug #77501.
* XmlSerializerTests.cs: Added test for bug #77501. Added tests for XML and
encoded serialization of enums.

svn path=/trunk/mcs/; revision=56722