mono.git
20 years agoThu Apr 29 13:50:51 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 29 Apr 2004 11:14:03 +0000 (11:14 -0000)]
Thu Apr 29 13:50:51 CEST 2004 Paolo Molaro <lupus@ximian.com>

* exceptions-ppc.c, mini-ppc.h, mini-ppc.c: fixed localloc
and prolog/epilog for methods that use it. Allow
enough param area room for varargs methods. Fix miguel's
breakage in exception handling.

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

20 years ago * enum.cs: bug fixing - setting one enum member to another
Anirban Bhattacharjee [Thu, 29 Apr 2004 11:07:53 +0000 (11:07 -0000)]
 * enum.cs: bug fixing - setting one enum member to another

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

20 years agoRefactor Attribute.ApplyAttributes.
Raja R Harinath [Thu, 29 Apr 2004 11:03:59 +0000 (11:03 -0000)]
Refactor Attribute.ApplyAttributes.
* attribute.cs (Attributable): New base class for objects that can
have Attributes applied on them.
(Attribute): Make AttributeUsage fields public.
(Attribute.GetFieldValue, Attribute.GetMarshal): Make non-static.
(Attribute.IsInternalCall): New property.
(Attribute.UsageAttr): Convert to a public read-only property.
(Attribute.CheckAttributeType): Use a DeclSpace, not an EmitContext.
(Attribute.ResolveType, Attribute.Resolve)
(Attribute.ScanForIndexerName): Update to reflect changes.
(Attribute.CheckAttributeTarget): Re-format.
(Attribute.ApplyAttributes): Refactor, to various
Attributable.ApplyAttributeBuilder methods.
* decl.cs (MemberCore): Make Attributable.
* class.cs (Accessor): Make Attributable.
(MethodData.ApplyAttributes): Use proper attribute types, not
attribute names.
(TypeContainer.LabelParameters): Pass Parameter to ApplyAttributes.
(TypeContainer.ApplyAttributeBuilder)
(Method.ApplyAttributeBuilder, Constructor.ApplyAttributeBuilder)
(Field.ApplyAttributeBuilder, Accessor.ApplyAttributeBuilder)
(PropertyBase.ApplyAttributeBuilder, Event.ApplyAttributeBuilder)
(Operator.ApplyAttributeBuilder): New factored-out methods.
* const.cs (Const.ApplyAttributeBuilder): Likewise.
* delegate.cs (Delegate.ApplyAttributeBuilder): Likewise.
* enum.cs (Enum.ApplyAttributeBuilder): Likewise.
* parameter.cs (ParameterBase): New Attributable base class
that can also represent Return types.
(Parameter): Update to the changes.

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

20 years ago2004-04-29 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 29 Apr 2004 10:50:23 +0000 (10:50 -0000)]
2004-04-29 Marek Safar <marek.safar@seznam.cz>

* cs-11.cs: Renamed to cs1501-5.cs.

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

20 years ago(MethodResponse.GetOutArg): Make reference to _args null-safe.
Raja R Harinath [Thu, 29 Apr 2004 10:28:56 +0000 (10:28 -0000)]
(MethodResponse.GetOutArg): Make reference to _args null-safe.

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

20 years agoOoops, wrong extension.
Paolo Molaro [Thu, 29 Apr 2004 10:24:39 +0000 (10:24 -0000)]
Ooops, wrong extension.

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

20 years ago(MethodResponse.OutArgCount): Make reference
Raja R Harinath [Thu, 29 Apr 2004 10:12:47 +0000 (10:12 -0000)]
(MethodResponse.OutArgCount): Make reference
to _args null-safe.

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

20 years ago* UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint...
Boris Kirzner [Thu, 29 Apr 2004 10:02:04 +0000 (10:02 -0000)]
* UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if constraint is defined on single column.

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

20 years ago2004-04-29 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 29 Apr 2004 10:01:20 +0000 (10:01 -0000)]
2004-04-29 Marek Safar <marek.safar@seznam.cz>

* cs0629.cs,
* cs1667-3.cs: 2 new error tests.

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

20 years agoThu Apr 29 12:06:51 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 29 Apr 2004 09:28:52 +0000 (09:28 -0000)]
Thu Apr 29 12:06:51 CEST 2004 Paolo Molaro <lupus@ximian.com>

* Makefile.am: run genmdesc only on current arch.

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

20 years ago * enum.cs:
Anirban Bhattacharjee [Thu, 29 Apr 2004 09:08:59 +0000 (09:08 -0000)]
 * enum.cs:
 * expression.cs:
          Implemented check for access modifier in enum

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

20 years ago2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 29 Apr 2004 08:17:55 +0000 (08:17 -0000)]
2004-04-29  Atsushi Enomoto  <atsushi@ximian.com>

* DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
  not ArgumentException (maybe changed after 1.1).

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

20 years ago2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 29 Apr 2004 08:01:47 +0000 (08:01 -0000)]
2004-04-29  Atsushi Enomoto  <atsushi@ximian.com>

* DataRow.cs : When Column was added and it was AutoIncrement column,
  it extended the item object array incorrectly.
  (Plus tiny comment and incorrect indentation fix.)

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

20 years ago2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 29 Apr 2004 07:43:45 +0000 (07:43 -0000)]
2004-04-29  Atsushi Enomoto <atsushi@ximian.com>

* DataRowTest.cs : Added a test for auto increment column and item
  integrity (it caused index out of range exception).

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

20 years ago * driver.cs: Prefer the corlib system version when looking for
Jackson Harper [Thu, 29 Apr 2004 06:57:45 +0000 (06:57 -0000)]
    * driver.cs: Prefer the corlib system version when looking for
assemblies in the GAC. This is still a hack, but its a better hack
now.

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

20 years ago2004-04-29 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 29 Apr 2004 06:49:16 +0000 (06:49 -0000)]
2004-04-29  Marek Safar  <marek.safar@seznam.cz>

* decl.cs, enum.cs: Improved error 3005 reporting.

* report.cs (SymbolRelatedToPreviousError): New method for error reporting.
        (related_symbols): New private member for list of symbols
related to reported error/warning.

* tree.cs: Do not use now obsolete Report.LocationOfPreviousError.

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

20 years ago* runtime/Makefile.am (SUBDIRS): Build here before building subdirs.
Raja R Harinath [Thu, 29 Apr 2004 06:43:25 +0000 (06:43 -0000)]
* runtime/Makefile.am (SUBDIRS): Build here before building subdirs.
* runtime/net_1_1/Makefile.am (gacutil): Pick from current tree.
* runtime/net_2_0/Makefile.am: Likewise.

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

20 years ago* runtime/Makefile.am (monobins_DATA): Add gacutil.exe.
Raja R Harinath [Thu, 29 Apr 2004 06:33:22 +0000 (06:33 -0000)]
* runtime/Makefile.am (monobins_DATA): Add gacutil.exe.
* runtime/net_1_1/Makefile.am (all-local): Copy
$(gac_assemblies_list) here.
(install-data-local): Install dll from $(srcdir).
* runtime/net_2_0/Makefile.am: Likewise.

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

20 years ago* MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
Boris Kirzner [Thu, 29 Apr 2004 06:24:24 +0000 (06:24 -0000)]
* MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.

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

20 years ago* DataRow.cs : Bug fix in CopyValuesToRow().
Boris Kirzner [Thu, 29 Apr 2004 06:08:25 +0000 (06:08 -0000)]
* DataRow.cs : Bug fix in CopyValuesToRow().

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

20 years ago* UniqueConstraint.cs : There is no reason to mark constraint's columns as unique...
Boris Kirzner [Thu, 29 Apr 2004 05:59:30 +0000 (05:59 -0000)]
* UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because  each of the columns should not be unique, but only all the constraint's columns together.

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

20 years ago * library.make: Use the proper runtime, make sure gacutil is
Jackson Harper [Thu, 29 Apr 2004 05:58:20 +0000 (05:58 -0000)]
    * library.make: Use the proper runtime, make sure gacutil is
built.

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

20 years ago($(gac_assemblies_list)): Pick libraries from 'class/lib/default',
Raja R Harinath [Thu, 29 Apr 2004 05:54:01 +0000 (05:54 -0000)]
($(gac_assemblies_list)): Pick libraries from 'class/lib/default',
not 'class/lib/net_1_1'.

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

20 years ago* Makefile.am (fullbuild): Update to changes in tree layout.
Raja R Harinath [Thu, 29 Apr 2004 05:36:41 +0000 (05:36 -0000)]
* Makefile.am (fullbuild): Update to changes in tree layout.
* runtime/net_1_1/Makefile.am (install-data-local): Allow empty
$(gac_assemblies_list).

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

20 years ago * library.make: Install these bad actors to the GAC.
Jackson Harper [Thu, 29 Apr 2004 05:30:04 +0000 (05:30 -0000)]
    * library.make: Install these bad actors to the GAC.

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

20 years agoAdd 2.0 version attributes
Jackson Harper [Thu, 29 Apr 2004 05:19:58 +0000 (05:19 -0000)]
Add 2.0 version attributes

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

20 years ago2004-04-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Apr 2004 04:40:33 +0000 (04:40 -0000)]
2004-04-29  Martin Baulig  <martin@ximian.com>

* dll-2.cs, prog-2.cs: New test for #56178.

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

20 years ago2004-04-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Apr 2004 04:31:01 +0000 (04:31 -0000)]
2004-04-29  Martin Baulig  <martin@ximian.com>

* ecore.cs (Expression.Constantify): If we're an enum and
TypeManager.TypeToCoreType() doesn't give us another type, use
t.UnderlyingSystemType.  Fixes #56178.

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

20 years ago2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 29 Apr 2004 04:11:26 +0000 (04:11 -0000)]
2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Environment.cs: implemented GetLogicalDrives.

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

20 years ago2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 29 Apr 2004 04:10:40 +0000 (04:10 -0000)]
2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* io-layer/io.[ch]: implemented GetLogicalDriveStrings.
* metadata/icall.c: fix return value of get_global_assembly_cache.
Implemented Environment.GetLogicalDrives.

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

20 years ago2004-04-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Apr 2004 04:02:54 +0000 (04:02 -0000)]
2004-04-29  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.SetupCacheForInterface): Look over all our
interfaces and for each interface, only add members directly
declared in that interface.  Fixes #53255.

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

20 years ago2004-04-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Apr 2004 03:57:38 +0000 (03:57 -0000)]
2004-04-29  Martin Baulig  <martin@ximian.com>

* test-245.cs: New test for #53255.

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

20 years ago * runtime/net_1_1/Makefile.am: Grab libs from proper directory, do
Jackson Harper [Thu, 29 Apr 2004 03:55:46 +0000 (03:55 -0000)]
    * runtime/net_1_1/Makefile.am: Grab libs from proper directory, do
not assume gacutil is installed.
* runtime/net_2_0/Makefile.am: Do not assume gacutil is
installed.

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

20 years ago2004-04-29 Todd Berman <tberman@sevenl.net>
Todd Berman [Thu, 29 Apr 2004 03:39:15 +0000 (03:39 -0000)]
2004-04-29  Todd Berman  <tberman@sevenl.net>

        * gacutil.cs: Add assembly name to installation message.

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

20 years ago * configure.in: Add new Makefile.amS
Jackson Harper [Thu, 29 Apr 2004 02:27:58 +0000 (02:27 -0000)]
    * configure.in: Add new Makefile.amS

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Apr 2004 01:30:57 +0000 (01:30 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* test-244.cs: New test for #52588.

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Apr 2004 01:30:40 +0000 (01:30 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* expression.cs (ConditionalLogicalOperator): Use a temporary
variable for `left' to avoid that we evaluate it more than once;
bug #52588.

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

20 years ago2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 29 Apr 2004 01:22:40 +0000 (01:22 -0000)]
2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* exceptions-x86.c:
* mini-x86.h: fix the build on windows.

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

20 years ago * Makefile: build the net_1_1 and net_2_0 profiles by
Jackson Harper [Thu, 29 Apr 2004 01:01:17 +0000 (01:01 -0000)]
    * Makefile: build the net_1_1 and net_2_0 profiles by
          default.

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

20 years agoundo. it doesn't fix anything
Gonzalo Paniagua Javier [Thu, 29 Apr 2004 00:50:24 +0000 (00:50 -0000)]
undo. it doesn't fix anything

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

20 years ago * data/Makefile.am: cleanup browscap.ini
Jackson Harper [Thu, 29 Apr 2004 00:49:51 +0000 (00:49 -0000)]
    * data/Makefile.am: cleanup browscap.ini

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

20 years ago * runtime/Makefile.am: libs are now in profile dependant
Jackson Harper [Thu, 29 Apr 2004 00:37:11 +0000 (00:37 -0000)]
    * runtime/Makefile.am: libs are now in profile dependant
directories.
* runtime/net_1_1/Makefile.am: Install and Uninstall the .net 1.1
libs to the GAC.
* runtime/net_2_0/Makefile.am: Install and Uninstall the .net 2.0
libs to the GAC.

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

20 years ago2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 29 Apr 2004 00:35:12 +0000 (00:35 -0000)]
2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mini-arch.h: fix the build on windows.

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Apr 2004 00:18:42 +0000 (00:18 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* expression.cs (ComposedCast.DoResolveAsTypeStep): Don't allow
`void[]' (CS1547).

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

20 years agoNew tests.
Martin Baulig [Thu, 29 Apr 2004 00:17:54 +0000 (00:17 -0000)]
New tests.

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Apr 2004 00:10:46 +0000 (00:10 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* statement.cs (LocalInfo.Resolve): Check whether the type is not
void (CS1547).

* class.cs (MemberBase.CheckParameters, FieldBase.DoDefine): Check
whether the type is not void (CS1547).

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Apr 2004 00:10:32 +0000 (00:10 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* expression.cs (Unary.DoResolveLValue): Override this and report
CS0131 for anything but Operator.Indirection.

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

20 years agoCouple of other warnings out
Miguel de Icaza [Thu, 29 Apr 2004 00:01:10 +0000 (00:01 -0000)]
Couple of other warnings out

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

20 years ago2004-04-28 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Thu, 29 Apr 2004 00:00:17 +0000 (00:00 -0000)]
2004-04-28  Bernie Solomon  <bernard@ugsolutions.com>

* configure.in: reword message re EGD support
now it is there

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

20 years agoremove a few warnings and dead code
Miguel de Icaza [Wed, 28 Apr 2004 23:59:00 +0000 (23:59 -0000)]
remove a few warnings and dead code

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

20 years agoIndendation fixes, get PPC up to speed to latest API changes
Miguel de Icaza [Wed, 28 Apr 2004 23:50:58 +0000 (23:50 -0000)]
Indendation fixes, get PPC up to speed to latest API changes

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

20 years agoSencond part of the patch
Miguel de Icaza [Wed, 28 Apr 2004 23:49:52 +0000 (23:49 -0000)]
Sencond part of the patch

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

20 years agoNew test.
Martin Baulig [Wed, 28 Apr 2004 23:46:27 +0000 (23:46 -0000)]
New test.

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 23:29:13 +0000 (23:29 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

Committing a patch from Ben Maurer; see bug #50820.

* typemanager.cs (TypeManager.FilterWithClosure): Added CS1540
check for classes.

* ecore.cs (Expression.MemberLookupFailed): Added CS1540 check for
classes.

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

20 years ago2004-04-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 28 Apr 2004 23:27:28 +0000 (23:27 -0000)]
2004-04-28  Miguel de Icaza  <miguel@ximian.com>

* Applied patch from Atsushi Enomoto that allows Synchronized
writers to have a `dont close' flag, this fixes 52094

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

20 years ago2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 28 Apr 2004 23:03:59 +0000 (23:03 -0000)]
2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* config.h.in:
* configure.in: check for field name in 'union sigval'.

* mono/io-layer/io.c:
* mono/io-layer/sockets.c: use the field name from configure when
accessing sigval pointer field. Makes this work on the Mac.

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

20 years ago * outline.cs: Property.GetGetMethod() does not return the method if it
Lluis Sanchez [Wed, 28 Apr 2004 22:29:15 +0000 (22:29 -0000)]
* outline.cs: Property.GetGetMethod() does not return the method if it
is private (it did until now because of a bug). Make sure it works as it
worked before the fix.

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

20 years ago * typemanager.cs: Property.GetGetMethod() does not return the method if it
Lluis Sanchez [Wed, 28 Apr 2004 22:26:17 +0000 (22:26 -0000)]
* typemanager.cs: Property.GetGetMethod() does not return the method if it
is private (it did until now because of a bug). Make sure it works as it
worked before the fix.

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

20 years ago * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
Lluis Sanchez [Wed, 28 Apr 2004 22:14:53 +0000 (22:14 -0000)]
* MonoProperty.cs: Property.GetGetMethod() does not return the method if it
is private (it did until now because of a bug). Make sure it works as it
worked before the fix.

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

20 years ago * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not return
Lluis Sanchez [Wed, 28 Apr 2004 22:13:25 +0000 (22:13 -0000)]
* MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not return
the method if it is private (it did until now because of a bug). Make sure
it works as it worked before the fix.
* Type.cs: Implemented FilterAttribute delegate.

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

20 years ago* Makefile: Removed unneeded System.Web.Services dependency.
Lluis Sanchez [Wed, 28 Apr 2004 22:02:28 +0000 (22:02 -0000)]
* Makefile: Removed unneeded System.Web.Services dependency.

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

20 years ago2004-04-28 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 28 Apr 2004 21:54:04 +0000 (21:54 -0000)]
2004-04-28  Bernie Solomon  <bernard@ugsolutions.com>

* atomic.c: (InterlockedExchange) fix typo for
mutex name

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

20 years ago2004-04-28 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 28 Apr 2004 21:51:04 +0000 (21:51 -0000)]
2004-04-28  Bernie Solomon  <bernard@ugsolutions.com>

* rand.c: try and talk to egd or prngd
for random bytes if opening devices fail.

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 20:48:50 +0000 (20:48 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* statement.cs (Block.LookupLabel): Also lookup in implicit child blocks.
(Block.AddLabel): Call DoLookupLabel() to only search in the
current block.

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

20 years ago2004-04-28 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 28 Apr 2004 20:46:37 +0000 (20:46 -0000)]
2004-04-28  Bernie Solomon  <bernard@ugsolutions.com>

* transform.c: Make sure ENSURE_I4 does something
32 bit machines too.
(mono_interp_transform_method): allow some stack
space for tracing to work.

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

20 years ago * TypeDescriptor.cs: Do not return attributes that have the same TypeID.
Lluis Sanchez [Wed, 28 Apr 2004 20:21:55 +0000 (20:21 -0000)]
* TypeDescriptor.cs: Do not return attributes that have the same TypeID.
This fixes bug #57655.

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

20 years agoSmall fix.
Martin Baulig [Wed, 28 Apr 2004 19:54:28 +0000 (19:54 -0000)]
Small fix.

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 19:44:09 +0000 (19:44 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* cfold.cs (ConstantFold.BinaryFold): Added special support for
comparing StringConstants and NullLiterals in Equality and Inequality.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 19:26:21 +0000 (19:26 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Now use the mono.pub key for delay-signing.

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

20 years agoAdding it again as a binary.
Martin Baulig [Wed, 28 Apr 2004 19:25:58 +0000 (19:25 -0000)]
Adding it again as a binary.

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

20 years agoRemoving.
Martin Baulig [Wed, 28 Apr 2004 19:25:43 +0000 (19:25 -0000)]
Removing.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 19:24:42 +0000 (19:24 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Data.Tds.dll.sources: Added Assembly/AssemblyInfo.cs and
Locale.cs to the build.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 19:24:01 +0000 (19:24 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Added
* ChangeLog: Added
* Locale.cs: Added

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

20 years ago2004-04-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 28 Apr 2004 19:15:05 +0000 (19:15 -0000)]
2004-04-28  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke2.cs libtest.c: New tests for long fields inside structs.

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

20 years agoAdded our Mono public key.
Martin Baulig [Wed, 28 Apr 2004 19:13:09 +0000 (19:13 -0000)]
Added our Mono public key.

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

20 years ago * driver.cs: Attempt to load referenced assemblies from the
Jackson Harper [Wed, 28 Apr 2004 19:01:06 +0000 (19:01 -0000)]
    * driver.cs: Attempt to load referenced assemblies from the
GAC. This is the quick and dirty version of this method that
doesnt take into account versions and just takes the first
canidate found. Will be good enough for now as we will not have more
then one version installed into the GAC until I update this
method.

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

20 years ago2004-04-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 28 Apr 2004 18:53:13 +0000 (18:53 -0000)]
2004-04-28  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_load_type_info): Calculate the minimum
alignment for the type using the native alignment of its members
instead of using klass->min_align.

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

20 years agoDon't check for cycles in builtin types while compiling corlib.
Martin Baulig [Wed, 28 Apr 2004 18:46:32 +0000 (18:46 -0000)]
Don't check for cycles in builtin types while compiling corlib.

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

20 years ago* MessageFormatter.cs: Serialize Args, not OutArgs, like in MS.NET.
Lluis Sanchez [Wed, 28 Apr 2004 18:41:10 +0000 (18:41 -0000)]
* MessageFormatter.cs: Serialize Args, not OutArgs, like in MS.NET.

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

20 years ago * CADMessages.cs: Revert last change. It was ok.
Lluis Sanchez [Wed, 28 Apr 2004 18:39:26 +0000 (18:39 -0000)]
* CADMessages.cs: Revert last change. It was ok.
* MethodResponse.cs, ReturnMessage.cs: Handle output parameters in a
  different way. The message is constructed from an array that has all
  parameters, including input parameters (which will be set to null).
  The Args property returns all arguments. OutArgs returns only the
  output arguments, which are taken from the provided args list.

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

20 years ago * RemotingServices.cs: When create a ReturnMessage, provide an array with
Lluis Sanchez [Wed, 28 Apr 2004 18:37:47 +0000 (18:37 -0000)]
* RemotingServices.cs: When create a ReturnMessage, provide an array with
  all parameters, including input parameters.

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

20 years agono need to have gacutil.exe here. Reference System.Xml for EnumCheck.exe
Gonzalo Paniagua Javier [Wed, 28 Apr 2004 18:30:10 +0000 (18:30 -0000)]
no need to have gacutil.exe here. Reference System.Xml for EnumCheck.exe

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

20 years agoRemove conflict indicators.
Zoltan Varga [Wed, 28 Apr 2004 18:03:05 +0000 (18:03 -0000)]
Remove conflict indicators.

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

20 years ago2004-04-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 28 Apr 2004 18:02:23 +0000 (18:02 -0000)]
2004-04-28  Zoltan Varga  <vargaz@freemail.hu>

* metadata.c (mono_type_stack_size): Fix size of TYPEDBYREF.

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

20 years ago * scripts/Makefile.am:
Jackson Harper [Wed, 28 Apr 2004 17:53:53 +0000 (17:53 -0000)]
    * scripts/Makefile.am:
* scripts/gacutil.in: Add a gacutil script

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

20 years ago * Makefile: Add gacutil to the build
Jackson Harper [Wed, 28 Apr 2004 17:46:44 +0000 (17:46 -0000)]
    * Makefile: Add gacutil to the build

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

20 years agoOoops.
Martin Baulig [Wed, 28 Apr 2004 17:46:40 +0000 (17:46 -0000)]
Ooops.

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 17:21:02 +0000 (17:21 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.CheckStructCycles): New public
static method to check for cycles in the struct layout.

* rootcontext.cs (RootContext.PopulateTypes): Call
TypeManager.CheckStructCycles() for each TypeContainer.
[Note: We only need to visit each type once.]

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

20 years ago2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 28 Apr 2004 16:40:52 +0000 (16:40 -0000)]
2004-04-28  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* IntegerFormatter.cs: Prevent the use of the explicit static constuctor

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 16:32:17 +0000 (16:32 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* test-243.cs: New test for #57014.

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

20 years ago2004-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 16:31:50 +0000 (16:31 -0000)]
2004-04-27  Martin Baulig  <martin@ximian.com>

* test-154.cs: Added test case for #52625.

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 16:30:35 +0000 (16:30 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* constant.cs (StringConstant.Emit): Emit Ldnull if we're null.

* const.cs (Const.LookupConstantValue): Return a `bool' signalling
success and added `out object value'.  Use a `bool resolved' field
to check whether we've already been called rather than
`ConstantValue != null' since this breaks for NullLiterals.

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

20 years ago * expression.cs: fixed bug to get enum running
Anirban Bhattacharjee [Wed, 28 Apr 2004 15:54:48 +0000 (15:54 -0000)]
  * expression.cs: fixed bug to get enum running
  * enum.cs: handling several negative scenarios
             Changed several exception numbers
  * assign.cs: Changed exception number

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

20 years ago2004-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 28 Apr 2004 15:45:27 +0000 (15:45 -0000)]
2004-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DigestAuthenticationModule.cs: introduces new overridable method
GetUserByName(), which by default works exactly like it used to, but
inherited classes can implement their own version. Patch by Tambet Ingo.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 15:25:20 +0000 (15:25 -0000)]
2004-04-28  Sebastien Pouliot <sebastien@ximian.com>

* AssemblyInfo.cs: Re-activated ClsCompliant(true).

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:43:34 +0000 (14:43 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeDeformatter.cs: In sync with Mono.Security.dll version.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:42:20 +0000 (14:42 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* SequentialSearchPrimeGeneratorBase.cs: In sync with
Mono.Security.dll version.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:39:53 +0000 (14:39 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* X509SpcTest.cs: Commented tests as the root certificates aren't part
of the Mono trusted store.

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

20 years ago2004-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 28 Apr 2004 14:39:15 +0000 (14:39 -0000)]
2004-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* config.h.in:
* configure.in:
* mono/io-layer/io.c:
* mono/io-layer/sockets.c:
* mono/metadata/file-io.c:
* mono/metadata/socket-io.c: added check for sys/aio.h.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:36:44 +0000 (14:36 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* corlib.dll.sources: Added X509ChainStatusFlags, X509CRL, X509Store,
X509StoreManager, X509Stores, BasicConstraintsExtension,
KeyUsageExtension and SubjectKeyIdentifierExtension to the build.
Removed ITrustAnchors.cs, TestAnchors.cs and TrustAnchors from the
build.

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