mono.git
19 years agoThis commit was manufactured by cvs2svn to create branch 'mono-1-0'.
nobody [Fri, 24 Sep 2004 10:08:27 +0000 (10:08 -0000)]
This commit was manufactured by cvs2svn to create branch 'mono-1-0'.

svn path=/branches/mono-1-0/mcs/; revision=34341

19 years ago2004-09-24 Umadevi S <sumadevi@novell.com>
Umadevi S [Fri, 24 Sep 2004 09:58:25 +0000 (09:58 -0000)]
2004-09-24 Umadevi S <sumadevi@novell.com>
        * SqlTransactionTest.cs -new file .unit testing for SqlTransaction

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

19 years ago2004-09-24 Umadevi S <sumadevi@novell.com>
Umadevi S [Fri, 24 Sep 2004 09:56:09 +0000 (09:56 -0000)]
2004-09-24  Umadevi S <sumadevi@novell.com>
        * SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.

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

19 years agoEnforce inline limit.
Paolo Molaro [Fri, 24 Sep 2004 09:42:34 +0000 (09:42 -0000)]
Enforce inline limit.

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

19 years ago2004-09-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 24 Sep 2004 09:06:15 +0000 (09:06 -0000)]
2004-09-24  Zoltan Varga  <vargaz@freemail.hu>

* tramp-amd64.c mini-amd64.h: Add suppor for MONO_ARCH_HAVE_INVALIDATE_METHOD.

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

19 years ago2004-09-24 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 24 Sep 2004 08:15:03 +0000 (08:15 -0000)]
2004-09-24  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay: Reverted 642 warning fix.

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

19 years agoUpdated a bit.
Martin Baulig [Fri, 24 Sep 2004 05:19:55 +0000 (05:19 -0000)]
Updated a bit.

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

19 years ago2004-09-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 24 Sep 2004 04:00:09 +0000 (04:00 -0000)]
2004-09-23  Miguel de Icaza  <miguel@ximian.com>

* main.c (dis_directive_assemblyref): Dump the locale and public
key tokens

* get.c (dis_stringify_object_with_class): Escape assembly name.

* main.c (dis_directive_assemblyref): Escape assembly name

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

19 years ago2004-09-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Sep 2004 03:56:54 +0000 (03:56 -0000)]
2004-09-24  Martin Baulig  <martin@ximian.com>

* convert.cs (Convert.ImplicitReferenceConversion): Added implicit
type parameter conversions for type parameters which are known to
be reference types.

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

19 years ago2004-09-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Sep 2004 03:55:42 +0000 (03:55 -0000)]
2004-09-24  Martin Baulig  <martin@ximian.com>

* GenericTypeParameterBuilder.cs
(GenericTypeParameterBuilder.GetGenericParameterConstraints): Override.

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

19 years ago2004-09-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Sep 2004 03:55:06 +0000 (03:55 -0000)]
2004-09-24  Martin Baulig  <martin@ximian.com>

* Type.cs (Type.GetGenericParameterConstraints): New public method.

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

19 years ago2004-09-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Sep 2004 03:53:54 +0000 (03:53 -0000)]
2004-09-24  Martin Baulig  <martin@ximian.com>

* icall.c (ves_icall_Type_GetGenericParameterConstraints): New interncall.

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

19 years ago2004-09-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Sep 2004 03:48:19 +0000 (03:48 -0000)]
2004-09-24  Martin Baulig  <martin@ximian.com>

* generic.cs (GenericConstraints): Added `IsReferenceType' and
`IsValueType' properties.

* support.cs (ReflectionConstraints): Use
Type.GetGenericParameterConstraints() instead of the old hack.

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

19 years ago2004-09-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Sep 2004 03:33:08 +0000 (03:33 -0000)]
2004-09-24  Martin Baulig  <martin@ximian.com>

* generic.cs (ReflectionConstraints): Moved here and made it an
abstract class.

* support.cs (ReflectionConstraints): Moved to generic.cs.

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

19 years ago2004-09-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Sep 2004 03:22:14 +0000 (03:22 -0000)]
2004-09-24  Martin Baulig  <martin@ximian.com>

* support.cs
(ReflectionConstraints): Un-nested this class and made it public.

* typemanager.cs
(TypeManager.GetTypeParameterConstraints): New public method.
(TypeManager.HasConstructorConstraint): Use the attributes.

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

19 years ago2004-09-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Sep 2004 03:17:07 +0000 (03:17 -0000)]
2004-09-24  Martin Baulig  <martin@ximian.com>

* support.cs (GenericConstraints): Replaced `HasConstructor',
`IsReferenceType' and `IsValueType' with `Attributes'.
(ReflectionParameters.ReflectionConstraints): Removed the Create()
method and made the .ctor public.

* generic.cs (Constraints.Attributes): New public property.
(Constraints): Renamed `HasConstructor' -> `HasConstructorConstraint',
`IsReferenceType' -> `HasReferenceTypeConstraint' and
`IsValueType' -> `HasValueTypeConstraint'.

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

19 years agoFixed a typo.
Martin Baulig [Fri, 24 Sep 2004 03:02:06 +0000 (03:02 -0000)]
Fixed a typo.

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

19 years agoNew test.
Martin Baulig [Fri, 24 Sep 2004 02:52:18 +0000 (02:52 -0000)]
New test.

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

19 years ago2004-09-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Thu, 23 Sep 2004 23:29:02 +0000 (23:29 -0000)]
2004-09-23  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

    * NpgsqlTypes/NpgsqlTypesHelper.cs:
        ConvertToBackend: Added support for System.Enum types. Now enumerated types can be used correctly as a paramater value. Thanks Martin ( martijn at boland dot org) for the heads up.

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

19 years ago2004-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 23 Sep 2004 21:28:19 +0000 (21:28 -0000)]
2004-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c:
(mono_domain_set): allow setting a domain that is being unloaded.
(mono_domain_unload): invoke the DomainUnload callbacks in the domain
being unloaded.

svn path=/branches/mono-1-0/mono/; revision=34320

19 years ago2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 23 Sep 2004 21:18:35 +0000 (21:18 -0000)]
2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplicationFactory.cs:
* HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
unloading.

svn path=/branches/mono-1-0/mcs/; revision=34319

19 years ago2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 23 Sep 2004 21:17:23 +0000 (21:17 -0000)]
2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplicationFactory.cs:
* HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
unloading.

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

19 years ago2004-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 23 Sep 2004 20:59:50 +0000 (20:59 -0000)]
2004-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c:
(mono_domain_set): allow setting a domain that is being unloaded.
(mono_domain_unload): invoke the DomainUnload callbacks in the domain
being unloaded.

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

19 years ago2004-09-23 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 23 Sep 2004 20:30:17 +0000 (20:30 -0000)]
2004-09-23  Marek Safar  <marek.safar@seznam.cz>

Fix bug #66615
* decl.cs (FindMemberWithSameName): Indexer can have more than
1 argument.

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

19 years agonew test
Marek Safar [Thu, 23 Sep 2004 20:29:00 +0000 (20:29 -0000)]
new test

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

19 years ago2004-09-23 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 23 Sep 2004 19:47:46 +0000 (19:47 -0000)]
2004-09-23  Marek Safar  <marek.safar@seznam.cz>

* expression.cs (LocalVariableReference.DoResolveLValue):
Do not report warning 219 for out values.
(EmptyExpression.Null): New member to avoid extra allocations.

* rootcontext.cs: Warning 4 is back.

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

19 years agowarning cleanup
Marek Safar [Thu, 23 Sep 2004 19:37:31 +0000 (19:37 -0000)]
warning cleanup

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 19:35:03 +0000 (19:35 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* icall.c reflection.h reflection.c: Add a 'pseudo_attrs' argument to
the GetCustomAttributes icall.

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 19:29:42 +0000 (19:29 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
GetCustomAttributesInternal and add a 'pseudoAttrs' argument.

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

19 years agoTemp build fixage
Jackson Harper [Thu, 23 Sep 2004 19:08:59 +0000 (19:08 -0000)]
Temp build fixage

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 19:08:07 +0000 (19:08 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* Type.cs: Tweak Module property in 2.0 build.

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 19:07:26 +0000 (19:07 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* DynamicMethod.cs: Add MetadataToken property and tweak Module property.

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 19:06:44 +0000 (19:06 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* Module.cs: Remove [MonoTODO] from ResolveMember.

* MemberInfo.cs: Add 'Module' property.

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 19:04:13 +0000 (19:04 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyFlagsAttribute.cs: Add 2.0 stuff.

* Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
to LoadWithPartialName on 2.0.

* AssemblyNameFlags.cs: Add new 2.0 members.

* FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 18:59:39 +0000 (18:59 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 18:58:32 +0000 (18:58 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* corlib.dll.sources: Add System.Reflection.ObfuscateAssemblyAttribute
and System.Reflection.ObfuscationAttribute.

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

19 years ago2004-09-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 23 Sep 2004 18:01:31 +0000 (18:01 -0000)]
2004-09-23  Martin Baulig  <martin@ximian.com>

* generic.cs (Constraints): Reflect latest runtime changes.

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

19 years ago2004-09-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 23 Sep 2004 17:48:32 +0000 (17:48 -0000)]
2004-09-23  Martin Baulig  <martin@ximian.com>

* GenericTypeParameterBuilder.cs
(GenericTypeParameterBuilder.SetGenericParameterAttributes): New
public method, replaces the old Mono_* hacks.

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

19 years ago2004-09-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 23 Sep 2004 17:47:32 +0000 (17:47 -0000)]
2004-09-23  Martin Baulig  <martin@ximian.com>

* object-internals.h (MonoReflectionGenericParam): Replaced
'has_ctor_constraint', `has_reference_type' and `has_value_type'
with `guint32 attrs'.

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

19 years agoReturn the correct flags.
Martin Baulig [Thu, 23 Sep 2004 17:24:52 +0000 (17:24 -0000)]
Return the correct flags.

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

19 years ago2004-09-23 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 23 Sep 2004 17:20:47 +0000 (17:20 -0000)]
2004-09-23  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay: Fix wrong warning 642 report.

* cs-tokenizer.cs (CheckNextToken): New helper;
Inspect next character if is same as expected.

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

19 years ago2004-09-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 23 Sep 2004 17:11:00 +0000 (17:11 -0000)]
2004-09-23  Martin Baulig  <martin@ximian.com>

* Type.cs (Type.GenericParameterAttributes): New public property.

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

19 years ago2004-09-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 23 Sep 2004 17:10:28 +0000 (17:10 -0000)]
2004-09-23  Martin Baulig  <martin@ximian.com>

* icall.c (ves_icall_Type_GetGenericParameterAttributes): New interncall.

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

19 years ago2004-09-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 23 Sep 2004 17:01:32 +0000 (17:01 -0000)]
2004-09-23  Martin Baulig  <martin@ximian.com>

* convert.cs (Convert.ImplicitReferenceConversion): Some code cleanup.
(Convert.ImplicitReferenceConversionExists): Likewise.

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

19 years agoOoops.
Martin Baulig [Thu, 23 Sep 2004 16:48:02 +0000 (16:48 -0000)]
Ooops.

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

19 years ago2004-09-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Sep 2004 16:44:25 +0000 (16:44 -0000)]
2004-09-23  Sebastien Pouliot  <sebastien@ximian.com>

* TlsClientKeyExchange.cs: Removed .Clear call on private key as itn't
ours (but only a reference). It also requires the callback to recreate
a new key object each time (which is worse). This also implies that
the caller (implementing the callback) is responsible to clear it.

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

19 years agonew test
Marek Safar [Thu, 23 Sep 2004 16:39:17 +0000 (16:39 -0000)]
new test

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

19 years ago2004-09-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 23 Sep 2004 15:28:33 +0000 (15:28 -0000)]
2004-09-23  Martin Baulig  <martin@ximian.com>

* object-internals.h (GenericParameterAttributes): New enum.

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

19 years agoNew test.
Martin Baulig [Thu, 23 Sep 2004 15:23:36 +0000 (15:23 -0000)]
New test.

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

19 years ago2004-09-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 23 Sep 2004 15:23:18 +0000 (15:23 -0000)]
2004-09-23  Martin Baulig  <martin@ximian.com>

* GenericParameterAttributes.cs: New file.

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

19 years agoMerged.
Martin Baulig [Thu, 23 Sep 2004 14:15:31 +0000 (14:15 -0000)]
Merged.

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

19 years ago**** Merged from MCS ****
Martin Baulig [Thu, 23 Sep 2004 14:15:08 +0000 (14:15 -0000)]
**** Merged from MCS ****

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

19 years ago**** Merged from MCS ****
Martin Baulig [Thu, 23 Sep 2004 13:59:45 +0000 (13:59 -0000)]
**** Merged from MCS ****

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

19 years ago2004-09-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Sep 2004 13:25:53 +0000 (13:25 -0000)]
2004-09-23  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Updated version to 1.0.3 for next stable release.
* MakeCert.cs: Hack for date parsing problem with Mono.

svn path=/branches/mono-1-0/mcs/; revision=34281

19 years ago * RemotingServices.cs: Fixed wrong patch for InternalExecuteMessage.
Lluis Sanchez [Thu, 23 Sep 2004 13:24:14 +0000 (13:24 -0000)]
* RemotingServices.cs: Fixed wrong patch for InternalExecuteMessage.
  The MethodBase in the message may not be the same type of the object
  (the method can be called using an interface).

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

19 years ago2004-09-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Sep 2004 13:23:31 +0000 (13:23 -0000)]
2004-09-23  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Updated version to 1.1.2 for next release.
* MakeCert.cs: Hack for date parsing problem with Mono.

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

19 years ago2004-09-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Sep 2004 13:07:45 +0000 (13:07 -0000)]
2004-09-23  Sebastien Pouliot  <sebastien@ximian.com>

* RecordProtocol.cs: Fix alert data that could leak into appplication
data (e.g. when closing the SSL session).

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

19 years ago2004-09-23 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Thu, 23 Sep 2004 12:31:15 +0000 (12:31 -0000)]
2004-09-23 Anirban Bhattacharjee <banirban@novell.com>
        * expression.cs: Enhanced mbas to resolve Default property or indexer

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 12:10:46 +0000 (12:10 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* EventInfo.cs: Fix 2.0 build.

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 12:04:54 +0000 (12:04 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* cpu-amd64.md: Fix bug in previous patch.

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 11:50:20 +0000 (11:50 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.

* EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 11:47:34 +0000 (11:47 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* object-internals.h (MonoEventInfo): Add 'other_methods' field.

* class.c (init_events): Fill out event->other field.

* class.c: Fix warnings.

* icall.c (ves_icall_get_event_info): Fill out 'other_methods' field.

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

19 years agonew test
Marek Safar [Thu, 23 Sep 2004 11:46:38 +0000 (11:46 -0000)]
new test

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

19 years agoupdate
Marek Safar [Thu, 23 Sep 2004 11:40:55 +0000 (11:40 -0000)]
update

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

19 years ago2004-09-23 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 23 Sep 2004 11:29:25 +0000 (11:29 -0000)]
2004-09-23  Marek Safar  <marek.safar@seznam.cz>

* class.cs (Operator.Define): Add error 448 and 559 report.

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

19 years agoupdate
Marek Safar [Thu, 23 Sep 2004 10:15:00 +0000 (10:15 -0000)]
update

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

19 years ago2004-09-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Sep 2004 09:54:00 +0000 (09:54 -0000)]
2004-09-23  Zoltan Varga  <vargaz@freemail.hu>

* cpu-amd64.md: Fix instruction lengths of membase opcodes. Fixes
#66650.

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

19 years agoUpdated sources list and project file.
Ravindra [Thu, 23 Sep 2004 07:44:28 +0000 (07:44 -0000)]
Updated sources list and project file.

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

19 years agoEventArgs and EventHandlers needed by ListView Control.
Ravindra [Thu, 23 Sep 2004 07:39:19 +0000 (07:39 -0000)]
EventArgs and EventHandlers needed by ListView Control.

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

19 years ago2004-09-22 John Luke <john.luke@gmail.com>
John Luke [Wed, 22 Sep 2004 22:40:11 +0000 (22:40 -0000)]
2004-09-22  John Luke  <john.luke@gmail.com>

        * outline.cs: use simpler IsDefined method
        for checking params and [Flags]

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

19 years ago- Implemented DockPadding property
Peter Dennis Bartok [Wed, 22 Sep 2004 20:12:45 +0000 (20:12 -0000)]
- Implemented DockPadding property
- Implemented AutoScroll property
- Implemented AutoScrollMargin property
- Implemented AutoScrollMinSize property
- Implemented AutoScrollPosition property
- Implemented DisplayRectangle property (still incomplete)
- Implemented CreateParams property
- Implemented HScroll property
- Implemented VScroll property
- Implemented OnVisibleChanged property

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

19 years ago- Added Form.ControllCollection class
Peter Dennis Bartok [Wed, 22 Sep 2004 20:09:44 +0000 (20:09 -0000)]
- Added Form.ControllCollection class
- Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  RemoveOwnedForm (still incomplete, missing on-top and common
  minimize/maximize behaviour)
- Added StartPosition property (still incomplete, does not use when
  creating the form)
- Added ShowDialog() methods (still incomplete, missing forcing the dialog
  modal)

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

19 years ago- Added message loop for modal dialogs
Peter Dennis Bartok [Wed, 22 Sep 2004 20:05:41 +0000 (20:05 -0000)]
- Added message loop for modal dialogs

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

19 years ago- Fixed wrong types for events
Peter Dennis Bartok [Wed, 22 Sep 2004 20:02:40 +0000 (20:02 -0000)]
- Fixed wrong types for events

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

19 years ago- Fixed wrong values
Peter Dennis Bartok [Wed, 22 Sep 2004 20:01:21 +0000 (20:01 -0000)]
- Fixed wrong values

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

19 years ago * ConstructionCall.cs: Added a Proxy property (which is the proxy that
Lluis Sanchez [Wed, 22 Sep 2004 19:33:18 +0000 (19:33 -0000)]
* ConstructionCall.cs: Added a Proxy property (which is the proxy that
  will reference the object being created).
* StackBuilderSink.cs: Take into account the forceInternalExecute
  parameter.

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

19 years ago * RemotingProxy.cs: When attaching a CBO identity, assign the proxy to
Lluis Sanchez [Wed, 22 Sep 2004 19:32:49 +0000 (19:32 -0000)]
* RemotingProxy.cs: When attaching a CBO identity, assign the proxy to
  be used as "this" for method calls.

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

19 years ago * Context.cs: In CreateServerObjectSinkChain, added a parameter to
Lluis Sanchez [Wed, 22 Sep 2004 19:32:13 +0000 (19:32 -0000)]
* Context.cs: In CreateServerObjectSinkChain, added a parameter to
  specify that messages must be dispatched to the target object using
  InternalExecute. Usually if the target is a proxy, the sink uses
  RealProxy.Invoke to dispatch the method. This can't be done for local
  CBOs since we would loop for ever.

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

19 years ago * ActivationServices.cs: In Activate, assign the proxy to the ctor
Lluis Sanchez [Wed, 22 Sep 2004 19:31:25 +0000 (19:31 -0000)]
* ActivationServices.cs: In Activate, assign the proxy to the ctor
  message. In CreateInstanceFromMessage if the object being created
  is a CBO, use the provided proxy as "this" when calling the ctor.

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

19 years ago * RemotingServices.cs: In InternalExecute, use MethodBase instead
Lluis Sanchez [Wed, 22 Sep 2004 19:30:55 +0000 (19:30 -0000)]
* RemotingServices.cs: In InternalExecute, use MethodBase instead
  of MonoMethod, so it can be also used for running constructors.
* ServerIdentity.cs: Added methods for getting and setting the client
  proxy in ClientActivatedIdentity. This is needed for CBOs, since
  messages need to be dispatched using the proxy as "this", not the
  real object.

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

19 years ago2004-09-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 22 Sep 2004 19:28:27 +0000 (19:28 -0000)]
2004-09-22  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs: Binary, use ResolveFieldAccess only in case the operator is JSToken.AccessField.

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

19 years ago2004-09-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 22 Sep 2004 19:19:13 +0000 (19:19 -0000)]
2004-09-22  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Parser.cs: use ToJSToken to set the operator properly.

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

19 years ago2004-09-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 22 Sep 2004 19:17:15 +0000 (19:17 -0000)]
2004-09-22  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* FunctionDeclaration.cs: delete spaces.

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

19 years ago * ThreadTest.cs, MutexTest.cs: Don't leave any thread alive, even if the
Lluis Sanchez [Wed, 22 Sep 2004 19:06:50 +0000 (19:06 -0000)]
* ThreadTest.cs, MutexTest.cs: Don't leave any thread alive, even if the
thread fails. Added a timeout to active waits.

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

19 years agoText is never null
Jackson Harper [Wed, 22 Sep 2004 18:01:28 +0000 (18:01 -0000)]
Text is never null

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

19 years agoupdate
Marek Safar [Wed, 22 Sep 2004 17:42:39 +0000 (17:42 -0000)]
update

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

19 years ago2004-09-22 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 22 Sep 2004 17:40:50 +0000 (17:40 -0000)]
2004-09-22  Marek Safar  <marek.safar@seznam.cz>

* class.cs (MemberBase.IsTypePermitted): New protected
method for checking error CS0610.

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

19 years agoFixed some code style issues.
Paolo Molaro [Wed, 22 Sep 2004 17:14:53 +0000 (17:14 -0000)]
Fixed some code style issues.

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

19 years agoNew test, not yet working.
Martin Baulig [Wed, 22 Sep 2004 16:54:45 +0000 (16:54 -0000)]
New test, not yet working.

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

19 years agoupdate
Marek Safar [Wed, 22 Sep 2004 16:37:49 +0000 (16:37 -0000)]
update

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

19 years ago2004-09-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Sep 2004 16:33:42 +0000 (16:33 -0000)]
2004-09-22  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.LookupGenericTypeContainer): New
public method; like LookupTypeContainer, but also works for
generic instances.

* report.cs (Report.SymbolRelatedToPreviousError): Use
TypeManager.LookupGenericTypeContainer().

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

19 years ago2004-09-22 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 22 Sep 2004 16:32:53 +0000 (16:32 -0000)]
2004-09-22  Marek Safar  <marek.safar@seznam.cz>

* class.cs (TypeContainer.HasExplicitLayout): New property
Returns whether container has StructLayout attribute set Explicit.
(FieldMember): New abstract class for consts and fields.
(FieldMember.ApplyAttributeBuilder): Add error 636 and 637 report.
(Field): Reuse FieldMember.

* const.cs (Const): Reuse FieldMember.

* rootcontext.cs: EmitConstants call moved to class.

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

19 years ago2004-09-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Sep 2004 16:23:49 +0000 (16:23 -0000)]
2004-09-22  Martin Baulig  <martin@ximian.com>

* test-298.cs: New test, already in gmcs.

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

19 years ago2004-09-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Sep 2004 16:22:37 +0000 (16:22 -0000)]
2004-09-22  Martin Baulig  <martin@ximian.com>

Thanks to Peter Sestoft for this bug report.

* expression.cs (Conditional): If both the `trueExpr' and the
`falseExpr' is a NullLiteral, return a NullLiteral.

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

19 years ago2004-09-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Sep 2004 16:02:46 +0000 (16:02 -0000)]
2004-09-22  Martin Baulig  <martin@ximian.com>

* gen-78.cs: New test for #65521.

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

19 years ago2004-09-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Sep 2004 16:00:40 +0000 (16:00 -0000)]
2004-09-22  Martin Baulig  <martin@ximian.com>

* statement.cs (Foreach.EmitCollectionForeach): If we're in an
iterator, use `enumerator.EmitThis()' instead of `ec.EmitThis()'
for the "get_Current" call.

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

19 years agoWed Sep 22 19:06:02 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 22 Sep 2004 15:53:43 +0000 (15:53 -0000)]
Wed Sep 22 19:06:02 CEST 2004 Paolo Molaro <lupus@ximian.com>

* interp.c: updates for stack walk interface.

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

19 years agoWed Sep 22 19:03:20 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 22 Sep 2004 15:53:29 +0000 (15:53 -0000)]
Wed Sep 22 19:03:20 CEST 2004 Paolo Molaro <lupus@ximian.com>

* mini.h, exceptions-ppc.c, exceptions-s390.c, exceptions-s390x.c,
mini-exceptions.c: updates for changed stack walk interface.

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

19 years agoWed Sep 22 19:04:32 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 22 Sep 2004 15:53:26 +0000 (15:53 -0000)]
Wed Sep 22 19:04:32 CEST 2004 Paolo Molaro <lupus@ximian.com>

* class-internals.h, icall.c, loader.c, loader.h: added a faster stack
walk which doesn't supply the IL offset.

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

19 years agoSomehow this line disappeared during one of the last mergings ...
Martin Baulig [Wed, 22 Sep 2004 15:42:33 +0000 (15:42 -0000)]
Somehow this line disappeared during one of the last mergings ...

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