mono.git
18 years ago2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 16 Nov 2005 18:54:27 +0000 (18:54 -0000)]
2005-11-16  Sebastien Pouliot  <sebastien@ximian.com>

* TimersDescriptionAttributeCas.cs: Updated comments (thanks to Gert
Driesen for the solution).
* TimersDescriptionAttributeTest.cs: New. Unit tests to show that the
description string is a resource name (and not the description itself)

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

18 years ago2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Nov 2005 18:37:52 +0000 (18:37 -0000)]
2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>

* Decoder.cs : added FallbackBuffer property.
* UTF8Encoding.cs : In NET_2_0, use DecoderFallbackBuffer instead of
  "throwOnInvalid".

* UTF8EncodingTest.cs : Simply replaced all ArgumentException with
  switched alias (it is DecodefFallbackException in NET_2_0).

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

18 years agonet_1_1_java additions
Vladislav Spivak [Wed, 16 Nov 2005 18:02:03 +0000 (18:02 -0000)]
net_1_1_java additions

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

18 years agonet_1_1_java includes
Vladislav Spivak [Wed, 16 Nov 2005 18:00:34 +0000 (18:00 -0000)]
net_1_1_java includes

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

18 years agoHandle pdb's copy
Vladislav Spivak [Wed, 16 Nov 2005 17:45:15 +0000 (17:45 -0000)]
Handle pdb's copy

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

18 years agoopen a correct stream.
Konstantin Triger [Wed, 16 Nov 2005 17:42:37 +0000 (17:42 -0000)]
open a correct stream.

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

18 years agorefactoring.
Konstantin Triger [Wed, 16 Nov 2005 16:48:38 +0000 (16:48 -0000)]
refactoring.

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

18 years agomaking net_1_1_java profile targets be local
Vladislav Spivak [Wed, 16 Nov 2005 16:42:54 +0000 (16:42 -0000)]
making net_1_1_java profile targets be local

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

18 years agothrow exception if invalid params.
Konstantin Triger [Wed, 16 Nov 2005 15:49:36 +0000 (15:49 -0000)]
throw exception if invalid params.

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

18 years ago2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 16 Nov 2005 15:38:55 +0000 (15:38 -0000)]
2005-11-16  Sebastien Pouliot  <sebastien@ximian.com>

* TimersDescriptionAttributeCas.cs: Fixed test as the Description
property doesn't always returns null (exact conditions unknown).

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

18 years ago2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 16 Nov 2005 15:38:47 +0000 (15:38 -0000)]
2005-11-16  Sebastien Pouliot  <sebastien@ximian.com>

* TimersDescriptionAttribute.cs: Revert Description property fix
because it doesn't always returns null (exact conditions unknown).

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

18 years agoTypo
Vladislav Spivak [Wed, 16 Nov 2005 15:20:02 +0000 (15:20 -0000)]
Typo

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

18 years ago2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Nov 2005 14:29:36 +0000 (14:29 -0000)]
2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>

* known-issues-gmcs : added cs0419-2.cs

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

18 years agoAdd CAS tests for System.Timers and System.Web namespaces
Sebastien Pouliot [Wed, 16 Nov 2005 14:28:17 +0000 (14:28 -0000)]
Add CAS tests for System.Timers and System.Web namespaces

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

18 years ago2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 16 Nov 2005 14:27:38 +0000 (14:27 -0000)]
2005-11-16  Sebastien Pouliot  <sebastien@ximian.com>

* ElapsedEventArgsCas.cs: New. CAS unit tests.
* TimerCas.cs: New. CAS unit tests.
* TimersDescriptionAttributeCas.cs: New. CAS unit tests.

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

18 years ago2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 16 Nov 2005 14:26:14 +0000 (14:26 -0000)]
2005-11-16  Sebastien Pouliot  <sebastien@ximian.com>

* ElapsedEventHandler.cs: Remove [Serializable] from 2.0 profile.
* Timer.cs: Add [Browsable(false)] to SynchronizingObject property for
2.0 profile.
* TimersDescriptionAttribute.cs: Description always returns null.

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

18 years ago2005-11-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 16 Nov 2005 14:11:10 +0000 (14:11 -0000)]
2005-11-16  Sebastien Pouliot  <sebastien@ximian.com>

* AspNetHostingPermissionAttributeCas.cs: New. CAS unit tests.
* AspNetHostingPermissionCas.cs: New. CAS unit tests.

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

18 years agoWorkaround compiler crash when using csc in java profile.
Eyal Alalouf [Wed, 16 Nov 2005 13:35:02 +0000 (13:35 -0000)]
Workaround compiler crash when using csc in java profile.

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

18 years ago2005-11-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Nov 2005 13:32:06 +0000 (13:32 -0000)]
2005-11-16  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_class_compute_gc_descriptor): Disable typed allocation
for types with non-auto layout. Fixes #76717.

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

18 years ago* class.c (my_mono_class_from_generic_parameter): param->owner can be null.
Ankit Jain [Wed, 16 Nov 2005 13:28:47 +0000 (13:28 -0000)]
* class.c (my_mono_class_from_generic_parameter): param->owner can be null.
* metadata.c (mono_metadata_parse_generic_param): Create a dummy MonoGenericParam
if generic_context is null.
  (mono_metadata_generic_param_equal): param->owner can be null.
  (mono_type_create_from_typespec_full): Don't cache the MonoType if param->owner is
null.

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

18 years ago2005-11-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Nov 2005 13:23:12 +0000 (13:23 -0000)]
2005-11-16  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (create_dynamic_mono_image): Set md_version_minor to
the correct value.

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

18 years ago2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Nov 2005 13:19:09 +0000 (13:19 -0000)]
2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>

* known-issues-gmcs : Forgot to add test-xml-045.cs.

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

18 years ago2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Nov 2005 11:43:04 +0000 (11:43 -0000)]
2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>

* GB18030Encoding.cs : check GB2312 first, and then check GB18030.
  Fixed GB18030 part of bug #76722.

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

18 years agosvn path=/trunk/mcs/; revision=53107
Vladislav Spivak [Wed, 16 Nov 2005 11:24:57 +0000 (11:24 -0000)]
svn path=/trunk/mcs/; revision=53107

18 years ago2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Nov 2005 11:11:04 +0000 (11:11 -0000)]
2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>

* GB2312Convert.cs , CP936.cs, GB18030Encoding.cs : don't handle
  single byte characters in UcsToGbk. Fixed GB2312 part of #76722.

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

18 years agoSource exclusion updated
Vladislav Spivak [Wed, 16 Nov 2005 10:37:30 +0000 (10:37 -0000)]
Source exclusion updated

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

18 years agoPatched to ignore trailing spaces
Vladislav Spivak [Wed, 16 Nov 2005 10:36:06 +0000 (10:36 -0000)]
Patched to ignore trailing spaces

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

18 years agoRevert SVN r53054
Raja R Harinath [Wed, 16 Nov 2005 10:28:50 +0000 (10:28 -0000)]
Revert SVN r53054

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

18 years agoTARGET_JVM fix. Throw exception if MSSQL port resolution failed.
Boris Kirzner [Wed, 16 Nov 2005 10:18:00 +0000 (10:18 -0000)]
TARGET_JVM fix. Throw exception if MSSQL port resolution failed.

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

18 years agofix for custom font collection
Konstantin Triger [Wed, 16 Nov 2005 10:02:39 +0000 (10:02 -0000)]
fix for custom font collection

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

18 years agoXmlReflectionImporter.cs: fixed field order returned by
Vladimir Krasnov [Wed, 16 Nov 2005 09:30:02 +0000 (09:30 -0000)]
XmlReflectionImporter.cs: fixed field order returned by
reflection in method GetReflectionMembers. TARGET_JVM only.

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

18 years ago2005-11-15 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 16 Nov 2005 02:20:04 +0000 (02:20 -0000)]
2005-11-15  Mike Kestner  <mkestner@novell.com>

* Menu.cs: when adding an item to the collection, if item is already
parented, remove it from the parent.

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

18 years ago2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Nov 2005 22:18:26 +0000 (22:18 -0000)]
2005-11-15  Sebastien Pouliot  <sebastien@ximian.com>

* Uri.cs: Temporary fix for monodoc (which current Uri system won't
work under 2.0).
2005-11-15  Sebastien Pouliot  <sebastien@ximian.com>

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

18 years ago2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Nov 2005 22:13:03 +0000 (22:13 -0000)]
2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* corlib_test.dll.sources:
  Added EncoderReplacementFallbackBudderTest.cs.

* DecoderReplacementFallbackBuffer.cs : it does not have to preserve
  byte buffer.
* EncoderReplacementFallbackBuffer.cs : implemented.
* DecoderReplacementFallback.cs, EncoderReplacementFallback.cs :
  Removed MonoTODO.

* EncoderReplacementFallbackBufferTest.cs : new test (it's weird, but
  mostly identical to DecoderReplacementFallbackBufferTest...)

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

18 years ago2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Nov 2005 22:04:32 +0000 (22:04 -0000)]
2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* typemanager.cs : (GetFullNameSignature) differentiate indexers
  with different parameters. Fixed the second problem in #76685.

* cs0419-2.cs : test to check error message problem in #76685.

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

18 years ago2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Nov 2005 22:00:53 +0000 (22:00 -0000)]
2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : (FindDocumentedMember) pass invocation_type as well (to
  get expected 'protected' access in CheckValidFamilyAccess()).
  Fixed bug #76692.

* test-xml-045-ref.xml test-xml-045.cs : new test for bug #76692.

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

18 years ago2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Nov 2005 20:18:04 +0000 (20:18 -0000)]
2005-11-15  Sebastien Pouliot  <sebastien@ximian.com>

* UriTest2.cs: Added some new test cases for old (and now fixed) Uri
bugs - #76146 and #76659. May they never surface again...

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

18 years ago2005-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Nov 2005 18:29:13 +0000 (18:29 -0000)]
2005-11-15  Zoltan Varga  <vargaz@gmail.com>

* RuntimeHelpers.cs: Really fix build.

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

18 years ago2005-11-15 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 15 Nov 2005 18:07:09 +0000 (18:07 -0000)]
2005-11-15  Martin Baulig  <martin@ximian.com>

* object.c (set_value): Use mono_class_from_mono_type() instead of
the hack for generic instances; fixes #76136.

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

18 years agoNew test.
Martin Baulig [Tue, 15 Nov 2005 18:06:08 +0000 (18:06 -0000)]
New test.

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

18 years ago2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Nov 2005 17:34:20 +0000 (17:34 -0000)]
2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* corlib_test.dll.sources:
  Added DecoderReplacementFallbackBudderTest.cs.

* DecoderFallbackBuffer.cs : Reset() does nothing here.
* DecoderReplacementFallbackBuffer.cs : implemented, but no idea how
  bytesUnknown is used.

* DecoderReplacementFallbackBufferTest.cs : new test.

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

18 years ago2005-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Nov 2005 16:58:34 +0000 (16:58 -0000)]
2005-11-15  Zoltan Varga  <vargaz@gmail.com>

* RuntimeHelper.cs: Fix build.

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

18 years ago2005-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Nov 2005 16:44:49 +0000 (16:44 -0000)]
2005-11-15  Zoltan Varga  <vargaz@gmail.com>

* RuntimeHelpers.cs: Make this class static in 2.0.

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

18 years agoCorrect signatures
Sebastien Pouliot [Tue, 15 Nov 2005 16:41:33 +0000 (16:41 -0000)]
Correct signatures

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

18 years ago2005-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Nov 2005 16:37:06 +0000 (16:37 -0000)]
2005-11-15  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Readd NewConstraintAttribute.cs as gmcs depends on it.

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

18 years ago2005-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Nov 2005 16:35:20 +0000 (16:35 -0000)]
2005-11-15  Zoltan Varga  <vargaz@gmail.com>

* NewConstraintAttribute.cs: Re-add this as gmcs depends on it.

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

18 years agoAdd new (2.0) System.Uri related classes and a lot of tests (unit and CAS) for them
Sebastien Pouliot [Tue, 15 Nov 2005 15:42:39 +0000 (15:42 -0000)]
Add new (2.0) System.Uri related classes and a lot of tests (unit and CAS) for them

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

18 years ago2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Nov 2005 15:41:05 +0000 (15:41 -0000)]
2005-11-15  Sebastien Pouliot  <sebastien@ximian.com>

* FileStyleUriParserCas.cs: New. CAS unit tests.
* FileStyleUriParserTest.cs: New. Unit tests.
* FtpStyleUriParserCas.cs: New. CAS unit tests.
* FtpStyleUriParserTest.cs: New. Unit tests.
* GenericUriParserCas.cs: New. CAS unit tests.
* GenericUriParserTest.cs: New. Unit tests.
* GopherStyleUriParserCas.cs: New. CAS unit tests.
* GopherStyleUriParserTest.cs: New. Unit tests.
* HttpStyleUriParserCas.cs: New. CAS unit tests.
* HttpStyleUriParserTest.cs: New. Unit tests.
* LdapStyleUriParserCas.cs: New. CAS unit tests.
* LdapStyleUriParserTest.cs: New. Unit tests.
* NetPipeStyleUriParserCas.cs: New. CAS unit tests.
* NetPipeStyleUriParserTest.cs: New. Unit tests.
* NetTcpStyleUriParserCas.cs: New. CAS unit tests.
* NetTcpStyleUriParserTest.cs: New. Unit tests.
* NewsStyleUriParserCas.cs: New. CAS unit tests.
* NewsStyleUriParserTest.cs: New. Unit tests.
* UriBuilderCas.cs: Fixed line-endings.
* UriCas.cs: New. CAS unit tests.
* UriParserCas.cs: New. CAS unit tests.
* UriParserTest.cs: New. Unit tests.
* UriTest2.cs: Added some new test cases.
* UriTest3.cs: New. Unit tests for new 2.0 stuff in Uri.
* UriTest.cs: Updated and fixed (1.x/2.0 diffs) test cases.

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

18 years ago2005-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Nov 2005 15:36:54 +0000 (15:36 -0000)]
2005-11-15  Zoltan Varga  <vargaz@gmail.com>

* RuntimeHelpers.cs: Net 2.0 RTM updates.

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

18 years ago2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Nov 2005 15:36:52 +0000 (15:36 -0000)]
2005-10-18  Sebastien Pouliot  <sebastien@ximian.com>

* FileStyleUriParser.cs: New. 2.0 Uri parser class.
* FtpStyleUriParser.cs: New. 2.0 Uri parser class.
* GenericUriParser.cs: New. 2.0 Uri parser class.
* GopherStyleUriParser.cs: New. 2.0 Uri parser class.
* HttpStyleUriParser.cs: New. 2.0 Uri parser class.
* LdapStyleUriParser.cs: New. 2.0 Uri parser class.
* NetPipeStyleUriParser.cs: New. 2.0 Uri parser class.
* NetTcpStyleUriParser.cs: New. 2.0 Uri parser class.
* NewsStyleUriParser.cs: New. 2.0 Uri parser class.
* Uri.cs: Lots of small fixes for both 1.x and 2.0. Some *big* bugs
in 1.x (fixed in 2.0) aren't fixed for Mono (and probably never will).
This class still needs to be refactored to be usable with the new
parsers.
* UriParser.cs: New. 2.0 Uri parser base class.

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

18 years ago2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Nov 2005 15:32:36 +0000 (15:32 -0000)]
2005-11-15  Sebastien Pouliot  <sebastien@ximian.com>

* IPv6Address.cs: Added on overload to ToString to get a the full
length address returned (as required by System.Uri).

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

18 years ago2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Nov 2005 15:31:13 +0000 (15:31 -0000)]
2005-11-15  Sebastien Pouliot  <sebastien@ximian.com>

* IPAddressTest.cs: Fixed an LoopbackIPv6 test case (missing '[') that
doesn't work on either MS 1.x or 2.0 (and won't work for long on Mono)

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

18 years ago2005-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Nov 2005 15:21:08 +0000 (15:21 -0000)]
2005-11-15  Zoltan Varga  <vargaz@gmail.com>

* AssemblyTest.cs: Fix build.

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

18 years ago2005-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Nov 2005 15:14:05 +0000 (15:14 -0000)]
2005-11-15  Zoltan Varga  <vargaz@gmail.com>

* NewConstraintAttribute.cs SuppressMergeCheckAttribute.cs: Remove
obsolete net 2.0 classes.

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

18 years ago2005-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Nov 2005 15:13:03 +0000 (15:13 -0000)]
2005-11-15  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Remove obsolete net 2.0 classes.

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

18 years agosvn path=/trunk/mcs/; revision=53061
Vladislav Spivak [Tue, 15 Nov 2005 15:08:43 +0000 (15:08 -0000)]
svn path=/trunk/mcs/; revision=53061

18 years ago2005-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Nov 2005 14:48:08 +0000 (14:48 -0000)]
2005-11-15  Zoltan Varga  <vargaz@gmail.com>

* Module.cs: Add MDStreamVersion property.

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

18 years ago2005-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Nov 2005 14:47:21 +0000 (14:47 -0000)]
2005-11-15  Zoltan Varga  <vargaz@gmail.com>

* metadata-internals.h (_MonoImage): Add 'md_version_major/minor'
fields.

* image.c (load_metadata_ptrs): Initialize the new fields.

* reflection.c (create_dynamic_mono_image): Ditto.

* reflection.c (build_compressed_metadata): Use the new fields.

* icall.c (ves_icall_System_Reflection_Module_get_MDStreamVersion): New
icall.

* icall.c (mono_assembly_icalls): Remove obsolete get_MetadataToken
icall.

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

18 years agoNew test.
Martin Baulig [Tue, 15 Nov 2005 14:30:40 +0000 (14:30 -0000)]
New test.

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

18 years ago2005-11-15 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 15 Nov 2005 14:30:22 +0000 (14:30 -0000)]
2005-11-15  Martin Baulig  <martin@ximian.com>

* anonymous.cs (ScopeInfo.ScopeType): New public field; use this
instead of `ScopeTypeBuilder' to refer to the "current" type.
(AnonymousMethod.CreateScopeType): Correctly create the helper
class if we're inside a generic type definition.

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

18 years agosvn path=/trunk/mcs/; revision=53056
Vladislav Spivak [Tue, 15 Nov 2005 14:11:45 +0000 (14:11 -0000)]
svn path=/trunk/mcs/; revision=53056

18 years ago2005-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Nov 2005 14:06:42 +0000 (14:06 -0000)]
2005-11-15  Zoltan Varga  <vargaz@gmail.com>

* Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs
CustomAttributeData.cs PortableExecutableKinds.cs
ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
updates.

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

18 years agosvn path=/trunk/mcs/; revision=53054
Vladislav Spivak [Tue, 15 Nov 2005 12:56:51 +0000 (12:56 -0000)]
svn path=/trunk/mcs/; revision=53054

18 years agosvn path=/trunk/mcs/; revision=53053
Vladislav Spivak [Tue, 15 Nov 2005 12:55:23 +0000 (12:55 -0000)]
svn path=/trunk/mcs/; revision=53053

18 years ago2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Nov 2005 12:47:46 +0000 (12:47 -0000)]
2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* Encoding.cs : added ICloneable, Clone() and new GetEncoding().

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

18 years agosvn path=/trunk/mcs/; revision=53051
Vladislav Spivak [Tue, 15 Nov 2005 12:15:22 +0000 (12:15 -0000)]
svn path=/trunk/mcs/; revision=53051

18 years ago2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Nov 2005 12:12:12 +0000 (12:12 -0000)]
2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* corlib_test.dll.sources: added new tests for
  DecoderReplacementFallback and EncoderReplacementFallback.

* Encoding.cs : Added IsReadOnly, DecoderFallback and EncoderFallback.
* Encoder.cs : Added Fallback property.
* Decoder.cs : Added Fallback property.

* TestEncoding.cs,
  DecoderReplacementFallbackTest.cs,
  EncoderReplacementFallbackTest.cs : new 2.0 tests.

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

18 years agosvn path=/trunk/mcs/; revision=53049
Vladislav Spivak [Tue, 15 Nov 2005 11:32:32 +0000 (11:32 -0000)]
svn path=/trunk/mcs/; revision=53049

18 years agosvn path=/trunk/mcs/; revision=53048
Vladislav Spivak [Tue, 15 Nov 2005 11:23:56 +0000 (11:23 -0000)]
svn path=/trunk/mcs/; revision=53048

18 years agotest1.cs, test2.cs, test3.cs : New test cases for Bug #76671.
Ankit Jain [Tue, 15 Nov 2005 10:56:34 +0000 (10:56 -0000)]
test1.cs, test2.cs, test3.cs : New test cases for Bug #76671.

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

18 years ago* class-internals.h (_MonoGenericContainer.types): New. Cache for MonoTypes.
Ankit Jain [Tue, 15 Nov 2005 10:31:47 +0000 (10:31 -0000)]
* class-internals.h (_MonoGenericContainer.types): New. Cache for MonoTypes.
* metadata.c (mono_type_create_from_typespec_full): Use MonoType from the
new per-generic_container cache if the cached MonoType's context matches
the current context.
  (has_same_context): New. Check if the VARs or MVARs in a GENERIC_INST refer
to the expected context.
  (unwrap_arrays): New. Get the element MonoType for an ARRAY/SZARRAY.

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

18 years ago2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Nov 2005 09:18:59 +0000 (09:18 -0000)]
2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* corlib.dll.sources: Encoder support types in System.Text as well.

* EncoderFallbackBuffer.cs, EncoderFallback.cs,
  EncoderExceptionFallbackBuffer.cs,
  EncoderReplacementFallbackBuffer.cs,
  EncoderFallbackException.cs,
  EncoderExceptionFallback.cs,
  EncoderReplacementFallback.cs : new files (not actually used yet).
* DecoderExceptionFallback.cs, DecoderFallbackException.cs,
  DecoderReplacementFallback.cs : [Serializable] and sealed.
* DecoderReplacementFallbackBuffer.cs : Reset() was missing.

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

18 years ago2005-11-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 15 Nov 2005 06:44:49 +0000 (06:44 -0000)]
2005-11-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* WebRequestMethods.cs: New 2.0 class.

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

18 years ago2005-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Nov 2005 05:34:29 +0000 (05:34 -0000)]
2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : (GenerateTypeDocComment) Fields could be FixedField.
  Fixed bug #76705.  CS1569 was incorrectly commented out.

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

18 years ago2005-11-14 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 15 Nov 2005 04:48:53 +0000 (04:48 -0000)]
2005-11-14  Chris Toshok  <toshok@ximian.com>

* BufferModeSettings.cs: add validators/converters to the
programmatic property list.

* BuildProvider.cs: add validators/converters to the programmatic
property list, and add an internal ctor with no args.

* Compiler.cs: wrap the code i hacked from the 1.1 stuff with a
#region.

* BuildProviderCollection.cs (CreateNewElement): use the internal
BuildProvider ctor to get around validation.

* AssemblyCollection.cs: same.

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

18 years ago2005-11-14 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 15 Nov 2005 04:44:33 +0000 (04:44 -0000)]
2005-11-14  Chris Toshok  <toshok@ximian.com>

* AnonymousIdentificationSectionTest.cs: remove MS stacktrace
comment.

* BuildProviderTest.cs: new tests.

* AuthorizationRuleTest.cs: new tests.

* AuthorizationSectionTest.cs: new tests.

* AuthenticationSectionTest.cs: new tests.

* BufferModeSettingsTest.cs: new tests.

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

18 years ago2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Nov 2005 00:06:58 +0000 (00:06 -0000)]
2005-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* DecoderFallbackBuffer.cs, DecoderFallback.cs,
  DecoderExceptionFallbackBuffer.cs,
  DecoderReplacementFallbackBuffer.cs,
  DecoderFallbackException.cs,
  DecoderExceptionFallback.cs,
  DecoderReplacementFallback.cs : new files (not actually used yet).

* corlib.dll.sources: added new .NET 2.0 Decoder support types in
  System.Text.

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

18 years ago2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Nov 2005 22:55:31 +0000 (22:55 -0000)]
2005-11-14  Atsushi Enomoto  <atsushi@ximian.com>

        * MSCompatUnicodeTable.cs : (IsIgnorable) \0 is not ignorable.
          Fixed bug 76702.

        * CompareInfoTest.cs : added NullCharacter() for bug #76702.

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

18 years ago2005-11-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 14 Nov 2005 22:37:32 +0000 (22:37 -0000)]
2005-11-14  Miguel de Icaza  <miguel@novell.com>

* ASCIIEncoding.cs, Encoding: Another snack, just a few methods
missing.

Also add some checks that were missing.

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

18 years ago2005-11-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 14 Nov 2005 20:41:00 +0000 (20:41 -0000)]
2005-11-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStoragePermission.cs: Updated FromXml with
the latest signature modifications to Parse methods
inside System ns.

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

18 years ago2005-11-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 14 Nov 2005 20:37:15 +0000 (20:37 -0000)]
2005-11-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
methods to return the exception as an out parameter,
instead of throwing it. This will be of special help
to TryParse methods.
* Environment.cs: Update corlib version to 42.

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

18 years ago2005-11-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 14 Nov 2005 20:35:03 +0000 (20:35 -0000)]
2005-11-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* appdomain.c: Update MONO_CORLIB_VERSION to 42, since
we changed the signature of an icall.
* icall.c: Modify to mono_double_ParseImpl return true/false
depending on the success, instead of throwing the exception. This will
help us in Double.TryParse methods.

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

18 years ago2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Nov 2005 19:39:57 +0000 (19:39 -0000)]
2005-11-14  Atsushi Enomoto  <atsushi@ximian.com>

        * SimpleCollator.cs :
          Created another struct to reduce method arguments. Created
another
          flags that keeps "once-matched" state (counterpart of
          checkedFlags, now neverMatchFlags).

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

18 years agoadd new files to the build
Chris Toshok [Mon, 14 Nov 2005 18:36:19 +0000 (18:36 -0000)]
add new files to the build

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

18 years ago2005-11-14 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 14 Nov 2005 18:34:58 +0000 (18:34 -0000)]
2005-11-14  Chris Toshok  <toshok@ximian.com>

* System.Configuration/CommaDelimitedStringCollectionConverterTest.cs:
new test.

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

18 years ago2005-11-14 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 14 Nov 2005 18:34:30 +0000 (18:34 -0000)]
2005-11-14  Chris Toshok  <toshok@ximian.com>

* CommaDelimitedStringCollection.cs: reformat things a bit, and
flag ToString() as override.

* DefaultSection.cs: new stubbed out implementation.

* CommaDelimitedStringCollectionConverter.cs: new implementation.

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

18 years ago2005-11-14 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 14 Nov 2005 17:39:19 +0000 (17:39 -0000)]
2005-11-14  Chris Toshok  <toshok@ximian.com>

* TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
(set_Item (int index)): implement.

* TagPrefixInfo.cs (Equals): implement.
(GetHashCode): implement.

* AuthorizationRuleCollection.cs (CreateNewElement(string)):
implement propertly.
(IndexOf): implement.
(IsElementName): implement.
(ElementName): implement.
(Item (int index)): implement.

* FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.

* UrlMappingCollection.cs (set_Item (int index)): implement.

* OutputCacheProfileCollection.cs (set_Item (int index)): implement.

* TransformerInfo.cs (Equals): implement.
(GetHashCode): implement.

* NamespaceInfo.cs (Equals): implement.
(GetHashCode): implement.

* ProfileSettingsCollection.cs (set_Item (int index)): implement.

* TransformerInfoCollection.cs (set_Item (int index)): implement.

* HttpHandlerActionCollection.cs (set_Item (int index)): implement.

* BufferModesCollection.cs (set_Item (int index)): implement.

* BuildProvider.cs: use the base[fooProp] pattern instead of
instance fields.

* ProfileGroupSettingsCollection.cs: implement most of this class.

* RuleSettingsCollection.cs (set_Item (int index)): implement.

* ClientTargetCollection.cs (set_Item (int index)): implement.

* AssemblyCollection.cs (set_Item (int index)): implement.

* BuildProviderCollection.cs (set_Item (int index)): reformat.

* CustomError.cs (Equals): implement.
(GetHashCode): implement.

* ExpressionBuilderCollection.cs (set_Item (int index)): reformat.

* PassportAuthentication.cs (RedirectUrl): express consternation
in comment form.

* NamespaceCollection.cs (set_Item (int index)): implement.

* RootProfilePropertySettingsCollection.cs (SerializeElement): add
comment.

* ProfilePropertySettingsCollection.cs (set_Item (int index)):
implement.

* CustomErrorCollection.cs (set_Item (int index)): implement.

* HttpModuleActionCollection.cs (set_Item (int index)): implement.

* CodeSubDirectoriesCollection.cs (set_Item (int index)):
implement.

* CustomErrorsSection.cs (DeserializeSection): include call to
base.DeserializeSection, and add MonoTODO.

* EventMappingSettingsCollection.cs (set_Item (int index)):
implement.

* AuthorizationRule.cs (Equals): implement.
(GetHashCode): implement.
(SerializeElement): add comment.

* TagMapCollection.cs (Remove): pass the key to BaseRemove.
(set_Item (int index)): implement.

* TagMapInfo.cs (Equals): implement.
(GetHashCode): implement.
(SerializeElement): add call to base.SerializeElement.

* TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
(GetElementKey): implement.

* SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.

* WebContext.cs: new implementation.

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

18 years ago2005-11-14 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 14 Nov 2005 17:38:54 +0000 (17:38 -0000)]
2005-11-14  Chris Toshok  <toshok@ximian.com>

* TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
(set_Item (int index)): implement.

* TagPrefixInfo.cs (Equals): implement.
(GetHashCode): implement.

* AuthorizationRuleCollection.cs (CreateNewElement(string)):
implement propertly.
(IndexOf): implement.
(IsElementName): implement.
(ElementName): implement.
(Item (int index)): implement.

* FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.

* UrlMappingCollection.cs (set_Item (int index)): implement.

* OutputCacheProfileCollection.cs (set_Item (int index)): implement.

* TransformerInfo.cs (Equals): implement.
(GetHashCode): implement.

* NamespaceInfo.cs (Equals): implement.
(GetHashCode): implement.

* ProfileSettingsCollection.cs (set_Item (int index)): implement.

* TransformerInfoCollection.cs (set_Item (int index)): implement.

* HttpHandlerActionCollection.cs (set_Item (int index)): implement.

* BufferModesCollection.cs (set_Item (int index)): implement.

* BuildProvider.cs: use the base[fooProp] pattern instead of
instance fields.

* ProfileGroupSettingsCollection.cs: implement most of this class.

* RuleSettingsCollection.cs (set_Item (int index)): implement.

* ClientTargetCollection.cs (set_Item (int index)): implement.

* AssemblyCollection.cs (set_Item (int index)): implement.

* BuildProviderCollection.cs (set_Item (int index)): reformat.

* CustomError.cs (Equals): implement.
(GetHashCode): implement.

* ExpressionBuilderCollection.cs (set_Item (int index)): reformat.

* PassportAuthentication.cs (RedirectUrl): express consternation
in comment form.

* NamespaceCollection.cs (set_Item (int index)): implement.

* RootProfilePropertySettingsCollection.cs (SerializeElement): add
comment.

* ProfilePropertySettingsCollection.cs (set_Item (int index)):
implement.

* CustomErrorCollection.cs (set_Item (int index)): implement.

* HttpModuleActionCollection.cs (set_Item (int index)): implement.

* CodeSubDirectoriesCollection.cs (set_Item (int index)):
implement.

* CustomErrorsSection.cs (DeserializeSection): include call to
base.DeserializeSection, and add MonoTODO.

* EventMappingSettingsCollection.cs (set_Item (int index)):
implement.

* AuthorizationRule.cs (Equals): implement.
(GetHashCode): implement.
(SerializeElement): add comment.

* TagMapCollection.cs (Remove): pass the key to BaseRemove.
(set_Item (int index)): implement.

* TagMapInfo.cs (Equals): implement.
(GetHashCode): implement.
(SerializeElement): add call to base.SerializeElement.

* TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
(GetElementKey): implement.

* SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.

* WebContext.cs: new implementation.

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

18 years agofew fixes to make sys.xml compile on new GH build system
Andrew Skiba [Mon, 14 Nov 2005 16:30:01 +0000 (16:30 -0000)]
few fixes to make sys.xml compile on new GH build system

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

18 years agoFix for TARGET_JVM. Provider name can be in any case.
Boris Kirzner [Mon, 14 Nov 2005 15:45:39 +0000 (15:45 -0000)]
Fix for TARGET_JVM. Provider name can be in any case.

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

18 years agoRemove old version and re-add new one.
Zoltan Varga [Mon, 14 Nov 2005 15:31:01 +0000 (15:31 -0000)]
Remove old version and re-add new one.

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

18 years agoRemove old version and re-add new one.
Zoltan Varga [Mon, 14 Nov 2005 15:30:34 +0000 (15:30 -0000)]
Remove old version and re-add new one.

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

18 years ago * net_1_1_java_System.Drawing.dll.sources,
Andrew Skiba [Mon, 14 Nov 2005 14:45:25 +0000 (14:45 -0000)]
* net_1_1_java_System.Drawing.dll.sources,
net_1_1_java_System.Drawing.dll.exclude.sources: added java profile
sources lists
* Makefile: add java profile section

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

18 years ago*** merged revisions from mcs: 52967-53002
Raja R Harinath [Mon, 14 Nov 2005 13:56:49 +0000 (13:56 -0000)]
*** merged revisions from mcs: 52967-53002

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

18 years ago * Makefile: add java build profile
Andrew Skiba [Mon, 14 Nov 2005 13:32:36 +0000 (13:32 -0000)]
* Makefile: add java build profile
* System.Xml.vmwcsproj: replace XmlNodeReader.cs with XmlNodeReader2.cs
and XslDecimalFormat.cs with XslDecimalFormat.jvm.cs
* net_1_1_java_System.Xml.dll.exclude.sources,
net_1_1_java_System.dll.sources: add source lists for java profile

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

18 years ago2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Nov 2005 13:26:09 +0000 (13:26 -0000)]
2005-11-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlNodeReader.cs : removed historical one.

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

18 years ago*** merged revisions from mcs: 52837-52943
Raja R Harinath [Mon, 14 Nov 2005 13:18:32 +0000 (13:18 -0000)]
*** merged revisions from mcs: 52837-52943

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

18 years ago* EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
Raja R Harinath [Mon, 14 Nov 2005 13:05:52 +0000 (13:05 -0000)]
* EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.

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

18 years ago2005-11-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Nov 2005 12:26:32 +0000 (12:26 -0000)]
2005-11-14  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_marshal_object): Throw an exception when
marshalling 'object' instead of crashing. Fixes #76696.

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

18 years agoAdd LowerCaseStringConverter.cs.
Raja R Harinath [Mon, 14 Nov 2005 11:46:36 +0000 (11:46 -0000)]
Add LowerCaseStringConverter.cs.

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