mono.git
20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 08:08:24 +0000 (08:08 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* icall.c
(ves_icall_TypeBuilder_define_generic_parameter): Removed.
(ves_icall_MethodBuilder_define_generic_parameter): Removed.
(ves_icall_MonoGenericParam_initialize): Removed.
(monogenericparam_icalls): Removed.
(generictypeparambuilder_icalls): Added new table for
System.Reflection.Emit.GenericTypeParameterBuilder.

* reflection.c
(mono_reflection_define_generic_parameter): Removed.
(mono_reflection_initialize_generic_parameter): This is now called
from GenericTypeParameterBuilder's .ctor.

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

20 years agoAdded GenericTypeParameterBuilder
Martin Baulig [Wed, 7 Apr 2004 08:01:56 +0000 (08:01 -0000)]
Added GenericTypeParameterBuilder

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 08:01:43 +0000 (08:01 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoGenericParam): Removed.

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

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

* OpCodes.cs (OpCodes.Constrained): New opcode.

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

20 years ago2004-04-07 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 7 Apr 2004 06:46:47 +0000 (06:46 -0000)]
2004-04-07  Marek Safar  <marek.safar@seznam.cz>

* Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.

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

20 years ago2004-04-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 7 Apr 2004 05:47:31 +0000 (05:47 -0000)]
2004-04-07  Miguel de Icaza  <miguel@ximian.com>

* rootcontext.cs: Add new types to the boot resolution.

* ecore.cs (TypeExpr.CanInheritFrom): Inheriting from
MulticastDelegate is not allowed.

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

20 years ago2004-04-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 7 Apr 2004 05:36:16 +0000 (05:36 -0000)]
2004-04-07  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs: Add new types to lookup: System.TypedReference
and ArgIterator.

* paramter.cs (Parameter.Resolve): if we are an out/ref parameter,
check for TypedReference or ArgIterator, they are not allowed.

* ecore.cs (BoxedCast): Set the eclass to ExprClass.Value, this
makes us properly catch 1510 in some conditions (see bug 56016 for
details).

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

20 years agoSmall patch from Gert to match MS
Gonzalo Paniagua Javier [Wed, 7 Apr 2004 04:54:21 +0000 (04:54 -0000)]
Small patch from Gert to match MS

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

20 years agoUse PNG instead of BMP.
Ravindra [Wed, 7 Apr 2004 04:34:51 +0000 (04:34 -0000)]
Use PNG instead of BMP.

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

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

* class.c (mono_class_init): Don't inflate nested classes in a
generic instance.
(mono_type_get_name_recurse): Include the generic arguments for
generic instances and generic type declarations.
(inflate_generic_type): Correctly inflate MONO_TYPE_SZARRAY.
(_mono_class_get_instantiation_name): Removed.
(mono_class_create_generic): Always use `gklass->name' as our name.

* class.h (MonoGenericInst): Removed `nested_in', and `nested'.

* icall.c (ves_icall_MonoGenericInst_GetDeclaringType): Removed.
(ves_icall_MonoGenericInst_GetNestedTypes): Removed.
(ves_icall_MonoMethod_GetGenericParameters): Renamed to
ves_icall_MonoMethod_GetGenericArguments() and correctly handle
closed generic methods here.

* reflection.c
(mono_reflection_generic_inst_get_nested_types): Removed.
(inflate_mono_method): Copy the generic parameters from the
MonoMethodHeader into out MonoGenericMethod.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 03:57:02 +0000 (03:57 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* MethodBase.cs
(MethodBase.GetGenericParameters): Renamed to GetGenericArguments().

* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
(MonoGenericInst.GetNestedTypes): Just call
`generic_type.GetNestedTypes (bf)' here.

* MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
include the type arguments.

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

20 years ago2004-04-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 7 Apr 2004 03:54:06 +0000 (03:54 -0000)]
2004-04-07  Martin Baulig  <martin@ximian.com>

* class.cs
(MethodCore.GenericMethod): Moved this field here from Method.
(MethodCore.IsDuplicateImplementation): Take the number of type
parameters into account if we're a generic method.

* expression.cs (Invocation.InferTypeArguments): Don't return true
if `arguments' is null; we still need to check whether we actually
don't need to infer anything in this case.
(MemberAccess): Merged the functionality from GenericMemberAccess
into this class.

* generic.cs (GenericMemberAccess): Removed.

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

20 years agoTry this as well.
Duncan Mak [Wed, 7 Apr 2004 03:41:08 +0000 (03:41 -0000)]
Try this as well.

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

20 years agoAdded a case where the sweep angle is greater than 360
Duncan Mak [Wed, 7 Apr 2004 03:28:09 +0000 (03:28 -0000)]
Added a case where the sweep angle is greater than 360
degrees.

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

20 years ago* GraphicsPath.cs (GraphicsPath): Filled out the missing
Duncan Mak [Wed, 7 Apr 2004 02:19:42 +0000 (02:19 -0000)]
* GraphicsPath.cs (GraphicsPath): Filled out the missing
constructors.
(ConvertPoints): New helper function. Converts a Point array to a
PointF array.

* gdipFunctions.cs (GdipCreatePath2): Fixed signature.

* pie.cs: Save to PNG, instead of BMP.

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

20 years ago2004-04-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 6 Apr 2004 23:40:35 +0000 (23:40 -0000)]
2004-04-06  Martin Baulig  <martin@ximian.com>

* row-indexes.h
(MONO_GENERICPARAM_DEPRECATED_CONSTRAINT): Removed.

* metadata.c (GenericParamSchema): Removed "DeprecatedConstraint".

* reflection.c (build_compressed_metadata): If we have any entries
in the GenericParam, MethodSpec or GenericParamConstraint tables,
set the header version to 1.1.

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

20 years ago2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 6 Apr 2004 21:40:18 +0000 (21:40 -0000)]
2004-04-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mini.c: removed a few unused vars and extra whitespace.

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

20 years ago2004-04-06 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 6 Apr 2004 21:35:06 +0000 (21:35 -0000)]
2004-04-06  Bernie Solomon  <bernard@ugsolutions.com>

* CryptoConvert.cs: update from corlib version
with endian fixes.

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

20 years ago2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 6 Apr 2004 21:33:21 +0000 (21:33 -0000)]
2004-04-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: don't try-run the tests for nptl and/or sigaltstack
if they are disabled in the command line.

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

20 years agoOoops.
Martin Baulig [Tue, 6 Apr 2004 21:32:28 +0000 (21:32 -0000)]
Ooops.

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

20 years ago2004-04-06 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 6 Apr 2004 21:30:46 +0000 (21:30 -0000)]
2004-04-06  Bernie Solomon  <bernard@ugsolutions.com>

* CryptoConvert.cs: Add private methods to always
handle data as little endian (GetBytesLE, ToInt32LE, ToUInt32LE).

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

20 years agoReverted the table change for the moment.
Martin Baulig [Tue, 6 Apr 2004 21:26:07 +0000 (21:26 -0000)]
Reverted the table change for the moment.

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

20 years agoadded files
Andreas N [Tue, 6 Apr 2004 20:20:53 +0000 (20:20 -0000)]
added files

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

20 years ago2004-04-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 6 Apr 2004 20:20:39 +0000 (20:20 -0000)]
2004-04-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

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

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

20 years ago2004-04-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 6 Apr 2004 20:18:47 +0000 (20:18 -0000)]
2004-04-06  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_init): If we're a generic instance,
initialize our nested classes, too.
(_mono_class_get_instantiation_name): Deal with the new `!%d'
suffix.

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

20 years ago2004-04-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 6 Apr 2004 20:17:37 +0000 (20:17 -0000)]
2004-04-06  Martin Baulig  <martin@ximian.com>

* row-indexes.h
(MONO_GENERICPARAM_DEPRECATED_CONSTRAINT): Removed.

* metadata.c (GenericParamSchema): Removed "DeprecatedConstraint".

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

20 years ago2004-04-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 6 Apr 2004 20:11:24 +0000 (20:11 -0000)]
2004-04-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

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

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

20 years agoremoved
Andreas N [Tue, 6 Apr 2004 20:10:22 +0000 (20:10 -0000)]
removed

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

20 years agoadded files
Andreas N [Tue, 6 Apr 2004 20:09:58 +0000 (20:09 -0000)]
added files

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

20 years ago2004-04-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 6 Apr 2004 20:06:44 +0000 (20:06 -0000)]
2004-04-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* System.Management.dll.sources: Sorted, added assemblyinfos

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

20 years ago2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Apr 2004 20:02:33 +0000 (20:02 -0000)]
2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomain.cs: Added static to [ThreadStatic] _principal field.
Removed [ThreadStatic] for _principalPolicy (not required).

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

20 years ago2004-04-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 6 Apr 2004 20:01:27 +0000 (20:01 -0000)]
2004-04-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: also remove the fixme

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Apr 2004 19:13:42 +0000 (19:13 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* cs1548.pub: New file. Strongname file with only the public key.
* cs1548-3.cs: New file to test signing with a strongname containing
only the public key.

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

20 years ago * DiagnosticsConfigurationHandler.cs: If initializeData is provided, use the
Lluis Sanchez [Tue, 6 Apr 2004 19:05:13 +0000 (19:05 -0000)]
* DiagnosticsConfigurationHandler.cs: If initializeData is provided, use the
constructor that only takes one string as parameter to construct the
listener. The name is set using the Name property, not the constructor.

* TextWriterTraceListener.cs: In Write*, do nothing if no writer was
provided.

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

20 years ago2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 6 Apr 2004 18:57:13 +0000 (18:57 -0000)]
2004-04-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mono-mutex.h: move pthread_mutex_timedlock declaration to...
* mono-mutex.c: ...here. It was causing a warning that prevented
libgdiplus compilation.

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

20 years ago2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 6 Apr 2004 18:25:51 +0000 (18:25 -0000)]
2004-04-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Data/Constraint.cs:
* System.Data/DataColumnCollection.cs:
* System.Data/DataRelationCollection.cs:
* System.Data/DataRowCollection.cs:
* System.Data/DataTableCollection.cs:
* System.Data/InternalDataCollectionBase.cs:
* System.Data/Node.cs: CLS compliance for System.Data. Patch by Gert
Driesen. Fixes bug #56557.

* Assembly/AssemblyInfo.cs:
* System.Data.OleDb/OleDbPermissionAttribute.cs: missing bits from
Gert's patch.

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

20 years ago2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Apr 2004 17:16:15 +0000 (17:16 -0000)]
2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>

* StrongNameKeyPair.cs: Now returns a correct StrongName instance when
the ECMA "key" is used.

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

20 years ago2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Apr 2004 17:13:59 +0000 (17:13 -0000)]
2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>

* StrongName.cs: Added support for ECMA "key" to StringName(byte[])
constructor.

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

20 years agoregion samples
Jordi Mas i Hernandez [Tue, 6 Apr 2004 16:35:13 +0000 (16:35 -0000)]
region samples

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

20 years agofixes GetRegionScans
Jordi Mas i Hernandez [Tue, 6 Apr 2004 16:33:20 +0000 (16:33 -0000)]
fixes GetRegionScans

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

20 years ago * BufferedStream.cs: On Position change, do not reset the buffer if the
Lluis Sanchez [Tue, 6 Apr 2004 16:11:18 +0000 (16:11 -0000)]
* BufferedStream.cs: On Position change, do not reset the buffer if the
new position is in the limits of the buffer. This fixes #49403.

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

20 years ago2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 6 Apr 2004 15:53:26 +0000 (15:53 -0000)]
2004-04-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* process.c: quote the argument passed to the shell on windows.

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

20 years ago2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Apr 2004 14:59:20 +0000 (14:59 -0000)]
2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>

* StrongNameKeyPair.cs: Added support for ECMA "key".

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

20 years ago* SynchronizationAttributeTest.cs: Added test for Monitor.Exit.
Lluis Sanchez [Tue, 6 Apr 2004 14:42:59 +0000 (14:42 -0000)]
* SynchronizationAttributeTest.cs: Added test for Monitor.Exit.

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

20 years ago2003-04-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Apr 2004 14:34:50 +0000 (14:34 -0000)]
2003-04-06  Sebastien Pouliot  <sebastien@ximian.com>

* StrongNameKeyPairTest.cs: Added test case for ECMA "key".

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

20 years agoS/390 JIT
Neale Ferguson [Tue, 6 Apr 2004 14:29:48 +0000 (14:29 -0000)]
S/390 JIT

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

20 years ago * Monitor.cs: In Wait(), release the synchronization context when
Lluis Sanchez [Tue, 6 Apr 2004 14:11:22 +0000 (14:11 -0000)]
* Monitor.cs: In Wait(), release the synchronization context when
  exitContext is true.

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

20 years agoNote: Some functionality is (temporarily) lost from System.Drawing --
Vladimir Vukicevic [Tue, 6 Apr 2004 09:05:48 +0000 (09:05 -0000)]
Note: Some functionality is (temporarily) lost from System.Drawing --
reading bmp files is not yet implemented, and only png files can be
written.  Support for the rest will show up in the next few days.

* gdipFunctions.cs: Added stream delegate helpers for
stream loading/saving on linux

* Image.cs, Bitmap.cs: Converted to call into GDIPlus for
loading/saving image data.

* BitmapData.cs: synced up data structure with libgdiplus

* BmpCodec.cs, JPEGCodec.cs, PNGCodec.cs: Removed codec impls,
left just codecinfo getters; the codecs are in libgdiplus

* ImageCodecInfo.cs: removed encode/decode delegates

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

20 years agoCouple of Accessibility and Inheritence related test cases
Anirban Bhattacharjee [Tue, 6 Apr 2004 09:03:40 +0000 (09:03 -0000)]
Couple of Accessibility and Inheritence related test cases

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

20 years ago2004-04-06 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Tue, 6 Apr 2004 08:56:43 +0000 (08:56 -0000)]
2004-04-06 Anirban Bhattacharjee <banirban@novell.com>
        * class.cs:
        * ecore.cs:
        * expression.cs:
        * modifiers.cs:
        Changed/added serveral Accessibility related expections

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

20 years agoAnother one gone
Miguel de Icaza [Tue, 6 Apr 2004 05:31:02 +0000 (05:31 -0000)]
Another one gone

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

20 years agoRemove from build
Miguel de Icaza [Tue, 6 Apr 2004 05:29:38 +0000 (05:29 -0000)]
Remove from build

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

20 years ago2004-04-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 6 Apr 2004 05:29:23 +0000 (05:29 -0000)]
2004-04-06  Miguel de Icaza  <miguel@ximian.com>

* Guid.cs: Flag as Sequential.

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

20 years agoAdd
Miguel de Icaza [Tue, 6 Apr 2004 05:28:41 +0000 (05:28 -0000)]
Add

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

20 years agoRevert mistake
Miguel de Icaza [Tue, 6 Apr 2004 05:28:12 +0000 (05:28 -0000)]
Revert mistake

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

20 years agoAdded test
Miguel de Icaza [Tue, 6 Apr 2004 03:00:57 +0000 (03:00 -0000)]
Added test

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

20 years ago2004-04-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 6 Apr 2004 02:54:57 +0000 (02:54 -0000)]
2004-04-05  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Indexer.Define): Check indexername declaration

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

20 years ago2004-04-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Apr 2004 01:42:14 +0000 (01:42 -0000)]
2004-04-06  Atsushi Enomoto <atsushi@ximian.com>

* DTDReader.cs : In ProcessDTDSubset(), 1)error message was
  generated with incorrect stream character, 2)entity nest check
  should not depend on line info which might not be supplied, 3)
  empty PE should be skipped.
* XmlParserInput.cs : use index for StringBuilder instead of calling
  Remove() many times. This highly optimizes DTD parser.

* XmlAttribute.cs : removed commented code.
* XmlEntity.cs : removed unused field.

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

20 years ago2004-04-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 5 Apr 2004 23:58:23 +0000 (23:58 -0000)]
2004-04-05  Martin Baulig  <martin@ximian.com>

* gmcs-expect-wrong-error: New file.

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

20 years agoBeautify ...
Martin Baulig [Mon, 5 Apr 2004 23:54:28 +0000 (23:54 -0000)]
Beautify ...

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

20 years ago2004-04-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 5 Apr 2004 23:34:55 +0000 (23:34 -0000)]
2004-04-05  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCore): For generic classes, interfaces and
structs, `Name' now includes the number of type parameters
("Stack!1.Node!1").
(DeclSpace.FindType): Removed the `num_type_args' argument; we now
encode the number of type arguments in the type name.

* expression.cs (Expression.MemberLookup): Removed the
`num_type_args' argument; we now encode the number of type
arguments in the type name.

* ecore.cs (SimpleName): Encode the number of type arguments in
the type name itself.

* generic.cs (ConstructedType): Likewise.

* tree.cs (Tree.RecordDecl): Take a `string' instead of a
`MemberName'; we now include the number of type parameters in the
type name.

* typemanager.cs (TypeManager.CheckGeneric): Removed.
(TypeManager.MemberLookup): Removed the
`num_type_args' argument; we now encode the number of type
arguments in the type name.

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

20 years ago2004-04-05 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 5 Apr 2004 23:23:32 +0000 (23:23 -0000)]
2004-04-05  Bernie Solomon  <bernard@ugsolutions.com>

* DESCryptoServiceProvider.cs: Use BitConverter.IsLittleEndian
to fix for big endian machines.

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

20 years ago2004-04-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 5 Apr 2004 23:20:40 +0000 (23:20 -0000)]
2004-04-06  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaDatatype.cs : optimized Normalize() not to create
  extraneous string objects.

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

20 years agoOoops, this stuff is actually in configure.in ;-)
Martin Baulig [Mon, 5 Apr 2004 23:20:19 +0000 (23:20 -0000)]
Ooops, this stuff is actually in configure.in ;-)

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

20 years agocls happyfication
Ben Maurer [Mon, 5 Apr 2004 22:24:13 +0000 (22:24 -0000)]
cls happyfication

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

20 years agobuild fixes, someone should do the correct thing...
Ben Maurer [Mon, 5 Apr 2004 22:16:27 +0000 (22:16 -0000)]
build fixes, someone should do the correct thing...

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

20 years ago* corlib_test.dll.sources: Added System.Threading/ReaderWriterLockTest.cs.
Lluis Sanchez [Mon, 5 Apr 2004 22:13:35 +0000 (22:13 -0000)]
* corlib_test.dll.sources: Added System.Threading/ReaderWriterLockTest.cs.

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

20 years ago* ReaderWriterLockTest.cs: New tests for System.Threading.ReaderWriterLock.
Lluis Sanchez [Mon, 5 Apr 2004 22:11:08 +0000 (22:11 -0000)]
* ReaderWriterLockTest.cs: New tests for System.Threading.ReaderWriterLock.

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

20 years ago * LockCookie.cs: Keep in this class the count of reader or writer locks
Lluis Sanchez [Mon, 5 Apr 2004 22:07:58 +0000 (22:07 -0000)]
* LockCookie.cs: Keep in this class the count of reader or writer locks
  for a thread, not only whether it has locks or not.
* LockQueue.cs: Added property for checking if a thread is waiting in
  the queue. Wait now returns a boolean that set to false on timeout
  expiration.
* ReaderWriterLock.cs: Started fixing bugs but I had to rewrite a lot of it.
  The main change is that now it keeps a reader lock count for each
  thread. This is needed since methods like ReleaseLock or
  UpgradeToWriterLock need to return a per-thread status in LockCookie.
  Also added support for recursive writer-lock requests.

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

20 years ago2004-04-05 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 5 Apr 2004 21:27:50 +0000 (21:27 -0000)]
2004-04-05 Ben Maurer  <bmaurer@users.sourceforge.net>

* inssel.brg (MONO_EMIT_BOUNDS_CHECK): a new macro to emit bounds
checks.
(MONO_EMIT_BOUNDS_CHECK_IMM): the above, but when you know the
index.
(OP_GETCHR): use the above
(CEE_LDELEMA): use the above.

* inseel-x86.brg (MONO_EMIT_BOUNDS_CHECK): a faster and smaller
version of the generic impl.
(MONO_EMIT_BOUNDS_CHECK_IMM): the same
(CEE_LDELEMA): use the above.

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

20 years ago2004-04-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 5 Apr 2004 20:04:52 +0000 (20:04 -0000)]
2004-04-05  Martin Baulig  <martin@ximian.com>

* mini-x86.c (mono_arch_setup_jit_tls_data): Reverted Zoltan's
last commit to make it build again.

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

20 years ago2004-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 5 Apr 2004 19:41:51 +0000 (19:41 -0000)]
2004-04-05  Zoltan Varga  <vargaz@freemail.hu>

* threads.c (mono_alloc_special_static_data): Allow this to be
called during startup.

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

20 years ago * DataTable.cs: Add rows to the row list if there is
Jackson Harper [Mon, 5 Apr 2004 18:02:54 +0000 (18:02 -0000)]
    * DataTable.cs: Add rows to the row list if there is
          no filter.

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

20 years ago * man/ilasm.1: Show /output instead of /out as the switch for
Jackson Harper [Mon, 5 Apr 2004 17:48:42 +0000 (17:48 -0000)]
   * man/ilasm.1: Show /output instead of /out as the switch for
specifying output file names.

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

20 years ago2004-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 5 Apr 2004 17:44:21 +0000 (17:44 -0000)]
2004-04-05  Zoltan Varga  <vargaz@freemail.hu>

* inssel-long32.brg (CEE_CONV_OVF_I8): Sign extend the i4 value to i8.
Fixes #56317.

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

20 years ago2004-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 5 Apr 2004 17:40:54 +0000 (17:40 -0000)]
2004-04-05  Zoltan Varga  <vargaz@freemail.hu>

* iltests.il: Added new regression test for #56317.

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

20 years ago * Driver.cs: Accept output option. Usage shows /output instead of
Jackson Harper [Mon, 5 Apr 2004 17:39:00 +0000 (17:39 -0000)]
    * Driver.cs: Accept output option. Usage shows /output instead of
/out like MS.

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

20 years ago * Driver.cs: Accept output option.
Jackson Harper [Mon, 5 Apr 2004 17:35:30 +0000 (17:35 -0000)]
    * Driver.cs: Accept output option.

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

20 years agofixes
Jordi Mas i Hernandez [Mon, 5 Apr 2004 16:25:36 +0000 (16:25 -0000)]
fixes

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

20 years agoadded missing members
Jordi Mas i Hernandez [Mon, 5 Apr 2004 15:50:40 +0000 (15:50 -0000)]
added missing members

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

20 years ago2004-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 5 Apr 2004 15:46:24 +0000 (15:46 -0000)]
2004-04-05  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Check for pthread_getattr_np and pthread_attr_get_np.

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

20 years ago2004-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 5 Apr 2004 15:44:45 +0000 (15:44 -0000)]
2004-04-05  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_setup_jit_tls_data): Use pthread_attr_get_np
under NetBSD. Fixes #56450.

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

20 years agopartially addressing bug #56477
Rafael Teixeira [Mon, 5 Apr 2004 15:31:20 +0000 (15:31 -0000)]
partially addressing bug #56477

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

20 years ago2004-04-05 Marek Safar <marek.safar@seznam.cz>
Miguel de Icaza [Mon, 5 Apr 2004 14:15:04 +0000 (14:15 -0000)]
2004-04-05  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (IsClsCompliant): Fixed problem with handling
        all three states (compliant, not-compliant, undetected).

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

20 years ago * AttributeCollection.cs: Don't try to create a default attribute if the
Lluis Sanchez [Mon, 5 Apr 2004 14:14:11 +0000 (14:14 -0000)]
* AttributeCollection.cs: Don't try to create a default attribute if the
attribute type does not have a default constructor. Fix by Jon Wagner.
This fixes #53898.

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

20 years ago2004-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 5 Apr 2004 13:42:05 +0000 (13:42 -0000)]
2004-04-05  Zoltan Varga  <vargaz@freemail.hu>

* liveness.c (update_gen_kill_set): Fix previous patch.

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

20 years ago * class.cs:
Anirban Bhattacharjee [Mon, 5 Apr 2004 12:41:13 +0000 (12:41 -0000)]
  * class.cs:
        * decl.cs:
        * expression.cs:
        * pending.cs:
        Several error messages and their numbers are changed in all the above four classes

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

20 years ago* SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
Lluis Sanchez [Mon, 5 Apr 2004 11:41:32 +0000 (11:41 -0000)]
* SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.

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

20 years agoMoved to Mono.Data.Tds
Lluis Sanchez [Mon, 5 Apr 2004 10:55:27 +0000 (10:55 -0000)]
Moved to Mono.Data.Tds

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

20 years ago * Mono.Data.SybaseClient.dll.sources: Removed SybaseConnectionPool.cs.
Lluis Sanchez [Mon, 5 Apr 2004 10:50:02 +0000 (10:50 -0000)]
* Mono.Data.SybaseClient.dll.sources: Removed SybaseConnectionPool.cs.
* Mono.Data.SybaseClient/SybaseConnection.cs: Use connection pool
  implemented in Mono.Data.Tds.

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

20 years ago* Mono.Data.TdsClient.dll.sources: Removed TdsConnectionPool.cs.
Lluis Sanchez [Mon, 5 Apr 2004 10:45:27 +0000 (10:45 -0000)]
* Mono.Data.TdsClient.dll.sources: Removed TdsConnectionPool.cs.

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

20 years ago* TdsConnection.cs: Use the connection pool implemented in Mono.Data.Tds.
Lluis Sanchez [Mon, 5 Apr 2004 10:44:35 +0000 (10:44 -0000)]
* TdsConnection.cs: Use the connection pool implemented in Mono.Data.Tds.

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

20 years ago* System.Data.dll.sources: removed SqlConnectionPool.cs.
Lluis Sanchez [Mon, 5 Apr 2004 10:40:17 +0000 (10:40 -0000)]
* System.Data.dll.sources: removed SqlConnectionPool.cs.

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

20 years ago* Mono.Data.Tds.dll.sources: Added TdsConnectionPool.cs.
Lluis Sanchez [Mon, 5 Apr 2004 10:36:34 +0000 (10:36 -0000)]
* Mono.Data.Tds.dll.sources: Added TdsConnectionPool.cs.

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

20 years ago * ITds.cs: Added method for reseting a connection.
Lluis Sanchez [Mon, 5 Apr 2004 10:35:49 +0000 (10:35 -0000)]
* ITds.cs: Added method for reseting a connection.
* Tds.cs: Added base implementation for ITds.Reset.
* Tds70.cs: Implemented ITds.Reset().
* TdsConnectionPool.cs: Implemented connection pool that can be reused by
  all Tds clients.

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

20 years ago2004-04-05 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 5 Apr 2004 10:33:09 +0000 (10:33 -0000)]
2004-04-05 Marek Safar <marek.safar@seznam.cz>

* cs3009-3.cs: New error test.

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

20 years ago2004-04-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 5 Apr 2004 09:32:48 +0000 (09:32 -0000)]
2004-04-05  Atsushi Enomoto <atsushi@ximian.com>

* DTDObjectModel.cs : (DTDAttributeDefinition) create ArrayList
  only when they are required.
* DTDReader.cs,
  XmlParserInput.cs : raw tag string now don't have to be kept, while
  it cost so much. Removed unused code. 20% to 30% memory got saved.
* XmlNotation.cs : removed unused code.
* XmlTextReader.cs : Removed unused code. ReadString() now uses
  XmlReader's internal method. Fixed BaseURI to be conformant with
  W3C XML InfoSet and (subsequently) xml:base specification (i.e.
  reflect xml:base attribute correctly).

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

20 years agoadded to changelog
Dennis Hayes [Mon, 5 Apr 2004 07:15:34 +0000 (07:15 -0000)]
added to changelog

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

20 years ago Complete. Includes code from both Mono and Mainsoft.
Dennis Hayes [Mon, 5 Apr 2004 07:10:24 +0000 (07:10 -0000)]
Complete. Includes code from both Mono and Mainsoft.
* BooleanType.cs
* CharArrayType.cs
* CharType.cs
* IncompleteInitialization.cs
* LongType.cs
* OptionCompareAttribute.cs
* OptionTextAttribute.cs
* ShortType.cs
* DateType.cs

Close. Unconverted java code from Mainsoft in comments included inthe code.
* IntegerType.cs
* ByteType.cs
* DecmialType.cs
* SingleType.cs
* DoubleType.cs

Work in progress
* ExceptionUtils.cs

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

20 years agoParameter capturing test
Miguel de Icaza [Mon, 5 Apr 2004 04:07:58 +0000 (04:07 -0000)]
Parameter capturing test

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