mono.git
19 years ago2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
Juraj Skripsky [Tue, 10 May 2005 17:32:14 +0000 (17:32 -0000)]
2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>

        * Color.cs: New, correct implementations for GetHue(),
        GetBrightness() and GetSaturation().

        * TestColor.cs: Added tests for GetHue, GetBrightness
        and GetSaturation.

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

19 years agosvn path=/trunk/mcs/; revision=44336
Martin Baulig [Tue, 10 May 2005 16:50:21 +0000 (16:50 -0000)]
svn path=/trunk/mcs/; revision=44336

19 years ago2005-05-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 May 2005 16:50:03 +0000 (16:50 -0000)]
2005-05-10  Martin Baulig  <martin@ximian.com>

* generic.cs (Constraints.Resolve): Report CS0246 if we cannot
resolve the type; fixes #74864.
(DefaultValueExpression): Create the LocalTemporary in Emit(), not
in DoResolve(); fixes #74862.

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

19 years ago2005-05-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 May 2005 16:48:15 +0000 (16:48 -0000)]
2005-05-10  Martin Baulig  <martin@ximian.com>

* support.cs (ReflectionParameters.ParameterModifier): Use
`Parameter.Modifier.REF' if we both have `ParameterAttributes.Out'
and `ParameterAttributes.In'.  Fixes #74884.

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

19 years ago2005-05-09 Geoff Norotn <gnorton@customerdna.com>
Geoff Norton [Tue, 10 May 2005 16:19:33 +0000 (16:19 -0000)]
2005-05-09 Geoff Norotn <gnorton@customerdna.com>

* TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
uses instead of codebehind.

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

19 years ago2005-05-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 May 2005 15:54:34 +0000 (15:54 -0000)]
2005-05-10  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_generic_class_initialize): Don't
call mono_class_setup_parent() here.

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

19 years agoNew test.
Martin Baulig [Tue, 10 May 2005 15:53:04 +0000 (15:53 -0000)]
New test.

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

19 years ago2005-05-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 May 2005 15:50:31 +0000 (15:50 -0000)]
2005-05-10  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.MemberLookup_FindMembers): Don't use
the cache if we're just looking for `MemberTypes.NestedType' in a
generic instance.

* ecore.cs (Expression.ResolveAsTypeTerminal): Don't check the
constraints if we're still resolving the type tree.
(Expression.MemberLookup): If we're resolving the type tree, only
look for `MemberTypes.NestedType' since we're only interested in
getting types.

* class.cs (TypeContainer.DefineType): Don't resolve the type
parameters here; do this later in ResolveType() after the type
tree has been resolved.
(TypeContainer.ResolveType): New public method; this is called
after the type tree is resolved and before the types are being
populated.  We resolve the generic constraints here.
(TypeContainer.DoDefineMember): Check the constraints on our base
class and interfaces.

* decl.cs (DeclSpace.ResolveBaseTypeExpr): Make this protected;
set the `ResolvingTypeTree' flag on the EmitContext.

* codegen.cs (EmitContext.ResolvingTypeTree): New public field.

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

19 years agonew tests
Marek Safar [Tue, 10 May 2005 13:41:52 +0000 (13:41 -0000)]
new tests

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

19 years ago2005-05-10 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 10 May 2005 13:01:05 +0000 (13:01 -0000)]
2005-05-10  Marek Safar  <marek.safar@seznam.cz>

* class.cs (Method.Define): Catch attempt for Finalizer declaration.

* expression.cs (Argument.GetParameterModifier): Turned to property.
(Invocation.Error_InvalidArguments): Add more descriptive errors.

* parameter.cs (Parameter.GetModifierSignature): Translates modifier to
its C# equivalent.

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

19 years agosvn:eol-style=native
Raja R Harinath [Tue, 10 May 2005 09:39:16 +0000 (09:39 -0000)]
svn:eol-style=native

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

19 years ago* LateBinding.cs (LateGet) :
Satya Sudha K [Tue, 10 May 2005 09:18:11 +0000 (09:18 -0000)]
* LateBinding.cs (LateGet) :
    Calling 'LateIndexGet' if the member resolves to a field, but arguments are not null

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

19 years ago* statement.cs, expression.cs, assign.cs :
Satya Sudha K [Tue, 10 May 2005 09:16:48 +0000 (09:16 -0000)]
* statement.cs, expression.cs, assign.cs :
    Patch to allow latebinding expressions to be specified as ByRef arguments

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

19 years ago2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 10 May 2005 08:44:49 +0000 (08:44 -0000)]
2005-05-10  Jordi Mas i Hernandez <jordi@ximian.com>

* CheckBox.cs: call base method to allow to fire OnClick event

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

19 years ago* driver.cs (InitializeRootContextAndOthersFromOptions):
Raja R Harinath [Tue, 10 May 2005 06:18:15 +0000 (06:18 -0000)]
* driver.cs (InitializeRootContextAndOthersFromOptions):
Overwrite RootContext.RootNamespace only if there's a value.

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

19 years ago* library.make (dist-fixup): Fix typo.
Raja R Harinath [Tue, 10 May 2005 05:44:45 +0000 (05:44 -0000)]
* library.make (dist-fixup): Fix typo.

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

19 years ago2005-05-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 10 May 2005 05:24:54 +0000 (05:24 -0000)]
2005-05-10  Atsushi Enomoto <atsushi@ximian.com>

* DTDValidatingReader.cs : since namespace declarations might be
  resolved differently due to entity handling, it holds its own set
  of declared namespaces. NamespaceURI and LookupNamespace() use it.

* XmlValidatingReaderTests.cs : fixed TestPreserveEntityNotOnDotNet()
  which was regarded as a bug while it was by design.

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

19 years agoIn ilasm/codegen:
Ankit Jain [Tue, 10 May 2005 05:21:15 +0000 (05:21 -0000)]
In ilasm/codegen:
2005-05-10  Ankit Jain  <ankit@corewars.org>

Fix #74768.
* ExternTable.cs (ExternRef.GetTypeRef): Make ValueClass if requested.
Hack alongwith Hari.

In ilasm/parser:
2005-05-10  Ankit Jain  <ankit@corewars.org>

Fix #74768.
* ILParser.jay (type): Emit TypeRefs instead of TypeSpecs for valuetypes,
so don't create ExternTypeRefInst.
Hack along with Hari.

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

19 years ago2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 10 May 2005 00:57:15 +0000 (00:57 -0000)]
2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CacheEntry.cs: credits for this patch should go to mcs. it catched
that the code after 'if ((_enumFlags & Flags.Removed) != 0)' was
unreachable.

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

19 years agono #if for platform
Gonzalo Paniagua Javier [Mon, 9 May 2005 21:20:58 +0000 (21:20 -0000)]
no #if for platform

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:21:01 +0000 (20:21 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:18:02 +0000 (20:18 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:14:33 +0000 (20:14 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:08:52 +0000 (20:08 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:07:18 +0000 (20:07 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:03:23 +0000 (20:03 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:00:22 +0000 (20:00 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 19:56:14 +0000 (19:56 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 19:55:54 +0000 (19:55 -0000)]
Check platform without using #define

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

19 years ago2005-05-09 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 9 May 2005 18:14:15 +0000 (18:14 -0000)]
2005-05-09  Ben Maurer  <bmaurer@ximian.com>

* UrlUtils.cs (Reduce): a more efficient impl that avoids an
arraylist, making an arraylist into an array, and a replace
operation.

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

19 years ago2005-05-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 May 2005 16:43:56 +0000 (16:43 -0000)]
2005-05-09  Atsushi Enomoto <atsushi@ximian.com>

* Makefile : now *.out does not match the all reference outputs, namely
  those from MSFT_Conformance_Tests (mostly *.txt).
  So use "xslttest.exe --list" instead of "find".

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

19 years agoUse PlatformID.Unix under NET_2_0.
Sebastien Pouliot [Mon, 9 May 2005 16:04:01 +0000 (16:04 -0000)]
Use PlatformID.Unix under NET_2_0.

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

19 years agoXplatUI.cs: Use PlatformID.Unix under NET_2_0.
Sebastien Pouliot [Mon, 9 May 2005 15:57:52 +0000 (15:57 -0000)]
XplatUI.cs: Use PlatformID.Unix under NET_2_0.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 15:52:11 +0000 (15:52 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
* Graphics.cs: Use PlatformID.Unix under NET_2_0.
* Image.cs: Use PlatformID.Unix under NET_2_0.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 15:27:16 +0000 (15:27 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* KeyPairPersistence.cs: Use PlatformID.Unix under NET_2_0.
* PKCS8.cs: In sync with corlib;

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 15:26:27 +0000 (15:26 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* KeyPairPersistence.cs: Use PlatformID.Unix under NET_2_0.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 15:24:29 +0000 (15:24 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* DirectoryInfoTest.cs: Fixed PlatformID.Unix for NET_2_0.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 15:22:48 +0000 (15:22 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* pinvoke1-3.cs: Fixed RunningOnWindows to run under NET_2_0.
* Makefile: Changed --debug for -debug to avoid compiler warning.

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

19 years ago2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 May 2005 15:19:14 +0000 (15:19 -0000)]
2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRuntime.cs: PlatformID.Unix.

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

19 years ago2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 May 2005 15:18:10 +0000 (15:18 -0000)]
2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* OperatingSystem.cs: PlatformID.Unix.

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

19 years ago2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 May 2005 15:10:28 +0000 (15:10 -0000)]
2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ProcessStringDictionary.cs: PlatformID for 2.0.

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

19 years ago* catalog.sed : fix more names in the catalog, add the missing backslash before ...
Andrew Skiba [Mon, 9 May 2005 14:11:16 +0000 (14:11 -0000)]
* catalog.sed : fix more names in the catalog, add the missing backslash before '+' in the sed rules

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

19 years agoMon May 9 16:29:43 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 May 2005 13:54:30 +0000 (13:54 -0000)]
Mon May 9 16:29:43 CEST 2005 Paolo Molaro <lupus@ximian.com>

* mono-debug-debugger.c: use the loader lock until the
code is reviewed and changed to avoid the deadlock (bug #74830).

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 13:17:04 +0000 (13:17 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.

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

19 years agoRemoved SecurityContextSwitcher from build. Added existing CAS unit tests not yet...
Sebastien Pouliot [Mon, 9 May 2005 13:14:18 +0000 (13:14 -0000)]
Removed SecurityContextSwitcher from build. Added existing CAS unit tests not yet part of the build.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 13:11:16 +0000 (13:11 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* WindowsIdentityTest.cs: Fixed IsPosix for NET_2_0.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 13:09:59 +0000 (13:09 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* DirectoryCas.cs: Fixed IsRunningOnWindows (inversed logic). That
didn't change the tests as the SecurityException occurs before the
parameters are checked (when all goes well ;-). Fixed for NET_2_0 too.

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

19 years ago* CompressedStack.cs: GetCompressedStack is public before 2.0 but couldn't be seen...
Sebastien Pouliot [Mon, 9 May 2005 13:03:37 +0000 (13:03 -0000)]
* CompressedStack.cs: GetCompressedStack is public before 2.0 but couldn't be seen with mono-api-info because of it's LinkDemand for the ECMA public key. Stack capture occurs here if none exists on the current thread.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 12:59:17 +0000 (12:59 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityContext.cs: That was the wrong place to capture the stack.

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

19 years agoIn mcs:
Raja R Harinath [Mon, 9 May 2005 12:01:29 +0000 (12:01 -0000)]
In mcs:
Fix #74852.
* decl.cs (MemberCache.AddMethods): Register override methods,
rather than non-override methods.
* typemanager.cs (RegisterOverride): New.
(IsOverride): Update.

In tests:
* Makefile (test-harness-run): Depend on $(TEST_HARNESS_EXTRAS).
* harness.mk: Substitute the current profile into the compiler
options where the string 'PROFILE' is used.
* test-377.cs, test-377-default-il.il, test-377-net_2_0-il.il:
New tests from #74852.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Mon, 9 May 2005 11:06:06 +0000 (11:06 -0000)]
2005-05-09  Lluis Sanchez Gual  <lluis@ximian.com>

* ObjectWriter.cs:
* CodeGenerator.cs: No need to add the class for inherited fields,
since FieldInfo objects returned by the GetSerializableMembers
method will already include the class name if needed.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 9 May 2005 11:04:25 +0000 (11:04 -0000)]
2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>

* FormatterServices.cs: In GetSerializableMembers, private fields
from base classes must include the class name in the field name.
In this case, it now creates a clone of the field with the
modified name. This patch together with r44260 fixes bug #74760.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 9 May 2005 11:00:31 +0000 (11:00 -0000)]
2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>

* MonoField.cs: Added a Clone method. This is needed for serialization.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 10:59:34 +0000 (10:59 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityContext.cs: Capture the CompressedStack when the current
context one is empty.
* SecurityManager.cs: Class is now static (2.0).
* SecurityTreatAsSafeAttribute.cs: Fixed AttributeTargets.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 9 May 2005 10:54:24 +0000 (10:54 -0000)]
2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>

* RemotingServices.cs: Fix warning.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 9 May 2005 10:54:01 +0000 (10:54 -0000)]
2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>

* MethodCall.cs: Fix warning.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 10:53:09 +0000 (10:53 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* EncryptionProperties.cs: Added [IndexerName] attribute to rename
"this" from Item to ItemOf. Added missing Item(int) method.
* ReferenceList.cs: Added [IndexerName] attribute to rename "this"
from Item to ItemOf.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 9 May 2005 10:40:20 +0000 (10:40 -0000)]
2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>

* SynchronizationAttribute.cs: Make it serializable. Fixes bug #60228.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 9 May 2005 10:24:48 +0000 (10:24 -0000)]
2005-05-09  Lluis Sanchez Gual <lluis@novell.com>

* SoapReader.cs:
* SoapWriter.cs: Use InternalRemotingServices.GetCachedSoapAttribute to
get the name of the fields being serialized. Fixed some warnings.

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

19 years ago* Makefile : delete an obsolete dependency from deleted simplify.xsl
Andrew Skiba [Mon, 9 May 2005 10:17:07 +0000 (10:17 -0000)]
* Makefile : delete an obsolete dependency from deleted simplify.xsl

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

19 years agoDelete the obsolete prepare.cs
Andrew Skiba [Mon, 9 May 2005 09:36:50 +0000 (09:36 -0000)]
Delete the obsolete prepare.cs

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

19 years ago* Mono.GetOptions.Useful/CommonCompilerOptions.cs (AddedReference):
Raja R Harinath [Mon, 9 May 2005 09:34:29 +0000 (09:34 -0000)]
* Mono.GetOptions.Useful/CommonCompilerOptions.cs (AddedReference):
Support multiple assemblies separated by commas.

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

19 years agosvn:eol-style=native
Raja R Harinath [Mon, 9 May 2005 09:31:25 +0000 (09:31 -0000)]
svn:eol-style=native

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

19 years agosvn:eol-style=native
Raja R Harinath [Mon, 9 May 2005 09:28:00 +0000 (09:28 -0000)]
svn:eol-style=native

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

19 years ago* Makefile (TEST_COMPILE): Set MONO_PATH.
Raja R Harinath [Mon, 9 May 2005 09:21:31 +0000 (09:21 -0000)]
* Makefile (TEST_COMPILE): Set MONO_PATH.

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

19 years ago2005-05-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 May 2005 09:21:17 +0000 (09:21 -0000)]
2005-05-09  Atsushi Enomoto  <atsushi@ximian.com>

* Stack.cs : empty_stack.CopyTo(empty_array, 0) should be allowed.

* StackTest.cs : test for CopyTo() on an empty stack.

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

19 years ago2005-05-09 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 9 May 2005 08:31:19 +0000 (08:31 -0000)]
2005-05-09 Marek Safar <marek.safar@seznam.cz>

* Makefile: Use TestRunner under NET_2_0.

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

19 years agonew test
Marek Safar [Mon, 9 May 2005 08:30:08 +0000 (08:30 -0000)]
new test

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

19 years ago2005-05-09 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 9 May 2005 08:15:47 +0000 (08:15 -0000)]
2005-05-09  Marek Safar  <marek.safar@seznam.cz>

Fix #73105.

* ecore.cs (SimpleName.SimpleNameResolve): Add in_transit to catch
recursive declaration.

* statement.cs (Block.ResolveMeta): Report any error in resolving.

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

19 years ago2005-05-09 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 9 May 2005 07:38:39 +0000 (07:38 -0000)]
2005-05-09  Marek Safar  <marek.safar@seznam.cz>

* typemanager.cs (TypeManager): Moved InitGenerics to Reset method.

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

19 years ago2005-05-09 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 9 May 2005 07:37:20 +0000 (07:37 -0000)]
2005-05-09  Marek Safar  <marek.safar@seznam.cz>

* PropertyTab.cs: Implemented.

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

19 years ago * parameter.cs : Support 'Optional ByRef' parameters
Satya Sudha K [Mon, 9 May 2005 07:02:49 +0000 (07:02 -0000)]
    * parameter.cs : Support 'Optional ByRef' parameters
        * statement.cs : Using 'System.Reflection.Missing.Value' in case  of missing argument for LateBinding cases

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

19 years agoSupport for optional arguments in LateBinding
Satya Sudha K [Mon, 9 May 2005 07:01:39 +0000 (07:01 -0000)]
Support for optional arguments in LateBinding

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

19 years ago2005-05-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 May 2005 06:48:21 +0000 (06:48 -0000)]
2005-05-09  Atsushi Enomoto  <atsushi@ximian.com>

* MonoWSDL.cs, MonoWSDL2.cs :
  "file://"+windows_native_path is not a valid file URI.

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

19 years ago* Makefile : care of timestamps to make a minimal build
Andrew Skiba [Mon, 9 May 2005 06:37:10 +0000 (06:37 -0000)]
* Makefile : care of timestamps to make a minimal build

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

19 years ago* Makefile : track the timestamp so tar does not run when not needed
Andrew Skiba [Mon, 9 May 2005 06:36:01 +0000 (06:36 -0000)]
* Makefile : track the timestamp so tar does not run when not needed
* xsdtest.cs : fix the case of the directory name

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

19 years ago* eliminates the need to run xsltproc on catalog.xml to produce catalog-out.xml
Andrew Skiba [Mon, 9 May 2005 05:46:33 +0000 (05:46 -0000)]
* eliminates the need to run xsltproc on catalog.xml to produce catalog-out.xml
* fixes the hack that distinguishes between Xalan and Microsoft compliance tests
* changes the output of the test: instead of endless scroll of test names now it prints '.' and 'E' if test was passed and exception thrown, respectfully. In the future I will check the expected results and print 'e' if the results are different.

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

19 years ago2005-05-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 May 2005 05:26:33 +0000 (05:26 -0000)]
2005-05-09  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : added ReadElementContentAsLong().
* XmlWriter.cs : removed some obsolete WriteValue() overloads.
* XmlResolver.cs,
  IXmlNamespaceResolver.cs : removed deprecated 2.0 bits.
* XQueryConvert.cs : obsolete (yeah, now XQuery should be hidden).

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

19 years ago2005-05-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 May 2005 05:23:00 +0000 (05:23 -0000)]
2005-05-09  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources : removed obsolete TypeTableEntry.cs.

* TypeTableEntry.cs : removed obsolete code.

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

19 years ago2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 May 2005 02:53:12 +0000 (02:53 -0000)]
2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
Clear the _Headers array instead of creating a new ArrayList in
ClearHeaders().

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

19 years ago2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 May 2005 02:42:50 +0000 (02:42 -0000)]
2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Uri.cs:
(EscapeString): no need to turn the string into a char[] when calling
GetBytes.

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

19 years ago2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 May 2005 02:27:46 +0000 (02:27 -0000)]
2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SchemaReference.cs: fixed the setter for TargetNamespace.

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

19 years ago2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 May 2005 01:34:01 +0000 (01:34 -0000)]
2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs: we had 2 variables to track client connection status.
Use only one. Increase the buffer size to 28KB when writing from a file.

* StaticFileHandler.cs: set the Content-Type before writing the file.
This allows flushing before all the content is written.

* HttpApplication.cs: use the variable instead of the property when
setting the Principal for the current process.

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

19 years ago2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 May 2005 01:30:33 +0000 (01:30 -0000)]
2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ReusableMemoryStream.cs:
* HttpWriter.cs: keep a pool of buffers to avoid allocations.

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

19 years ago2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 May 2005 01:00:49 +0000 (01:00 -0000)]
2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: as setting CurrentCulture is slow, don't set it if the
culture has not changed since before the page started processing.

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

19 years ago2005-05-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 8 May 2005 23:14:05 +0000 (23:14 -0000)]
2005-05-08  Ben Maurer  <bmaurer@ximian.com>

* scripts/Makefile.am (bin_SCRIPTS): monoresgen.exe is not
installed, therefore, don't make a script for it.

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

19 years ago2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 8 May 2005 23:07:07 +0000 (23:07 -0000)]
2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* NameObjectCollectionBase.cs: after 1.0, this uses DefaultInvariant for
the hash code provider and comparer, as Ben said.

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

19 years ago2005-05-08 Alp Toker <alp@atoker.com>
Alp Toker [Sun, 8 May 2005 16:59:38 +0000 (16:59 -0000)]
2005-05-08  Alp Toker  <alp@atoker.com>

  * cilc.cs: Add null check to NsToC and fix warnings.

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

19 years ago* DoubleFormatterTest.cs: re-enabled test as bug #60110 is now fixed.
Gert Driesen [Sun, 8 May 2005 12:09:58 +0000 (12:09 -0000)]
* DoubleFormatterTest.cs: re-enabled test as bug #60110 is now fixed.

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

19 years agocatalog.sed : fix a typo
Andrew Skiba [Sun, 8 May 2005 08:56:00 +0000 (08:56 -0000)]
catalog.sed : fix a typo

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

19 years ago* catalog.diff : deleted, replaced by catalog.sed
Andrew Skiba [Sun, 8 May 2005 07:02:37 +0000 (07:02 -0000)]
* catalog.diff : deleted, replaced by catalog.sed
* catalog.sed : added new file
* Makefile : now it does not exctract catalog every run; output
patched catalog into a different filename; breaked the extraction into
a separate target so it's done only when needed.
* xslttest.cs : open a patched catalog, not an original one

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

19 years ago2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 7 May 2005 23:12:22 +0000 (23:12 -0000)]
2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs: no need to save/restore the thread culture when
getting the Date header. According to Ben's profiling, this is a big
deal in performance.

* HttpRuntime.cs: ignore exceptions that might be thrown when unloading
a domain.

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

19 years ago* expression.cs (Binary.CheckIsArguments): Added
Jambunathan K [Sat, 7 May 2005 20:50:53 +0000 (20:50 -0000)]
* expression.cs (Binary.CheckIsArguments): Added
(Binary.Emit, Binary.CheckArguments): Modified to support 'Is'
operator.

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

19 years ago* convert.cs:
Jambunathan K [Sat, 7 May 2005 19:19:49 +0000 (19:19 -0000)]
* convert.cs:
* expression.cs: Miscellaneous fixes relating to
type conversions.

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

19 years ago2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 7 May 2005 18:54:36 +0000 (18:54 -0000)]
2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* metadata/socket-io.c:
* io-layer/sockets.c: on windows, getsockopt/setsockopt for send/receive
timeout use an integer in milliseconds. We were using a struct timeval.

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

19 years ago2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 7 May 2005 18:47:14 +0000 (18:47 -0000)]
2005-05-07  Atsushi Enomoto  <atsushi@ximian.com>

* NumberFormatter.cs : roundtrip number is already rounded before
  FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
  bug #72955.

* DoubleTest.cs : added test for #72955.

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

19 years agoIn System:
Ben Maurer [Sat, 7 May 2005 16:15:33 +0000 (16:15 -0000)]
In System:
2005-05-07  Ben Maurer  <bmaurer@ximian.com>

* Array.cs (BinarySearch): Patch from kazuki to pass arguments to
the comparer in the same order as msft. Fixes #70725

In Test/System:
2005-05-07  Ben Maurer  <bmaurer@ximian.com>

* ArrayTest.cs: Test for #70725.

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

19 years ago2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 7 May 2005 16:11:07 +0000 (16:11 -0000)]
2005-05-07  Atsushi Enomoto  <atsushi@ximian.com>

* MSXslScriptManager.cs : it should ignore compiler warnings. This
  fixes bug #74859.

* MSXslScriptTests.cs : added testcase for bug #74859.

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

19 years agoIn Test/System.Reflection:
Ben Maurer [Sat, 7 May 2005 15:24:06 +0000 (15:24 -0000)]
In Test/System.Reflection:
2005-05-07  Ben Maurer  <bmaurer@ximian.com>

* EventInfoTest.cs: New file. Has a test case for #64191.

In System.Reflection:
2005-05-07  Ben Maurer  <bmaurer@ximian.com>

* MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.

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

19 years agoadd generic methods
César Natarén [Sat, 7 May 2005 10:27:44 +0000 (10:27 -0000)]
add generic methods

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